Back
10 July

CheatSheet – Asp.Net Core Razor Pages

Configuration and Middleware UsePathBase middleware, to configure a different base path, this approach will not be disabled the default url/path Creating a Custom Middleware class and an extension method to invoke the same. Partial Views Invoke/render a partial view and passing data model Invoke/render a …

28 October

IdentityServer4 – Wrong Protocol in Discovery Specification

Issues when enabling SSL/https protocol with IdentityServer4 running besides Nginx web server. Problem: OpenId Connect discovery specification endpoint https://authserver.xxxxxxxxxxx.com/.well-known/openid-configuration returns wrong protocol. Refer to the screenshot on the right, it returns endpoints with HTTP protocol instead of HTTPS. Solution: To resolve this issue, we need …