What is the code behind and Inline Code?

Code Behind Code Behind refers to the code for an ASP.NET Web page that is written in a separate class file that can have the extension of .aspx.cs or .aspx.vb depending on the language used. Here the code is compiled into a separate class from which the .aspx file derives. You can write the code … Read more

What is the web API in ASP.NET?

It is a framework provided by Microsoft for writing HTTP services. There are many frameworks available to build HTTP based services. They follow a common guideline of international standardization but with different flavors. For example, all framework must adhere to these status codes- 1xx – Informational Message 2xx – Successful 3xx – Redirection 4xx – … Read more

What are the major events in global.aspx?

The Global.asax file, which is derived from the HttpApplication class, maintains a pool of HttpApplication objects, and assigns them to applications as needed. The Global.asax file contains the following events, Application_Init Application_Disposed Application_Error Application_Start Application_End Application_BeginReques In ASP.NET, the global.asax file contains application-level events and handlers that are executed in response to application-level events like … Read more

What are the data controls available in ASP.NET?

The Controls having DataSource Property are called Data Controls in ASP.NET. ASP.NET allows a powerful feature of data binding, you can bind any server control to simple properties, collections, expressions and/or methods. When you use data binding, you have more flexibility when you use data from a database or other means. Data Bind controls are … Read more

What is tracing in .NET?

Tracing helps to see the information of issues at the runtime of the application. By default Tracing is disabled. Tracing has the following important features: We can see the execution path of the page and application using the debug statement. We can access and manipulate trace messages programmatically. We can see the most recent tracing … Read more