Saturday, March 18, 2006

New Events in ASP.NET 2.0

ASP.NET 2.0 adds quite a few new events to allow you to follow the request-processing more closely and precisely. These new events are discussed below

PreInit :This occurs before the page begins initialization. This is the first event in the life of an ASP.NET 2.0 page.
InitComplete :This occurs when the page initialization is completed.
PreLoad:This occurs immediately after initialization and before the page begins loading the state information.
LoadComplete:This occurs at the end of the load stage of the page's life cycle.
PreRenderComplete:This occurs when the pre-rendering phase is complete and all child controls have been created. After this event, the personalization data and the view state are saved and the page HTML is rendered

Thursday, March 02, 2006

C# Code Snippets in Visual studio 2005

Code Snippets are reusable, task-oriented blocks of code. Visual Studio 2005 includes code snippets covering tasks ranging from creating a custom exception, to sending an e-mail message, to drawing a circle. A set of Visual Basic and Visual C# Code Snippets are included in the Visual Studio 2005 box. Microsoft released a new set of Code snippets for Visual C# .VB.NET version of these snippets is already available in Visual Studio 2005 box.

You can download these snippet from following Location..

http://msdn.microsoft.com/vstudio/downloads/codesnippets/default.aspx