vdaron / identityserver.razorviewengine Goto Github PK
View Code? Open in Web Editor NEWThis project allows use of RazorEngine to generate views of IdentityServerV3.
License: MIT License
This project allows use of RazorEngine to generate views of IdentityServerV3.
License: MIT License
It seems that the first load of any view is very slow. Is that a known issue or something I'm doing wrong?
In the sample Layout UserView, the page-{page} css class from the IdentityServer html assets wasn't converted to Razor, so the razor engine generates a literal "page-{page}" class.
Hi
I was wondering if you have licensed the released NuGet package and where I could find the license text/information? Would help our company decide if we can reference this package..
Thanks!
This code does not work.
// Specify custom viewService adn corresponding ViewLoader
factory.ViewService = new RazorViewServiceRegistration(
new RazorViewServiceConfiguration(
new Registration<IRazorViewLoader>(
x => new DiskViewLoader(new [] {"Views","Shared"}))));
It get a FileNotFoundException.
I replaced it with follow:
fac.ViewService = new RazorViewServiceRegistration(
new RazorViewServiceConfiguration(
new Registration<IRazorViewLoader>(
x => new DiskViewLoader(new[]
{
Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Views"),
Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Views/Shared")
}))));
It works.
I place cshtmls in ~\Views\Shared folder.
It there anything I did not notice?
The section for granting resource scopes is missing from the sample consent view: https://github.com/vdaron/IdentityServer.RazorViewEngine/blob/develop/IdentityServer.RazorViewEngine.Sample/UserViews/Consent.cshtml
The LoggedOutViewModel has three properties, AutoRedirect, AutoRedirectDelay, and RedirectUrl, that are used for automatically redirecting the user after they've logged out. IdentityServer handles this in Angular, but it isn't being handled with the RazorViewEngine.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.