Can partial classes be used for web-services or there is some other way to implement it ?
+5
A:
Partial classes are a compiler feature shared by all of C#, so yes, you can use them for web services.
In fact, it is a feature that is has completely nothing to do with web-services. It simply allows you to split a class over more than one file.
If you want to do so with your web service, you can.
Oded
2010-08-10 07:22:52
+1
A:
Sure you can - in WCF, if a composite service exposes multiple contracts, we place the implementation .cs in separate partial classes for clarity.
nonnb
2010-08-10 08:15:44