Difference between Web Site and Web Application

by wizbay 29. August 2010 20:57

The default website project model uses the directory structure to define the contents of the project. In this model, there is no project file and all files in the directory are part of the project.

However, in a Web application project, the files that are explicitly referenced in the solution's project file are the only ones that are part of the project. These files are displayed in Solution Explorer and they are the only files that are compiled during a build.

For more information on the differences, you can refer to the following articles:

 

Related thread: http://forums.asp.net/t/1240650/2270482.aspx

Tags: , ,

ASP.Net | Visual Studio

Turn on Line Numbering in Visual Studio 2005/2008/2010

by wizbay 29. August 2010 20:49

Visual Studio Configuration

The grid layout settings are controlled from the standard Visual Studio 2005 options menu. This is also available for the Visual Studio Express Editions such as Microsoft C# Express or Visual Basic Express. To view the options dialog box, select Tools, Options from the menus.

Show All Settings Mode

In some Visual Studio editions the standard options dialog box may be set to view a limited number of settings. If so, you will see only Environment, Text Editor and Debugging within the tree structure. To show all of the settings for Visual Studio, tick the Show all Settings checkbox at the bottom-left of the dialog. The advanced settings will appear.

Text Editor Settings

Once all of the settings are visible, expand the Text Editor branch of the tree. Here you can see a list of all of the languages for which settings may be modified. We will enable line numbering for C# code editing. Expand the C# node of the tree and select the General section to reveal the settings. To enable source code line numbering, tick the appropriate checkbox. Click OK to accept the setting and the line numbers will appear.

Visual Studio Line Numbering Setting

Tags: , , , , , , ,

ASP.Net | VB.Net | Visual Studio