这些是我的终点
endpoint name =“rest”address =“”binding =“webHttpBinding”behaviorConfiguration =“poxBehavior”contract =“IActionService”
endpoint address =“mex”binding =“mexHttpBinding”contract =“IMetadataExchange”
这使得服务在/这里可用
当我将地址改为[说]'休息'时
endpoints 名称= "rest" address =“ rest " binding=" webHttpBinding " behaviorConfiguration=" poxBehavior " contract=" IActionService " endpoint address=" mex " binding=" mexHttpBinding " contract=" IMetadataExchange”
然后可以在/ rest / here处获得该服务 .
这是有道理的,但它也可以从/这里的原始地址获得
我认为原始地址不存在,因为我已将地址设置为“休息” .
我做错了什么或误会了?
干杯
1 回答
什么定义了 /here 的基地址?你有一个带有
<baseAddress>
条目的<host>
部分吗?原始地址的“仍然可用”是什么意思?去那里的请求仍然返回有效的结果?在配置更改后重置IIS了吗?