Dependency injection for ASP.NET Web API action method parameters

前端 未结 2 1166
渐次进展
渐次进展 2021-02-06 04:00

I am working on an ASP.NET Web API project in C# for a JSON interface to a mobile application. My idea was to create interfaces for all requests and then only use these interfac

2条回答
  •  遥遥无期
    2021-02-06 04:20

    I Suggest you Have a look at Service Stack http://www.servicestack.net/

    Its got the same all around design as asp.net-WebApi but it has goodies like IOC baked into it.

    There is a amazing series on service stack at http://pluralsight.com/training/Courses/TableOfContents/service-stack

提交回复
热议问题