I have a solution consisting of a ServiceStack back-end, with the regular setup (AppHost, ServiceInterface and ServiceModel), and both a winforms app and a iOS app consuming services.
Now I'd like to make a web-admin, and am looking for advice on how to structure this. I'd like to keep the apphost project small, as SS docs say
Ideally the root-level AppHost project should be kept lightweight and implementation-free.
So I'd like to have the web-admin in a separate project, with all the .cshtml and content and it all.
Is this possible? Not recommended? Any ideas?
Some alternatives I can think of are
- single-page-app, let the few
cshtml
files live in the AppHost-project. Is this worth the learning curve? - have the separate project call the web-services. Wouldn't that be very ineffective, considering that they live on the same web-server? Or should it be considered an advantage, since it makes everything loosely coupled?