开发者

Deploy .asmx (not WCF) web service on windows 7

开发者 https://www.devze.com 2022-12-18 17:48 出处:网络
I need to deploy an old style .asmx asp.net web service (not WCF) on a windows 7 machine for test reasons. However it seems that just deploying it on a virtual directory or new web site on IIS won\'t

I need to deploy an old style .asmx asp.net web service (not WCF) on a windows 7 machine for test reasons. However it seems that just deploying it on a virtual directory or new web site on IIS won't cut like it used to back in xp.

What should I do? I need to test the service locally prior to deploying it, and so far it's giving me a hard t开发者_运维百科ime.

Any help will be greatly appreciated Thanks


Deploying to a Virtual Directory should work just like it did in XP...with one minor change.

The default behavior in IIS7 is to use 'Integrated' Managed Pipeline Mode for your Application Pools. More than likely, you just need to change that to 'Classic' Managed Pipeline Mode (or switch your Web Service over to use the built-in 'Classic ASP.NET' App Pool).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号