What is the purpose of the extension method CreatePerOwinContext in OWIN implementation by Microsoft

后端 未结 3 1225
说谎
说谎 2020-12-04 21:11

I am a newbie in ASP.NET, and currently learning ASP.NET Identity. I know it\'s built on top of OWIN implementation by Microsoft, and I am also still learning that too. So,

3条回答
  •  [愿得一人]
    2020-12-04 21:40

    you may use typeof to get the name like this:

    HttpContext.GetOwinContext().Get(typeof(ApplicationDbContext).ToString());
    

提交回复
热议问题