Solved

New Project or website in Visual Studio

Posted on 2014-09-08
2
213 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Create mosaic from photograph 9 160
Create a progress bar for timer 4 299
How can I tell if an app is 32 or 64 bit? 7 158
VC++ 6.0 issue 3 78
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 a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

730 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