Is there a way to add a Spring Object to a ServiceRoute instead of a class type?
This works but my ScenarioService has to have a parameterless constructor
RouteTable.Routes.Add(new ServiceRoute("services/scenarioservice", 
开发者_StackOverflow社区new WebServiceHostFactory(), typeof (Edu3.Core.Services.ScenarioService)));
I would like to use something like this but it doesn't work:
RouteTable.Routes.Add(new ServiceRoute("services/scenarioservice", 
new Spring.ServiceModel.Activation.WebServiceHostFactory(), 
typeof (Edu3.Core.Services.ScenarioService)));
Instead of providing a class type, I would need to provide a spring object.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论