wcf - Dynamically generate @ServiceHost directive / Dynamic SVC files -
i using castle windsor's wcf facility host services. means .svc files contain 1 line:
<%@ servicehost service="myservice" factory="castle.facilities.wcfintegration.defaultservicehostfactory, castle.facilities.wcfintegration"%>
now instead of having 10 .svc files 10 services, thought nice have 1 generic file.
something generic.svc?service=myservice
automatically generate correct @servicehost
directive, maybe url rewriting in addition, write myservice.svc
, rewritten generic.svc
.
any thoughts on this? don't want move away iis , host services myself.
thanks!
Comments
Post a Comment