Solved

New Project or website in Visual Studio

Posted on 2014-09-08
2
214 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
[X]
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
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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

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…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

696 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