Comments (3)
Thank you for the feedback. I see what you mean. It's because I am running Blazor Server as the main app so there isn't a /Views/Shared folder. I have researched this further and found a way of making it work with my Blazor app. I used this article to make the changes and it works perfectly: Including Static Resources In Razor Class Libraries In ASP.NET Core. I also had to add a Nuget package to the RCL: Microsoft.Extensions.FileProviders.Embedded
.
from identitymanagerui.
It's been a little while since I last looked at this project, but the RCL doesn't include a _Layout.cshtml but instead uses it from the hosting web app under /Views/Shared. Does you web app not already have a layout?
from identitymanagerui.
@Chas5555 Thanks for sharing your solution, that'll help others who are using it with Blazor server.
from identitymanagerui.
Related Issues (15)
- Create Regional-Groups in a Role, how to attach a claims to a roles HOT 6
- Upgrade to .Net5.0 HOT 1
- ASP core 6 update build help HOT 1
- Data table modal buttons not working integrated into an in asp.net core 6 project HOT 9
- Login Audits / has tenant HOT 1
- edit btn not work HOT 2
- Users.cshtml has ajax error and doesn't load any data HOT 3
- Edit User modal form will not load when a role contains a space HOT 2
- Add-Migration generates duplicated foreign keys for Users and Roles related tables HOT 3
- Question Circular References HOT 2
- NuGet package HOT 4
- Helper for a mix of claim and role checks HOT 2
- .Net Core 6 & universal HOT 2
- Cross verify which pages are missing authorization through reflection HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from identitymanagerui.