Assembly Questions:01. How is the DLL Hell problem solved in .NET?
Ans : Assembly versioning allows the application to specify not only the library it needs to run (whichwas available under Win32), but also the version of the assembly.
02. What are the ways to deploy an assembly?
Ans : An MSI installer, a CAB archive, and XCOPY command.
03. What is a satellite assembly?
Ans : When you write a multilingual or multi-cultural application in .NET, and want to distribute thecore application separately from the localized modules, the localized assemblies that modify the coreapplication are called satellite assemblies.
04. What namespaces are necessary to create a localized application?
Ans : System.Globalization and System.Resources.
05. What is the smallest unit of execution in .NET?
Ans : an Assembly.
06. When should you call the garbage collector in .NET?
Ans : As a good rule, you should not call the garbage collector. However, you could call the garbagecollector when you are done using a large object (or set of objects) to force the garbage collector todispose of those very large objects from memory. However, this is usually not a good practice.
07. How do you convert a value-type to a reference-type?
Ans : Use Boxing.
08. What happens in memory when you Box and Unbox a value-type?
Ans : Boxing converts a value-type to a reference-type, thus storing the object on the heap.Unboxing converts a reference-type to a value-type, thus storing the value on the stack.
.NET FrameWork FAQ's01. When was .NET announced?
Ans : Bill Gates delivered a keynote at Forum 2000, held June 22, 2000, outlining the .NET 'vision'.The July 2000 PDC had a number of sessions on .NET technology, and delegates were given CDscontaining a pre-release version of the .NET framework/SDK and Visual Studio.NET.
02. When was the first version of .NET released?
Ans : The final version of the 1.0 SDK and runtime was made publicly available around 6pm PST on15-Jan-2002. At the same time, the final version of Visual Studio.NET was made available to MSDNsubscribers.
03. What platforms does the .NET Framework run on?
Ans : The runtime supports Windows XP, Windows 2000, NT4 SP6a and Windows ME/98. Windows 95is not supported. Some parts of the framework do not work on all platforms - for example, ASP.NET isonly supported on Windows XP and Windows 2000. Windows 98/ME cannot be used for development.IIS is not supported on Windows XP Home Edition, and so cannot be used to host ASP.NET. However,the ASP.NET Web Matrix web server does run on XP Home. The Mono project is attempting toimplement the .NET framework on Linux.
04. What is the CLR?
Ans : CLR = Common Language Runtime. The CLR is a set of standard resources that (in theory)any .NET program can take advantage of, regardless of programming language. Robert Schmidt(Microsoft) lists the following CLR resources in his MSDN PDC# article:Object-oriented programmingmodel (inheritance, polymorphism, exception handling, garbage collection)
Security model Type