2 events, one is disposed , second one is tick event

The design view opens the VS.NET form designer that allows you to place user interface controls on the form by simple drag and drop, resize them and set various properties in the convenient way. The designer automatically generates the required code for the program. The code view opens the source code editor that allows you to see the actual code of the program and perform any desired edition. 

Namespaces are used to organize classes within the .NET Framework. They dictate the logical structure of the code. They are analogous to Java packages, with the key difference being Java packages define the physical layout of source files (directory structure) while .NET namespaces do not. However, many developers follow this approach and organize their C# source files in directories that correlate with namespaces. The .NET Framework has namespaces defined for its many classes, such as System.Xml—these are utilized via the using statement. Namespaces are assigned to classes via the namespace keyword.

The GAC is the Global Assembly Cache. Shared assemblies reside in the GAC; this allows applications to share assemblies instead of having the assembly distributed with each application. Versioning allows multiple assembly versions to exist in the GAC—applications can specify version numbers in the config file. The gacutil command line tool is used to manage the GAC.

Tuple is a fixed-size collection that can have elements of either same or different data types. Similar to arrays, a user must have to specify the size of a tuple at the time of declaration. Tuples are allowed to hold up from 1 to 8 elements and if there are more than 8 elements, then the 8th element can be defined as another tuple. Tuples can be specified as parameter or return type of a method.

There are three types of authentication available in ASP.NET:
Windows Authentication - This authentication method uses built-in windows security features to authenticate user.
Forms Authentication - authenticate against a customized list of users or users in a database.
Passport Authentication - validates against Microsoft Passport service which is basically a centralized authentication service.

Response.Redirect: A new request is generated from client-side for redirected page. Its a kind of additional round trip. As new request is generated from client, so the new URL is visible to user in browser after redirection.
Server.Transfer: A request is transferred from one page to another without making a round trip from client. For the end user, URL remains the same in browser even after transferring to another page.

Custom controls are basically compiled code i.e. DLLs. These can be easily added to toolbox, so it can be easily used across multiple projects using drag and drop approach. These controls are comparatively hard to create.
User Controls (.ascx) are just like pages (.aspx). These are comparatively easy to create but tightly couple with respect to User Interface and code. In order to use across multiple projects, we need to copy and paste to the other project as well.

The system.Diagnostics namespace contains the Debug and Trace classes that include shared methods.The difference between these two classes is in the way Trace and Debug statements are treated at the of creating a release build.

  • Trace statements are included by default when the program is compiled in to release build,where as debug statements are not.
  • The Debug class is used for debugging,however, the Trace class is used for testing and optimization even after an application is compiled and released.

PreviousDisplaying 2 of 6Next
1 2 3 4 5 6
Need Help? Contact Us.

Log in

*
*

Forgot password?

*

New User

*
*
*
*