Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

New Project or website in Visual Studio

Posted on 2014-09-08
2
212 Views
Last Modified: 2014-09-16
Any idea what's the difference between File -> New Project -> ASP.NET Web Application and File -> New -> website in Visual Studio ?
0
Comment
Question by:AXISHK
2 Comments
 
LVL 14

Assisted Solution

by:Brad Groux
Brad Groux earned 250 total points
ID: 40309930
The following MSDN article covers the differences - http://msdn.microsoft.com/en-us/library/dd547590(v=vs.110).aspx
0
 
LVL 9

Accepted Solution

by:
dexterrajesh earned 250 total points
ID: 40309943
here is the main difference...

Web application projects
A Visual Studio project file (.csproj or .vbproj) stores information about the project, such as the list of files that are included in the project, and any project-to-project references.

You explicitly compile the source code on the computer that is used for development or source control.

By default, compilation of code files (excluding .aspx and .ascx files) produces a single assembly.

Explicit namespaces are added to pages, controls, and classes by default.

You copy the assembly to a server. The assembly is produced by compiling the application.

Visual Studio provides tools that integrate with Web Deploy (the IIS web deployment tool) to automate many deployment tasks.


Web site projects

There is no project file (.csproj or .vbproj). All the files in a folder structure are automatically included in the site.

The source code is typically compiled dynamically (automatically) by ASP.NET on the server the first time a request is received after the site has been installed or updated.

You can precompile the site (compile in advance on a development computer or on the server).

By default, compilation produces multiple assemblies.

Explicit namespaces are not added to pages, controls, and classes by default, but you can add them manually.

You copy the application source files to a computer that has IIS installed on it.

If you precompile the site on a development computer, you copy the assemblies produced by compilation to the IIS server.

Visual Studio provides tools that integrate with Web Deploy (the IIS web deployment tool) to automate many deployment tasks.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
preprocessor definition in visual studio 2 197
Sage Error Number 0x80040703 5 375
Need some help with Tabcontrol and Listcontrol 13 81
__FILE__ 6 179
The following diagram presents a diamond class hierarchy: As depicted, diamond inheritance denotes when two classes (e.g., CDerived1 and CDerived2), separately extending a common base class (e.g., CBase), are sub classed simultaneously by a fourt…
In Easy String Encryption Using CryptoAPI in C++ (http://www.experts-exchange.com/viewArticle.jsp?aid=1193) I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question