Category: .Net Framework

MS Dot NET Framework

Nov 06

What is IL/MSIL/CIL/JIT?

(IL)Intermediate Language is also known as MSIL (Microsoft Intermediate Language) or CIL (Common Intermediate Language). All .NET source code is compiled to IL. This IL is then converted to machine code at the point where the software is installed, or at run-time by a Just-In- Time (JIT) compiler.

Permanent link to this article: http://zappmania.in/2012/11/06/what-is-a-ilmsilciljit.htm

Jun 30

Abstract Class

Abstract class is a class that can not be instantiated. To use it you need to inherit it. This class can be used as a base class where you can define certain method that must be implemented in derived class (Class that is going to inherit it) along with that you can also define certain …

Continue reading

Permanent link to this article: http://zappmania.in/2012/06/30/abstract-class.htm

Jun 28

What are session management techniques in .NET?

There are three different techniques of managing session in ASP.NET InProc  Session state is stored locally in memory of ASP.NET worker process. StateServer  Session state is stored outside ASP.NET worker process and is managed by Windows service. Location of this service is specified by stateConnectionString attribute. SQLServer  Session state is stored outside ASP.NET worker process …

Continue reading

Permanent link to this article: http://zappmania.in/2012/06/28/what-are-session-management-techniques-in-net.htm

Jun 27

C# Custom Enumerators Made Simple with the Yield Keyword

An enumerator enables you to iterate over a collection in a foreach loop. You can use foreach to iterate over all C# collection classes, because all C# collection classes inherit from the IEnumerable interface (regular or generic). IEnumerable contains the GetEnumerator method, which returns an enumerator. Occasionally you may find a need to create a …

Continue reading

Permanent link to this article: http://zappmania.in/2012/06/27/c-custom-enumerators-made-simple-with-the-yield-keyword.htm

Jun 27

Reflection in C# – List of Class Name, Method Name

Reflection is way through which we can identify metadata about assembly runtime. Example: We have a .Net Assembly file (.dll file), which consist of 2 Class Definition and 10 Method Names, We can get information about classes and method name list through reflection. Few Examples of Reflection Loading Assembly File  Assembly assem = Assembly.LoadFrom(sAssemblyFileName); Get …

Continue reading

Permanent link to this article: http://zappmania.in/2012/06/27/reflection-in-c-list-of-class-name-method-name.htm