Should ServiceStack be the service layer in an MVC application or should it call the service layer?
问题 I\'m creating an MVC website and also intend to create a web API for use both within the website and potentially by third parties. From the MVC controllers I\'ll be calling into a service layer which will contain business logic, act on domain models, perform validation, make infrastructure external service calls etc. The service layer in turn will call into repositories for any database interactions. Now, I like the look of ServiceStack and intend on using it for the Web API - it seems more