简体   繁体   English

不同版本的Web服务

[英]different version of web services

i have created a single website in iis and mapped it to my web service folder... 我在iis中创建了一个网站,并将其映射到我的Web服务文件夹...

i want if i upgrade services, i dont want to overwrite the existing services version but rather create another folder in that main folder like v2 我想如果我升级服务,我不想覆盖现有的服务版本,而是在该主文件夹(如v2)中创建另一个文件夹

so suppose i have c:\\MyService folder mapped to iis website which is accessible by localhost\\MyService 因此,假设我将c:\\ MyService文件夹映射到iis网站,可通过localhost \\ MyService访问

having new version of services i want to deploy in c:\\MyService\\V2 which would be accessible by localhost\\MyService\\V2 我要在c:\\ MyService \\ V2中部署具有新版本的服务,可以通过localhost \\ MyService \\ V2访问

web.config will be single on parent under c:\\MyService\\web.config web.config将在c:\\ MyService \\ web.config下的父节点上为单身

I tried this but this is not working for me in terms of when i try to access my latest web methods in V2, it says endpoint not found. 我尝试了此操作,但是就我尝试在V2中访问最新的Web方法而言,这对我不起作用,它表示未找到端点。

不幸的是, web.config必须与svc文件放在同一文件夹中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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