Last post Sep 15, 2016 09:52 AM by bolla1
Sep 14, 2016 09:13 AM|bolla1|LINK
It used to be like this in the previous Version to access the Logged in User from _Layout.cshtml, but now with VS 2015 SP3 Asp.Net it does not seem to work:
I would appreciate greatly help on how to implement above code for Vs 2015 Sp3 Asp.Net Core.
Thanks a lot, kindest Blessings
Sep 15, 2016 09:52 AM|bolla1|LINK
I figured it out :)!
Adding this to the top of the page works:
@inject SignInManager<ApplicationUser> SignInManager
@inject UserManager<ApplicationUser> UserManager