How to create a dynamic web service from windows application

Oct 5 2009 7:33 AM
I am creating a windows application which take database configurations from user and save in an xml. I need some code help which will do the following task: When the user press finish button:
1. It should create a web service which will be able to read data according to the database configuration.
2. Start the web service automatically
3. Configure the IIS server.
4. save the server address into a xml file which will be used by other to consume this service.

All the above points should be done in a single finish button click. How can I do that. I need some guideline and sample code for that.

Answers (1)