"WebSite v/s Web Application"
In this article we will try to find out the differences between the WebSite and a WebApplication.
Generally a WebSite is defined as a collection of web pages, i.e it can be defined by its static content, whereas a Web Application is defined by its user interaction, i.e the dynamic
behaviour.
To select among these two options (i.e a WebSite or a Web Application), please go through the following differences :-
WebSite
|
Web Application
|
A Website is Informational
|
A Web Application is Interactive
|
In website we can select multi programming languages for the creation of the pages.
|
In web application we can select only one programming language during the creation of
project.
|
WebSites do not create any project files in the project .
|
When we create a Web Application it automatically creates project files.
Example: (.csproj or .vbproj)
|
Incase of WebSite we have to recompile the site before deployment.
|
In web application we have to pre-compile the site before deployment.
|
We deploy both .aspx file and code behind file incase of WebSite.
|
We deploy only .aspx pages incase of Web Application.
|
If there is some change in the code, only those files are uploaded, there is no need to
compile the whole site.
|
Small change in code in one page requires compilation of the whole site.
|
Website cannot refer a user control.
|
Web Application can easily refer a user control.
|
On the basis of these differences you can easily decide which one to choose as per your requirement.
0 Comment(s)