How can we improve the Performance of an ASP.NET Web Page?

How can we improve the Performance of an ASP.NET Web Page?

This is the most common question from the ASP.NET forum in any interview. In this post I’m going to point out some of the important points that may help to improve the performance. Here I used the word “improve performance” in the sense to decrease the loading time of the page. There are various reasons behind this. Some of them we look into from the “backend side” (Database side) and rest of them we need to take care in “front-end”…

Read More Read More

Enterprise Library in ASP.NET?

Enterprise Library in ASP.NET?

Enterprise Library: It is a collection of application blocks and core infrastructure. Enterprise library is the reusable software component designed for assisting the software developers. We use the Enterprise Library when we want to build application blocks intended for the use of developers who create complex enterprise level application. Enterprise Library Application Blocks Security Application Block Security Application Block provide developers the ability to incorporate security functionality in the application. This application can use various blocks such as authenticating and…

Read More Read More

What are master pages?

What are master pages?

Some points about Master Pages, The extension of MasterPage is ‘.master’. MasterPage cannot be directly accessed from the client because it just acts as a template for the other Content Pages. In a MasterPage we can have content either inside ContentPlaceHolder or outside it. Only content inside the ContentPlaceHolder can be customized in the Content Page. We can have multiple masters in one web application. A MasterPage can have another MasterPage as Master to it. The content page content can…

Read More Read More

What is WebParts in ASP.NET?

What is WebParts in ASP.NET?

ASP.NET 2.0 incorporates the concept of WEB PARTS in itself and we can code and explore that as easily as we have done with the other controls in the previous sessions. We can compose web parts pages from “web parts”, which can be web controls, user controls. Component of Web Parts The web parts consist of different components like, Web Part Manager Web Part Zone CatLog Part CatLog Zone Connections Zone Editor Part Editor Zone Web Part Zone Web Part…

Read More Read More

What are the Navigations techniques in ASP.NET?

What are the Navigations techniques in ASP.NET?

Navigation can cause data loss if it not properly handled. We do have many techniques to transfer data from one page to another but every technique has its own importance and benefits. We will discuss the following techniques in this article. Response.Redirect Server.Transfer Server.Exceute Cross page posting In ASP.NET, navigation refers to the process of moving between different pages or views within a web application. There are several techniques for navigation in ASP.NET, including: Hyperlinks: Using HTML anchor tags (<a>)…

Read More Read More

What is the difference between ASP.NET Web API and WCF?

What is the difference between ASP.NET Web API and WCF?

The ASP. NET Web API is a framework that uses the HTTP services and makes it easy to provide the response to the client request. The response depends on the request of the clients. The Web API builds the HTTP services, and handles the request using the HTTP protocols. The request may be GET, POST, DELETE, PUT. We can also say that the ASP. NET Web API: Is an HTTP service. Is designed for reaching the broad range of clients….

Read More Read More

How to use repeater control in ASP.NET?

How to use repeater control in ASP.NET?

A Repeater is a Data-bound control. Data-bound controls are container controls. It creates a link between the Data Source and the presentation UI to display the data. The repeater control is used to display a repeated list of items. The main use of Repeater Control is for displaying a repeated list of items bound to the control. A Repeater Control is faster and lightweight for displaying data compared to a GridView or DataGrid. With the Repeater control we can display…

Read More Read More

Describe login Controls in ASP?

Describe login Controls in ASP?

The Login control provides the user interface to log a user into a web site. The Login control uses the Membership service to authenticate the user in your membership system. The default Membership service from your configuration file will be used automatically, however you can also set the Membership provider that you would like used as a property on the control. The Login Control consists of, Username Label and Textbox: Collects the string used to identify the user in the…

Read More Read More

What is the code behind and Inline Code?

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 in a separate .cs or .vb code file for each .aspx page. One major point of Code Behind is that the code for all the…

Read More Read More

What is the web API in ASP.NET?

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 – Client Error 5xx – Server Error Features It is light weight and thus good for small devices also like tablets, smart phones. No tedious &…

Read More Read More