Creating a new Web Service in VS.NET 2010?

Asaf

Usenet Archive
Joined
Dec 18, 2003
Messages
44
Reaction score
0
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
 

Mr. Arnold

Usenet Archive
Joined
May 7, 2007
Messages
470
Reaction score
0
Asaf said:
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.
 

Asaf

Usenet Archive
Joined
Dec 18, 2003
Messages
44
Reaction score
0
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

Usenet Archive
Joined
May 7, 2007
Messages
470
Reaction score
0
Asaf said:
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.
 
Joined
Aug 3, 2009
Messages
16
Reaction score
0
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).
 

Remo

Usenet Archive
Joined
Mar 2, 2004
Messages
6
Reaction score
0
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:
...
 

Clarke

Usenet Archive
Joined
Feb 9, 2000
Messages
6
Reaction score
0
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:

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?
>
...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
548,049
Messages
3,104,245
Members
248,133
Latest member
DujonT

Latest Threads

Top