[C#/ASP.NET MVC/.NETCORE] IExceptionHandlerPathFeature 인터페이스 : 오류 처리기 컨트롤러 또는 페이지에서 예외 및 요청 경로 구하기


■ IExceptionHandlerPathFeature 인터페이스를 사용해 오류 처리기 컨트롤러 또는 페이지에서 예외 및 요청 경로를 구하는 방법을 보여준다.

Properties/launchSettings.json

Startup.cs

Pages/Index.cshtml.cs

Pages/Error.cshtml.cs

TestProject.zip