ASP.NET – Deployment

There are two categories of ASP.NET deployment: Local deployment : In this case, the entire application is contained within a virtual directory and all the contents and assemblies are contained within it and available to the application. Global deployment : In this case, assemblies are available to every application running on the server. There are…

ASP.NET Configuration

The behavior of an ASP.NET application is affected by different settings in the configuration files: machine.config web.config The machine.config file contains default and the machine-specific value for all supported settings. The machine settings are controlled by the system administrator and applications are generally not given access to this file. An application however, can override the…

ASP.NET Multi Threading

A thread is defined as the execution path of a program. Each thread defines a unique flow of control. If your application involves complicated and time consuming operations such as database access or some intense I/O operations, then it is often helpful to set different execution paths or threads, with each thread performing a particular…

ASP.NET Web Services

A web service is a web-based functionality accessed using the protocols of the web to be used by the web applications. There are three aspects of web service development: Creating the web service Creating a proxy Consuming the web service Creating a Web Service A web service is a web application which is basically a…

ASP.NET Data caching

What is Caching? Caching is a technique of storing frequently used data/information in memory, so that, when the same data/information is needed next time, it could be directly retrieved from the memory instead of being generated by the application. Caching is extremely important for performance boosting in ASP.NET, as the pages and controls are dynamically…

ASP.NET Security

Implementing security in a site has the following aspects: Authentication : It is the process of ensuring the user’s identity and authenticity. ASP.NET allows four types of authentications: Windows Authentication Forms Authentication Passport Authentication Custom Authentication Authorization : It is the process of defining and allotting specific roles to specific users. Confidentiality : It involves…

ASP.NET LINQ

Most applications are data-centric, however most of the data repositories are relational databases. Over the years, designers and developers have designed applications based on object models. The objects are responsible for connecting to the data access components – called the Data Access Layer (DAL). Here we have three points to consider: All the data needed…

ASP.NET Debugging

Debugging allows the developers to see how the code works in a step-by-step manner, how the values of the variables change, how the objects are created and destroyed, etc. When the site is executed for the first time, Visual Studio displays a prompt asking whether it should be enabled for debugging: When debugging is enabled,…

ASP.NET error Handling

Error handling in ASP.NET has three aspects: Tracing – tracing the program execution at page level or application level. Error handling – handling standard errors or custom errors at page level or application level. Debugging – stepping through the program, setting break points to analyze the code In this chapter, we will discuss tracing and…

ASP.NET Personalization

Web sites are designed for repeated visits from the users. Personalization allows a site to remember the user identity and other information details, and it presents an individualistic environment to each user. ASP.NET provides services for personalizing a web site to suit a particular client’s taste and preference. Understanding Profiles ASP.NET personalization service is based…