Adding service reference in VS 2017, MVC

后端 未结 3 934
余生分开走
余生分开走 2021-01-22 11:52

How do I add a service reference in VS 2017 MVC?

I\'ve tried finding the add service reference button but its not there, there is only add reference and add connected s

3条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-22 12:21

    Find 'References' on 'Solution Explorer' window

    Right click on 'References', then you will see 'Add Service Reference...'

    Click 'Add Service Reference...' then you will see another window.

    Enter your webservice url. Then you will see smth in 'Services:' panel. Select it give a name from 'Namespace:', then click 'Ok'. That's all.

提交回复
热议问题