Skip to content

Instantly share code, notes, and snippets.

@pranavkm
Created January 12, 2018 18:50
Show Gist options
  • Save pranavkm/257d0d4516eded0ac00d92bb6ece22d7 to your computer and use it in GitHub Desktop.
Save pranavkm/257d0d4516eded0ac00d92bb6ece22d7 to your computer and use it in GitHub Desktop.
## Opting in
With embedded file providers, a gesture is required to register the assembly as a source for views \ pages. For precompiled views, the `ViewsFeatureProvider` discovers precompiled views in all available application parts and registers them. In scenarios like Identity UI, where additional configuration is a must before the pages \ views could be lit up, we need a way to indicate to the feature provider to disallow loading views from specific parts.
One way to achieve this would be to annotate the `Assembly` \ `AssemblyPart` with a attribute property that turns off view discovery.
### Library Precedence
By default,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment