ASP.NET Page life cycle having different events, which are having a sequence of flow i.e. each event will fire one after one in an ordered manor. These events would be coded. The following are the various events of ASP.Net page life cycle-

  • PreInit 
  • Init 
  • Init Complete
  • PreLoad 
  • Load
  • Control Event (PostBack Event )
  • Load Complete
  • PreRender 
  • Save State Complete
  • Render 
  • Unload

ASP.Net webpage execution will perform several steps for processing page; this is called asp.net page life cycle. The steps are

  • Page Request
  • Start
  • Page initialization
  • Page Load
  • Post Back events handling
  • Rendering
  • Unload

A singleton is a design pattern used when only one instance of an object is created and shared; that is, it only allows one instance of itself to be created. Any attempt to create another instance simply returns a reference to the first one. Singleton classes are created by defining all class constructors as private. In addition, a private static member is created as the same type of the class, along with a public static member that returns an instance of the class. Here is a basic example:

The StringBuilder provides amazing flexibility when we require more complex operations.System.Text contains StringBuilder() object.

Strings are the collections of texts.Unlike old C language; a string doesn’t terminate when it finds /0 character. We can use both the keywords String or string in C#.Point to be noted that if we are concerned about security issues regarding string manipulation;we have to give importance to the String keyword.We have already declared as well as initialized strings in previous lessons.In order to refresh your memory;I will highlight them;

You can redefine or overload most of the built-in operators available in C#. Thus a programmer can use operators with user-defined types as well. Overloaded operators are functions with special names the keyword operator followed by the symbol for the operator being defined. similar to any other function, an overloaded operator has a return type and a parameter list.User-defined types such as classes,structures etc; often overload operators by defining a member function which is static using the operator keyword.We can not overload each and every operator by this approach

Visual Studio 2013 has new and enhanced features like,

  • Visual Studio languages     
  • .NET Framework 4.5.1 
  • TFS and ALM                
  •  SharePoint and Office 
  • LightSwitch                
  • Windows Azure Mobile Services etc.etc. but in this post I am not going to discuss all the above.

We can write the client side validation control in jquery-
Indexer: Indexer can be termed as location indicators and they are used to access class objects in the same way as array elements are accessed.

Cookie is the small text file which is stored on client machine. It uses to store the small amount of information on client.
Cookie consists of the following two parts:
Key – Name of Cookie.
Value – Information stored in the cookie.
We also can specify the life of a cookie, if you do not specify the life of a cookie, then it will last on the client machine till you do not clean it.We can specify the particular date and time when the cookie is automatically removed from the client machine.Cookie are used to transfer the information from one page to another page. You can also disable the cookie on the browser so that the information did not store on your machine.

Displaying 1 of 4Next
1 2 3 4
Need Help? Contact Us.

Log in

*
*

Forgot password?

*

New User

*
*
*
*