WCF : How to disable WCF Test Client

前端 未结 8 1669
悲哀的现实
悲哀的现实 2020-12-24 02:31

I created a new WCF Application. It has a svc file & a code behind, When I try to debug (F5) then I see the following.

  1. If svc file is open & press F5 t
8条回答
  •  自闭症患者
    2020-12-24 03:25

    To disable WCF Service Test Client

    1. In Solution Explorer right click on "Solution 'YourServiceName' " and go to properties
    2. In "Common Properties" select "startup project"
    3. Enable "Current Selection" Radio button
    4. Click "Apply"
    5. Click "ok"

    Now open which ever service you want to run, and hit F5. It will run the current service.

提交回复
热议问题