RIA service generated file contains all the proxy code, can this be split?
RIA services generates all the client code in a single file (namespace.g.cs) for each domain service and DTO class. I was wondering whether it is possible to configure i开发者_JAVA百科t to generate a separate file for each class?
JD.
Ps. The reason I am asking is I was hoping it would be easier to navigate classes using resharper as it is a bit tricky to navigate when all the classes are in one file.
There is no easy way to get it generate separate files. MS chose the easier route when building that generator.
You could always write a little app to split it up into separate class files. The logic is not difficult. If you have to do the splitting often, or for a large team, it would be justifiable to spend half a day building it.
(Might even make one myself, as I have the same problem. If I do make one I will post it on my website for all to use)
精彩评论