HighTechTalks DotNet Forums  

Creating a new Web Service in VS.NET 2010?

ASP.net Web Services microsoft.public.dotnet.framework.aspnet.webservices


Discuss Creating a new Web Service in VS.NET 2010? in the ASP.net Web Services forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Asaf
 
Posts: n/a

Default Creating a new Web Service in VS.NET 2010? - 04-21-2010 , 10:01 AM






Hello,

In VS.NET 2008 I can create a new Web Service by File -> New -> Web site…
menu and then choosing "ASP.NET Web Service".

I cannot find this one in VS.NET 2010 so how can I create a Web Service from
VS.NET 2010?

Thanks,
Asaf

Reply With Quote
  #2  
Old   
Mr. Arnold
 
Posts: n/a

Default Re: Creating a new Web Service in VS.NET 2010? - 04-21-2010 , 07:24 PM






Asaf wrote:
Quote:
Hello,

In VS.NET 2008 I can create a new Web Service by File -> New -> Web site…
menu and then choosing "ASP.NET Web Service".

I cannot find this one in VS.NET 2010 so how can I create a Web Service from
VS.NET 2010?

Thanks,
Asaf

You create a new Empty Asp.Net Project, and then you add the Web service
as a new item to the project.

Reply With Quote
  #3  
Old   
Asaf
 
Posts: n/a

Default Re: Creating a new Web Service in VS.NET 2010? - 04-22-2010 , 04:34 AM



Hello Arnold,

I know I can create a new Web Service from an Empty ASP.NET project but it
is not the same as it is from VS.NET 2008 where it adds other folders and
many stuff at Web.config file where VS.NET Empty ASP.NET project are kind of
having nothing in Web.config and folders?

Regards,
Asaf


"Mr. Arnold" wrote:

Quote:
Asaf wrote:
Hello,

In VS.NET 2008 I can create a new Web Service by File -> New -> Web site…
menu and then choosing "ASP.NET Web Service".

I cannot find this one in VS.NET 2010 so how can I create a Web Service from
VS.NET 2010?

Thanks,
Asaf


You create a new Empty Asp.Net Project, and then you add the Web service
as a new item to the project.
.

Reply With Quote
  #4  
Old   
Mr. Arnold
 
Posts: n/a

Default Re: Creating a new Web Service in VS.NET 2010? - 04-22-2010 , 10:50 AM



Asaf wrote:
Quote:
Hello Arnold,

I know I can create a new Web Service from an Empty ASP.NET project but it
is not the same as it is from VS.NET 2008 where it adds other folders and
many stuff at Web.config file where VS.NET Empty ASP.NET project are kind of
having nothing in Web.config and folders?

Maybe, they are pushing you to use WCF Web service project as MS is
leveraging classic Web service out in favor of WCF, and you have to do
the rest yourself.

Reply With Quote
  #5  
Old   
Patrice
 
Posts: n/a

Default Re: Creating a new Web Service in VS.NET 2010? - 04-22-2010 , 11:32 AM



Quote:
I know I can create a new Web Service from an Empty ASP.NET project but it
is not the same as it is from VS.NET 2008 where it adds other folders and
many stuff at Web.config file where VS.NET Empty ASP.NET project are kind
of
having nothing in Web.config and folders?
Does it work ? For example what was added in web.config as extensions were
delivered is now part of machine.config in .NET 4 so having a lightweight
web.config is expected.

For a walkthrough try :
http://msdn.microsoft.com/en-us/library/bb386386(v=VS.100).aspx (ASMX was
SOAP only, WCF is a higher level framework that handles exposing services
accross computer whatever the underlying protocol is and even if the service
is not hosted by IIS).

--
Patrice

Reply With Quote
  #6  
Old   
Remo
 
Posts: n/a

Default Re: Creating a new Web Service in VS.NET 2010? - 06-17-2010 , 02:46 PM



When selecting "New Web Site", change the .NET framework version to 3.5 (or
earlier) and you should then have the ASP.NET Web Service project option

"Asaf" wrote:

Quote:
Hello Arnold,

I know I can create a new Web Service from an Empty ASP.NET project but it
is not the same as it is from VS.NET 2008 where it adds other folders and
many stuff at Web.config file where VS.NET Empty ASP.NET project are kind of
having nothing in Web.config and folders?

Regards,
Asaf


"Mr. Arnold" wrote:

Asaf wrote:
Hello,

In VS.NET 2008 I can create a new Web Service by File -> New -> Web site…
menu and then choosing "ASP.NET Web Service".

I cannot find this one in VS.NET 2010 so how can I create a Web Service from
VS.NET 2010?

Thanks,
Asaf


You create a new Empty Asp.Net Project, and then you add the Web service
as a new item to the project.
.

Reply With Quote
  #7  
Old   
Clarke
 
Posts: n/a

Default Re: Creating a new Web Service in VS.NET 2010? - 06-29-2010 , 10:00 AM



I did not find a SOAP project by changing frameworks to an early version. It
looks like the empty project is the only option. Rather disappointing for
what is such a simple service.

"Remo" wrote:

Quote:
When selecting "New Web Site", change the .NET framework version to 3.5 (or
earlier) and you should then have the ASP.NET Web Service project option

"Asaf" wrote:

Hello Arnold,

I know I can create a new Web Service from an Empty ASP.NET project but it
is not the same as it is from VS.NET 2008 where it adds other folders and
many stuff at Web.config file where VS.NET Empty ASP.NET project are kind of
having nothing in Web.config and folders?

Regards,
Asaf


"Mr. Arnold" wrote:

Asaf wrote:
Hello,

In VS.NET 2008 I can create a new Web Service by File -> New -> Web site…
menu and then choosing "ASP.NET Web Service".

I cannot find this one in VS.NET 2010 so how can I create a Web Service from
VS.NET 2010?

Thanks,
Asaf


You create a new Empty Asp.Net Project, and then you add the Web service
as a new item to the project.
.

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.