damienbod/AspNetCoreMvcAngular

HMR and Visual Studio Debugging

Opened this issue · 0 comments

Hi @damienbod ,

Thank you for the very useful contribution.

Could you please help me with the below requirement.

I want to enable HMR and would like to debug my API in visual studio .Something like JavaScript Services in Asp net core.
Unfortunately I am not allowed to use core so I am porting this code to use MVC5. Could you please help me with the above setup to launch my whole project from visual studio with HMR enabled.

I have seen ur other projects there u were using HMR by launching ur web pack and dotnet code using concurrent command.. But with that approach i could not debug my api since it is launched from cmd line. And also u were using html files for the script injection but here u are using cshtml it needs Mvc pipeline to run. So I cannot use the same approach by running at localhost:8080 for hmr.

Since I want to use windows authentication, I need MVC and cshtml approach.