Last post Aug 08, 2016 02:13 AM by Yohann Lu
Aug 05, 2016 02:37 PM|sudip_inn|LINK
suppose i have many controller say for CustomerController, productController, OrderController etc. so tell me how could i self host those all controller in windows console apps or windows service as a result other windows client can send request to web api.
please show me the code by which i can host multiple controller in windows console or windows service. when self host then how could i do the attribute routing or conventional routing etc.
if possible include few links for the same issue. thanks
Aug 06, 2016 03:12 AM|lextm|LINK
Use Google, and it returns tons of links and code like this.
Aug 06, 2016 04:47 PM|sudip_inn|LINK
Aug 07, 2016 06:22 AM|lextm|LINK
Did you ever try it out? If Microsoft makes attribute routing part of the feature set, they won't simply let it work only on IIS, right?
Aug 07, 2016 06:39 PM|sudip_inn|LINK
Aug 08, 2016 02:13 AM|Yohann Lu|LINK
Attribute routing is working fine when self host web api. I have made a sample on my side.
You can refer the following posts: