简体   繁体   中英

Installation Option for ASP .NET Web Service Application

I am trying to create an ASP .NET Web Service Application using Visual Studio 2005 (Version 8.0.50727.42). Unfortunately, I do not get any options for creating such a project. I am guessing it has to do with Visual Studio installation options.

I am only enabling the components Visual C#, Visual Web Developer and SQL server 2005. I am hoping this would be enough. Is this ok, or should I go for default installation options.

Is this even a setup issue, or does the problem lie elsewhere?

A web service application is just a web application with .asmx "services" instead of .aspx "pages".

Once you've got a web application the option to add a service should exist in about the same place as to add a "form" or a page.

Methods need to be annotated appropriately but there's not a lot more to it than that.

Of course... ideally you'd want to be creating WCF services rather than web services but equally in an ideal world you'd be using at least VS2008 and .NET 3.5SP1.

我必须安装 Visual Studio Service Pack 1。这为我完成了工作。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM