Cshtml based start-up page as input for ng serve #211

Closed
opened 2025-08-09 17:15:25 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @cveld on 1/24/2018

At our engagements we don't use nodejs server-side at production but really use a HomeController index.cshtml setup to feed the SPA with configuration and other cached initialization data that is generated by classic .NET.

During dev we depend on ng serve for HMR and all the other goodness.
So far we only see examples where ng serve generates its own index.html and feeds this output to the browser.
Is there a way to feed the browser with the output of HomeController's index.cshtml in combination with ng serve?

*Originally created by @cveld on 1/24/2018* At our engagements we don't use nodejs server-side at production but really use a HomeController index.cshtml setup to feed the SPA with configuration and other cached initialization data that is generated by classic .NET. During dev we depend on ng serve for HMR and all the other goodness. So far we only see examples where ng serve generates its own index.html and feeds this output to the browser. Is there a way to feed the browser with the output of HomeController's index.cshtml in combination with ng serve?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#211
No description provided.