Sir, I have confusion in different types asp projects.
when we try to create new page in asp.net, we have two options; (1) Create Project and (2) Create website.
1) Create Project:-
It has two types of asp.net applications, ASP.NET WEB APPLICATION and ASP.NET WEB SERVICE APPLICATION.
2) Create Website:-
It has four types:- ASP.NET WEBSITE, ASP.NET WEB SERVICE, EMPTY WEBSITE and ASP.NET REPORT WEB SITE.
I need your help in explaining the difference between the highlighted asp.net Programs and their use.
what program we choose when we need standard website?
Loading
Sanjeeb LenkaPosted Sep 7, 2013, 1:41 AM
Asp.net Web Application
1. 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.
2. In web application we have chance of select only one programming language during creation of project either C# or VB.NET.
3. Whenever we create Web Application those will automatically create project files (.csproj or .vbproj).
4. We need to pre-compile the site before deployment.
5. 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.
6. If we make small change in one page we need to re-compile the entire sites.
Asp.net WebSite
1. 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.
2. 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.
3. Web Sites won't create any .csproj/.vbproj files in project
4. No need to recompile the site before deployment.
5. We need to deploy both .aspx file and code behind file.
6. If we make any code changes those files only will upload there is no need to re-compile entire site .
Empty Website- the predefined design template will not come. only website will come in that you will add page , script etc.
Web service:
Web Service is an application that is designed to interact directly with other applications over the internet. In simple sense, Web Services are means for interacting with objects over the Internet. The Web serivce consumers are able to invoke method calls on remote objects by using SOAP and HTTP over the Web. WebService is language independent and Web Services communicate by using standard web protocols and data formats, such as
HTTP
XML
SOAP
for more detail check this link:
http://www.aspdotnet-suresh.com/2011/05/aspnet-web-service-or-creating-and.html