Difference between Web Service File and Class file
===

What is the difference between a Web Service file i.e. **.asmx** file and class file i.e. **.cs** file.


All the main logic is in the web service **.asmx.cs** file. Basically I needs to transferred that into a **.cs** class file so that it can be called from another web service.

Please tell me how to approach it. I followed this link but it does not say much about how to do it 

http://stackoverflow.com/questions/6652313/web-service-vs-class-file-performance

