Skip to content

Instantly share code, notes, and snippets.

@rynowak
Created January 15, 2018 23:37
Show Gist options
  • Save rynowak/97a309f2533bbccdb112648ecabb76ec to your computer and use it in GitHub Desktop.
Save rynowak/97a309f2533bbccdb112648ecabb76ec to your computer and use it in GitHub Desktop.

Issues:

  • Partials used from overridable views need to go into Views/Shared or Pages/Shared in the app. Partials used from the app's layout also need to go into Views/Shared or Pages/Shared in the app. Using other search paths may work well until you start overriding things.

  • @namespace, @using and @addTagHelper are all problematic when it comes to copy-pasting code from a library into an app.

  • build-time errors for razor show up in errors window in VS, but clicking on them doesn't work.

We don't have a gesture to remove/hide a precompiled Razor assembly. Identity will need to disable its precompiled Razor assets by default. Without this feature the precompiled Razor Pages show up when areas are enabled (fails to resolve services) - and do not show up when areas are disabled.

Not Razor Related

  • Granting consent over https means that you cannot grant consent over http. Visiting both http and https endpoints for the same app is problematic.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment