Different Types of Errors You can broadly categorize errors into the following groups: Syntax errors: These Errors are caused by misspelling words, missing keywords, or otherwise incorrect code. Logic errors: These Errors in applications run fine but …
Read More »Deployment ASP.NET Application
Using Nested Exception Handlers
When an exception is thrown, NET tries to find a matching catch statement in the current method. If the code is not in a local structured exception block or if none of the catch statements …
Read More »Exception Handling in Action
Here we will illustrate a simple program to test exceptions and see what type of information is recovered.This program allows a user to enter two values and attempts to divide them. It then reports all …
Read More »Deploying a simple site
To deploy a site a user needs to follow certain steps: 1. Create a Virtual directory on the web server. 2. Copy the entire site to the virtual directory. How to transfer these files depends on the …
Read More »Web Applications and Components
It is the way to deploy web applications that use other components. Any custom components that your website uses are copied into the Bin Subdirectory when you add a reference in Visual Studio. So no …
Read More »Other Configuration Steps
The simple model of deployment so far a user has seen is often called Zero-Touch Deployment as a user does not need to manually configure web server resources. Some of the applications are more difficult …
Read More »Code Compilation
Code Compilation You will deploy the uncompiled source file whenever you deploy an application created by Visual Studio. When the first time a page is requested, it is compiled dynamically and cached in a temporary …
Read More »Copying a Website
Visual Studio includes a quick and easy way to transfer web application files without using a separate program or leaving the design environment. First, you need to Open your web Project and select website–>then select the copy website from the menu. This …
Read More »Publishing a Website
The website copying feature is great for transferring files to a test server. However, it does not give you the option of recompiling your code. If you are deploying your application to a live web …
Read More »