Distribute EXE without config file (Webservice in WinForm)

Posted by Marc vB on Stack Overflow See other posts from Stack Overflow or by Marc vB
Published on 2010-04-09T11:04:12Z Indexed on 2010/04/09 11:13 UTC
Read the original article Hit count: 348

Filed under:

I have created a WinForm app (VB.NET 2008) that references to a webservice which was added via "Add Service Reference". The app works ok.

Question is about distribution of the app. It looks like I need to install the app's config file with the EXE, however I don't want that because the config files shows the actual url of the web service which is not whatt I want.

So, is it possible to use a webservice in a WinForm app and only have to install the resulting EXE?

© Stack Overflow or respective owner

Related posts about vb.net