Thursday, January 25, 2007

Asp.net Basic Knowledge base

Regardless of the laguage that you use to develope your asp.net pages, you need to understand that asp.net pages compile before they execute.
It means that they execute very quickly. The first time you request an asp.net page the page is compiled into a .net class and the resulting class file is saved at a special directory on your server in "Temporary Asp.net" files. for each & every asp.net pages a corrsoponding class file appears int the temporary asp.net file directory.
When a asp.net page is compiled it is not directlty compiled into machine code Instead it is compiled into intermediate level language called Microsoft Intermediate language (MSIL)
All the .net compatible laguages are compilted into this intermediate language.
Thats all
for today
enjoy.

Tuesday, January 02, 2007

Partial Class

Partial Class is New functionality that is included in visual studio.net 2005.This New functionality help you to split a single class into multiple partial classes.This partial classes can be diffrent individual files.
Its nothing but the small part of big class.you can declare by following syntax
partial class Rajat
private intI as integer = 4,
private intJ as integer = 3
End class
public class Rajat
private intSum as integer
public sub sum()
intSum = intI + intJ
end sub
End class

Here intJ,intI are define in partical class of rajat which is used in public class rajat.