Project-Based Development and Projectless-Based Development


Introduction

Web Project can be developed of two types

a)      Projectless Based Development

b)      Project Based Development or web project

Project less Based Development

Creating websites of this form is called project less applications. It has its own advantages over Project Based Development.

1

The advantages include

a) It simplifies deployment: We can simply copy the files in the website directory to the web server.

b) It simplifies file management: Adding , deleting and  moving files  is very easy u can just delete, add or move a web page ,there is no need to go through Visual Studio or edit the project file.

c) It simplifies team collaboration: Each team can work independently on different pages.

d)     It simplifies debugging: Creating a web project ,you must recompile the entire application when you change a single file With project less development, each

page is compiled separately, and the page is only compiled when you request it for the first time.

Project Based Development or Web Project

Creating project of this form is called Project Based Development or simply Web Project. If we create application of this form Visual Studio generates a number of extra files, including .csproj and .csproj.user project files and .sln solution file.

2

3

When you build your application, Visual Studio generates temporary files, which is places in the Obj subdirectory, and one or more .pdb files (in the Bin subdirectory) with debugging symbols. None of these files should be deployed to the web server when your web application is complete. Furthermore, none of the C# source code files (files with the extension .cs) should be deployed, because Visual Studio recompiles them into a DLL assembly.

However both are same once they are deployed to the web server,but they differ in their structure .The difference include

a)      Compilation: Web projects are compiled by Visual Studio and not ASP.NET when they run. All the web pages classes is combined into a single assembly that has the name of web project(like web project.dll);

4

b)      Code-behind: The web pages also uses code behind file however they include one additional file with an extension .aspx.designer.cs.

5

c)      Assembly references: In a project less website ,all the assembly references are recorded in the web.config file

Other posts

* Using C# and VB classed together in the App_Code folder :

*   ASP.NET Application Folders

*   Creating Dynamic Linking Library using ASP.NET

*   VB Style Calendar in ASP.NET

* Sending SMS from ASP.NET Application

*   View State

*   What is the difference between Server.Transfer and Response.Redirect?

*   Text to Speech in ASP.NET

*  Using C# and VB classed together in the App_Code folder :
http://naveenpn.wordpress.com/2009/10/23/using-c-and-vb-classed-together-in-the-app_code-folder/
*  ASP.NET Application Folders
http://naveenpn.wordpress.com/2009/10/08/asp-net-application-folders/
*  Creating Dynamic Linking Library using ASP.NET
http://naveenpn.wordpress.com/2009/10/05/creating-dynamic-linking-library-using-asp-net/
*  VB Style Calendar in ASP.NET
http://naveenpn.wordpress.com/2009/09/27/vb-style-calendar-in-asp-net/
*  Sending SMS from ASP.NET Application
http://naveenpn.wordpress.com/2009/09/27/sending-sms-from-asp-net-application/
* View State
http://naveenpn.wordpress.com/2009/09/13/view-state/
*  What is the difference between Server.Transfer and Response.Redirect?
http://naveenpn.wordpress.com/2008/06/11/aspnet/
*  Text to Speech in ASP.NET
http://naveenpn.wordpress.com/2009/08/27/text-to-speech-in-asp-net/
AJAX Control Toolkit
——————–
*  Traditional Page Updates VS AJAX Page Updates
http://naveenpn.wordpress.com/2009/08/29/traditional-page-updates-vs-ajax-page-updates/

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.