Enable MEX in a Web.Config

前端 未结 3 915
刺人心
刺人心 2021-01-23 03:18

How do I enable/create a MEX endpoint in the below web config so I can view the service from my browser?

I have tried a few variation from googling but VS always complai

3条回答
  •  半阙折子戏
    2021-01-23 03:35

    Just add System.ServiceModel.dll under references of your VS Project where your Web.config file is present.

    Then add the below code in Web.config(like other service endpoints):

    
    

提交回复
热议问题