Difference between Web site and Web Application in Asp.net, C#
It's choice of the people can go for web application or
website we cannot say that which one is better because both is having
advantages and disadvantages. Check below details for web application and
website
Web Site
·
If we create any class
files/functions those will be placed in ASP.NET folder (App_Code folder) and
it's compiled into several DLLs (assemblies) at runtime.
·
In website we can create pages in
multi programming languages that means we can create one page code in C# and
another page code in vb.net.
·
Web Sites won’t create any
.csproj/.vbproj files in project
·
No need to recompile the site before
deployment.
·
We need to deploy both .aspx file
and code behind file.
·
If we make any code changes those
files only will upload there is no need to re-compile entire site
Web Application
·
If we create any class files /
functions those will be placed anywhere in the applications folder structure
and it is precomplied into one single DLL.
·
In web application we have chance of
select only one programming language during creation of project either C# or
VB.NET.
·
Whenever we create Web Application
those will automatically create project files (.csproj or .vbproj).
·
We need to pre-compile the site
before deployment.
·
If we want to deploy web application
project we need to deploy only .aspx pages there is no need to deploy code
behind files because the pre-compiled dll will contains these details.
·
If we make small change in one page
we need to re-compile the entire sites.
Difference between Web site and Web Application in Asp.net, C#
Reviewed by NEERAJ SRIVASTAVA
on
11:57:00 PM
Rating:
This is very helpful blog for me as well as Technology Lover
ReplyDeleteThanks you so much :)
ReplyDelete