简体   繁体   中英

Using RouteTables in WCF Hosted In Windows Service

Is it possible to use a Windows Service hosted WCF application and still leverage the RouteTable objects? I really like the routing capabilities; however, the hosted environment does not have IIS. Thanks.

AFAIK the routing works only inside an ASP.NET application which itself requires IIS. Actually in WCF you shouldn't be using routing. You could use RESTful WCF services where you have control over the urls and verbs.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM