Identity UI no longer works after switching to .net core 3 endpoint routing

后端 未结 1 444
渐次进展
渐次进展 2020-11-29 11:58

After having a hard time getting my area to show with endpoint routing i managed to fix it in this self answered thread (albeit not in a very satisfactory way) : Issue after

1条回答
  •  悲&欢浪女
    2020-11-29 12:26

    The Identity UI is implemented using Razor Pages. For endpoint-routing to map these, add a call to MapRazorPages in your UseEndpoints callback:

    app.UseEndpoints(endpoints =>
    {
        // ...
        endpoints.MapRazorPages();
    });
    

    0 讨论(0)
提交回复
热议问题