Click here to Skip to main content
15,665,718 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:

I have created a webservice usiong c#
i need to convert to console application....
plz give me a solution
Sandeep Mewara 10-Jun-12 1:31am    
Why such thing?!
Bhuvana Narayanan 10-Jun-12 13:10pm    
what are all other attributes i need to change?

1 solution

There is no direct or easy way to 'convert' a webservice into a console application.

You can try:
1. Create a new console application
2. Copy necessary files from webservice to colsole app class
3. Remove extra ttributes like [Webmethod]
4. Compile and resolve any error found.
Share this answer
Sergey Alexandrovich Kryukov 10-Jun-12 2:22am    
Fair enough, a 5. Your correct question was: why? I ask: why?!
Sandeep Mewara 10-Jun-12 2:25am    
:)Thanks SA.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900