When we click on Visual Studio 2005
New --> website -->
then we get the options like
ASP.Net Website
ASP.Net Web service
Personal Web site starter kit
Empty web site
which all are visual studio templates.
I want to know the main difference between the four which we use most out of four and why ??
Well your ASP.Net Website will create a visual studio project setup to run as an ASP.Net website. It will give you a default aspx page to work with and default web.config file to get you started.
An ASP.Net website generates web pages to dynamically drive your website.
An ASP.Net Web Service will create a completely different type of application.
A web service does not generate any web pages.
It basically holds a bunch of methods/functions that will be hosted on the web. These functions/methods can then be used in other applications. The applications consuming your methods/functions are not necessarily restricted web sites and can be used by a variety of different types applications. The methods/functions supplied by the Web Service can be used in code implemented in any language.
(E.g.
You create a web service that returns up-to-date currency exchange rates. It's implemented in VB and hosted on a Windows IIS server.
You then create an application that uses this currency exchange rate to do some calculations. This application looks up your web service which is hosted on the internet and uses the functions you've supplied... it could be be written in any language ...say...Java and run in Linux. )
I'm not sure what a personal website project would create.... But an empty project is simply an empty project so that you can add whatever you'd like to it.
-Frinny