What is dot NET?
The Microsoft .NET Framework
The Microsoft .NET framework is a software platform for Windows operating systems. It acts as the framework for a number of programming languages which provide interoperability between them. It includes a .NET library which is available to all languages that it supports.
Software programs written for .NET run in an environment called the Common Language Runtime (CLR) which is an application virtual machine providing memory management and exception handling. The .NET base class library delivers the database connectivity, data access, user interface, web application development, algorithms and network communications used by .NET programmers in conjunction with their custom software development.
.NET is intended as the development framework for software applications written for Microsoft Windows operating systems. Microsoft’s SDK for Windows 7, .NET Framework 4 or Visual Studio 2010 can also be used on top of .NET.
Microsoft .NET Framework Architecture
Common Language Infrastructure (CLI)
The CLI delivers a language agnostic platform for software application development and execution.
.NET Assemblies
CLI code is located in .NET assemblies and stored in Portable Executable (PE) format for DLL and EXE files.
.NET Security
.NET security has two features, Code Access Security (CAS) and validation and verification. CAS uses evidence attained from a specific assembly such as the source of the assembly (local or internet) to derive the permissions granted to the code item.
The .NET Class Library
A set of standard class libraries are provided to all CLI languages with the .NET framework organised into namespaces, either System.* or Microsoft.*. They offer common functions such as database interaction, graphical management, XML manipulation and file manipulation. It is divided into the Base Class Library (the basic API of the CLR) and the Framework Class Library (a superset of the Base Class Library).
.NET Memory Management
.NET handles memory management itself, the allocation and freeing of memory being handled by the Garbage Collector (GC) – a non-deterministic, compacting, mark and sweep garbage collector.
The Microsoft Enterprise Library
The Microsoft Enterprise Library is a set of programming libraries and tools for the Microsoft .NET Framework. It delivers API’s to support core areas of programming such security, data access, exception handling and logging. The Microsoft Enterprise Library is available as source code or binaries and can be customised as required by the developer. It has many benefits including workload reduction through tried and tested code.
Dunstan Thomas ALM are Microsoft Silver ISV & ALM Partners and are experts in development in the .NET framework and its associated CLI compliant languages including ASP.NET, C#.NET and VB.NET. Read more about our Custom Software Development Services and Software Application Support Services or contact our .NET Framework Consultants to discuss your requirements.





Microsoft Azure
Zo wat moet ik hier nu schrijven over Microsoft Azure. Cloud en alles daar omheen wordt al op zoveel websites beschreven.
Voor mijn werk wilde ik onderzoeken wat Microsoft Azure nu precies is en wat voor voordelen dat biedt t.o.v. een private Clouddienst bij een ‘lokale’ datacenter.
D.m.v. het volgen van een Microsoft Azure IT Camp moet ik zeggen is niet alleen de kennis die ik had, maar ook de ervaring flink toegenomen zodat je een beter beeld bij dit onderwerp krijgt. Mijn advies is om ook zo’n sessie te volgen. Kijk voor meer info hier.
Na het volgen van die sessie komt tegelijk in beeld als je over wilt naar Microsoft Azure wat kost dat dan? Ik heb hieronder een paar printscreens toegevoegd. Dit is voor de duur van 1 maand.
Het stoppen van een (test) subscription geeft ook wel een leuk plaatje:
De ondersteuning van Microsoft Azure is goed geregeld. Klik hier voor info.





SCCM queries
Query for Device Collection in SCCM 2012
Usergroup based:
Select SMS_R_USER.ResourceID,SMS_R_USER.ResourceType,SMS_R_USER.Name,SMS_R_USER.UniqueUserName,SMS_R_USER.WindowsNTDomain from SMS_R_User where UPPER(SMS_R_User.UserGroupName) = "domain\\group_name"
Computer based:
Select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System where (SMS_R_System.SystemOUName like "domain/OU1/SubOU1/SubSubOU1")





SQL restore backup to another database
Start MS SQL Management
Klik op de database, tasks, restore
Het kan zijn dat het restoren van de database niet lukt en dat je een melding krijgt dat je de db niet ‘alleen’ geopend hebt.
Laat de backupjob staan of als je deze na voornoemde foutmelding weggeklikt hebt weer helemaal klaar en vlak voordat je de backup wil restoren de volgende scripts uit
1)
select d.name, d.dbid, spid, login_time, nt_domain, nt_username, loginame
from sysprocesses p inner join sysdatabases d on p.dbid = d.dbid
where d.name = ‘DBNAME’
go
2)
kill <nr of SPID>
3)
Exec sp_dboption ‘DBNAME’, ‘single user’, ‘FALSE’
go
Tip: Disable de (service)-account in AD/SQL
Na het restoren staat als het goed is de db tegelijk weer in multi_user mode. Zo niet dan dit eerst doen via Options (van die database).
Daarna in SQL de files de naam (logical name) nog aanpassen naar de goede naam en je bent klaar.
Als goede informatie voor een restore job kun je de volgende pagina gebruiken. Nog een goede pagina is deze.




