473,396 Members | 1,846 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

ASP.Net Website V/s ASP.Net Web service

16
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 ??
Mar 16 '07 #1
2 1300
Frinavale
9,735 Expert Mod 8TB
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
Mar 16 '07 #2
Riaaaa
16
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

thanxs for ur reply...
It's very clear and easy to understand...
Mar 16 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: C. Woody Butler | last post by:
I have a strange problem with a website and a web service. They're both on the same server, running Windows server 2003. The website is set up as the default website for the server. I've got...
16
by: C. Woody Butler | last post by:
I have a strange problem with a website and a web service. They're both on the same server, running Windows server 2003. The website is set up as the default website for the server. I've got...
1
by: C. Woody Butler | last post by:
I have a strange problem with a website and a web service. They're both on the same server, running Windows server 2003. The website is set up as the default website for the server. I've got...
2
by: =?Utf-8?B?Q29saW4gRGVzbW9uZA==?= | last post by:
Hi All, I have a solution file that contains a number of projects, a web service and a website. These all build fine in VS2008, and all but the website builds fine using MSBuild. The website,...
0
by: cosmo | last post by:
Hello, I would like to develop a: - Windows Service for doing specific Tasks - Web Service as a communication gateway between the Windows Service and a ASP.NET Website - ASP.NET Website The...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.