How to add IHttpContextAccessor in the Startup class in the DI in ASP.NET Core 1.0?

前端 未结 2 1501
礼貌的吻别
礼貌的吻别 2020-12-01 05:26

In ASP.NET Core RC 1 I used the following code to retrieve the value of context (full address of the page). Then I recorded this value in the configuration.

p         


        
2条回答
提交回复
热议问题