Reputation: 1138
I have a console application with ServiceStack which host Razor files and JSON services according to Is there a way to host Razor pages in console application using ServiceTask? .
I'd like to have an access to the JS and Image files. Currently I've made a service which does the ReadAllText from the file and return a string. There are several problems in this solution:
Is there are standard functionality or service I can use out of box?
Upvotes: 1
Views: 514
Reputation: 1687
YEs, now there is - see here: http://razor.servicestack.net/#complete-stack
Upvotes: 2