WCF : How to disable WCF Test Client

前端 未结 8 1665
悲哀的现实
悲哀的现实 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

    Right Click WCF Project -> Select Properties -> Debug In Debug, you can see the Command Line arguments specified as /client:"WcfTestClient.exe" Removing this won't fire up the test client when you run the service.

    Regards,

    Venkatarajan Arthanari

    0 讨论(0)
  • 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.

    0 讨论(0)
提交回复
热议问题