In C#, both const and readonly are used to define variables whose values cannot be changed after assignment. However, there are significant differences between the...
Output caching is a powerful technique that increases request/response throughput by caching the content generated from dynamic pages. Output caching is enabled by default, but...
There are three types of Caching: Output Caching: stores the responses from an asp.net page. Fragment Caching: Only caches/stores the portion of page (User Control)...
“A postback is a request sent from a client to server from the same page, user is already working with.“ASP.NET was introduced with a mechanism to post...
ASP.NET Web Forms uses Page controller pattern approach for rendering layout. In this approach, every page has its own controller i.e. code-behind file that processes...
ASP.NET supports different session state storage options: In-Process is the default approach. It stores session state locally on same web server memory where the application is...
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...
Global.asax is basically ASP.NET Application file. It’s a place to write code for Application-level events such as Application start, Application end, Session start and end,...
Response.Redirect The page is redirected permanently. Used to navigate within the same application as well as navigating from one application to another application. The URL...