WCF service host cannot find any service metadata

后端 未结 10 585
余生分开走
余生分开走 2020-12-16 13:01

I\'m just learning wcf and currently got this far.

CS File:

using System;
using System.Collections.Generic;
using System.Linq;
using         


        
10条回答
  •  长情又很酷
    2020-12-16 13:30

    The easiest way to create this problem is to simply re-factor your interface name. It certainly changes the instance name across your project but it fails to update the web.config file. To recreate create a new service, rename your interface and whack F5, boom, metadata dialog appears :-) The answer is as above, just remember to alter your web.config file manually.

    Regards

提交回复
热议问题