Step by Step

Thursday, May 19, 2011

Web Site Projects


Web Site Projects represent a project in VWD for a web site. You create a new Web Site Project by choosing File ➪ New Web Site or File ➪ New ➪ Web Site from Visual Web Developer’s main menu.
Web Site Projects were introduced in Visual Studio 2005 and provide some new flexibility in creating and working with web sites. In contrast to web sites built with earlier versions of Visual Studio .NET, a Web Site Project site is simply a Windows folder with a bunch of flies and subfolders in it.
There is no collective file (known as the project file with a .vbproj or .csproj extension) that keeps track of all the individual files in the web site. You just point VWD to a folder, and it instantly opens it as a web site. This makes it very easy to create copies of the site, move them, and share them with others, because there are no dependencies with files on your local system.
Because of the lack of a central project file, Web Site Projects are usually simply referred to as web sites.
But Microsoft also received a lot of negative response from developers who complained that Web Site Projects were too limiting for their development environment.
Because there is no container file that keeps track of everything in the site, it became
much harder to exclude files or folders from the site and work with source control systems a centralized system that enables developers to work on a project collaboratively and that keeps track of changes in the project automatically.
Also, Web Site Projects influenced the way web sites are compiled and deployed, making it harder for developers accustomed to the previous model to apply their knowledge and skills to the new project type.
Microsoft released the Web Application Project template in May 2006 as an add-on for Visual Studio 2005 Standard Edition and up.
The Web Application Project is now an integral part of all versions of Visual Web Developer, free and commercial

0 comments: