Difference between "Creating new website" and "Creating new web project"

Hello

(Using VS2008)

I would like to know the difference between "Creating a New Website" and "Creating a New Web project".

Thanks a lot.

0
EMoscosoCam
3/17/2008 8:02:37 PM
asp.net.vs2005-webapp-projects 1239 articles. 0 followers. Follow

4 Replies
814 Views

Similar Articles

[PageSpeed] 27

Hi,

the first one creates a web site using the web site project model (default in VS2005) which is based on that you don't have a standalone project file, but project contents are defined by physical directory structure. Basically a web site project has also slightly different compilation model, for example not everything in the project is necessarily built into single assembly, and you don't necessarily have an explicit precompilation step (e.g a build in Vs) but pages are compiled individually when they are requested

The second one creates a web application with web application project model, where all the contents is specified in a project file, and also explicit precompilation step exists. It's similar to the model which existed in VS2003.

Web Application Projects Overview
http://msdn2.microsoft.com/en-us/library/aa983474.aspx

What's New In Web Projects
http://msdn2.microsoft.com/en-us/library/f7fb46ye.aspx


Thanks,

Teemu Keiski
Finland, EU
0
joteke
3/17/2008 8:28:24 PM

 is there any specific reasons on why a web application is better than a web site or vice versa... i personally like the web site project type because I can modifiy indvidual pages, easier. and if need be inside a text editor like notepad++ and the changes take effect. also I'm more familiar with it.

 

0
JoshD82
3/18/2008 10:54:21 AM

JoshD82:

 is there any specific reasons on why a web application is better than a web site or vice versa... i personally like the web site project type because I can modifiy indvidual pages, easier. and if need be inside a text editor like notepad++ and the changes take effect. also I'm more familiar with it.

In the end you can do the same things with both - approach is just bit different - , but web site can cause pain with certain aspects since dynamic compilation causes that you cannot for example reference code-behind types as easily in a project - or because user controls are compiled after classes in App_Code but before pages, while in web app these are all precompiled into single assembly so referencing works always.

But it mostly hits those who are already familiar with web app model from VS2002/2003 times, since they find they cannot work similarly with a web site project as before. I think those who have started with web site, are comfortable with it, since they're used to its behavior.


Thanks,

Teemu Keiski
Finland, EU
0
joteke
3/18/2008 11:01:37 AM

Thanks! 

0
JoshD82
3/19/2008 12:55:39 PM
Reply:

Similar Artilces:

In Visual Studio 2005 whats difference between "new Project" and "new website".
In Visual Studio 2005 whats difference between "new Project" and "new website".  Is new project for non web realted stuff.   Hi Parms,New Project enables you to add projects to your solution for non-web related projects -- for example: windows applications, class libraries, etc.  New Website adds a project specific to web UI developmnet.Hope this helps,Scott Hi Scott --On a related subject: I've got a VS 2003 solution with three web apps. The third web app is really just a library of classes that are shared between the other two web apps.app_1: a real web app (references ...

How do I create a VB Template that will appear in the "New Project"/"Visual Basic Projects" dialog?
In vb6, I have a very simple app that consists of a windows form, a multiline textbox, some SQL connection strings and a simple method to output text to the multiline textbox. I use this template when I create throw-away test projects to see if something works or not.This was REAL SIMPLE to have it show up in VB6: I just put the project into the ...vb98\Template... directories and it just worked.How do I do the same thing in VS.Net 2003? I found some similar looking directories, but putting the solution files there did nothing.Help would be most greatly appreciated.Owen Well, I almost have...

Create web setup file,in project output there is only "Content files" no "Primary outputs"
 Create web setup file,in project output there is only "Content files" no "Primary outputs".net bother Primary output is required in windows application, it's not required in web application. Web application need only bin folder and .aspx forms. Web setup is only for web application so if you will select content files then it will make setup which contains necessary folders (bin, app_code, etc) and .aspx pages. You don't need to add primary output.---------------------------------------------------------------------------------------------------------------...

Create new "outfile" foreach line in "inputfile"
------_=_NextPart_001_01C4D63A.3E1D1140 Content-Type: text/plain; charset="iso-8859-1" Hi All, I have a urls.txt file that contains a different url on each line (100 urls). And I have a item_numbers.txt file (100 items). I want to create a new outfile.txt, named w/ the corresponding item_number, each time the urls.txt file passes through the loop. Can someone please let me know where I can read about this... Is this something I need to work into a hash? I have a working script (screen scraping) but it is only for one url and one outfile. Any direction woul...

switch project from "file" to "web"?
I've taken over a project from another for a webservice. He originally set it up as "file" based, so it's showing up as "c:\path\to\site" in the solution manager. This is causing issues and it should be setup as a website with http://virtual/to/site. Is there a way to switch a file based one to a web based one and have it use IIS ?   Nevermind... just readded it manually to the solution, seemed to work Hi: I think you are talking about an ASP.NET 2.0 application? You can simply make a File System application work smoothly with IIS, by creating a new website poiting to the folder ...

I need "create type", not "create domain".
I am trying to make PD do syntax like: create type rank_type as ( rank int8, mp_id int4, mp_desc varchar(255) ) for Postgres 8. Though the docs say I can create a composite type, they do not tell me how. I have been trying to guess (by filling in the Domain->Postgres->"Definition" field, but PD ignores it. The best PD does is only: create domain rank_type as CHAR(10); In the DBMS file, it appears that PD is evaluating the first 4 characters of the stereotype setting instead of the last 4 characters. As a result, the template for...

On converting "new" to "new(std::nothrow)"
This post is following up on discussions in https://bugzilla.mozilla.org/show_bug.cgi?id=353144 where it was suggested to post in the newsgroups to attract more attention to the problem and discuss possible solutions more in the open. (Most) code in the Mozilla project is written under the assumption that the C++ operators new and new[] return NULL on failure (when memory allocation fails). This is actually not the case, or at least not for GCC compiled code. What happens is that the bad_alloc exception is thrown. As this is never checked for in the code this will lead to crashe...

.ALLCOL("%COLUMN%", " ", ", ", ", ")
Do you know anyway for me to exclude a subset of columns returned by this function. We have two columns (rec_user and rec_datetime) which are in all of our tables, but when generating triggers I want automatically generate a script which does not include those two columns but does include all other columns in that table. Bruce I should add that I am using PD 9.0.0.580. Bruce "Bruce Lamb" <lamb.bruce@mayo.edu> wrote in message news:6HgI315nCHA.155@forums.sybase.com... > Do you know anyway for me to exclude a subset of columns returned by this > function. ...

Precedence of "where" ("of", "is", "will")?
Nobody on #perl6 today could answer this one. Is: Str | Int where { $_ } the same as: (Str | Int) where { $_ } or: Str | (Int where { $_ }) ? Followup questions, Mr. President: What kind of operators are "where", "of", "is", and "will"? Is there a reason that S03 doesn't list them? What are their precedence(s)? -- Chip Salzenberg - a.k.a. - <chip@pobox.com> Open Source is not an excuse to write fun code then leave the actual work to others. Chip Salzenberg writes: &...

Changing default "Platform" and "OS" when creating new bug report
Hi, How can I change the default settings form "PC" and "Windows 2000" to "All", "All" when creating a new bug report. Bugzilla version: 2.16.1 Cheers Stewart Stewart Rout wrote: > How can I change the default settings form "PC" and "Windows 2000" to "All", > "All" when creating a new bug report. > Bugzilla version: 2.16.1 The default is chosen from your OS, as reported by your browser. There should be a param to turn this behaviour off; I think it will then default as you require. ...

Difference between "new" calendar and "opening" a calendar
I'm getting Lightning set up in a small business. Everything looks OK, but I'm a little confused about some of the instructions I'm seeing. I've created two calendars so far and saved them as .ics files on the network. One will be a company calendar to show vacations, holidays, people out sick, etc. The other will be my personal calendar, but I'll still want to make most events public because my coworkers need to know what times I'm available for training. Given that these preexisting .ics files already exist on the network, is there any difference between...

"Create route"-problem -> "Route is being created"
Hello, I am trying to set up a route from a primary replication server to a secondary replication server. However, after I executed the command create route-command on the primary repserver. (create route to ERATO62_RS) I also checked the rs_helproute command to see if the route is correctly created. When executing rs_helproute in the primary adaptive server I get the following message: "Route is being created. Either(1) RS is waiting for a route protocol message from the RSSD Replication Agent or (2) the RSSD Replication Agent inbound queue is not being processed. The...

Everything "Old" is "New" again?
A little background... My flagship product is actually an enterprise computing system that has several modules. Each customer type is served by technology that best suits their particular needs. The technologies I use are: - D7 for the largest most complex dataset, heaviest use, highest performance demanding in-house customers, and control of external hardware (in my case, digital cameras). Project was started years ago on D7, and it works well, so I jet kept going. Users connect either directly with the client loaded onto their Windows laptop, PC, notebook etc, or they RemoteDesktop ...

New "vensters" and "tabbladen"
Name: Rob Landman Email: ralandmanatgmaildotcom Product: Firefox Summary: New "vensters" and "tabbladen" Comments: When I open a new page the new page will override the excisting Tab instead of openeing a new "tabblad" I did cross the open new "tab" in the menu. This happened after updating to Mozilla/5.0 (Macintosh; U; Intel Mac OS X; nl; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13 Thank you for the solution. Best regards Rob PS. It's way better than Safari Browser Details: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; nl; rv:...

Web resources about - Difference between "Creating new website" and "Creating new web project" - asp.net.vs2005-webapp-projects

Resources last updated: 1/16/2016 7:46:44 AM