Membership management for Blazorise apps #4827
-
Greetings my super smart Blazorise community!! As I mentioned in Discord, sorry, I will stick to this forum in the future, what would be the best strategy to include membership management for Blazorise apps? Obviously, the VS scaffolder cannot work with Blazorise template-generated projects without some modifications. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 8 replies
-
Hello @reubenalfred My suggestion is that you pick a template that already has this management as that's more complex to implement and then add
|
Beta Was this translation helpful? Give feedback.
-
The project i am working on is to help myself master blazor and Blazorise. I have tried almost all the Blazor component libraries on the market other than Telerik's and DevCrafts and boy o boy Blazorise is sweet. I have been a desktop developer for over 25 years and now looking in to web dev so Blazor is the one I chose. My project is called SkripKwiz it is a web app for friends to test improve the scriptural knowledge. Part of the project is to build a generic theme manager to reuse with Blazorise projects. The idea is to support color schemes and geometric aspects of styling but will start with color styling first. Linear, Rectangular, Elliptic and Text entities. each are colorable and have various stylable aspects. most of the controls can be defined in terms of the fundamental entities mentioned above. For example, a LIstBox has a header, panel, scrollbars(rail and thumbnail), item canvas, 4 corners with radii. all the primitives can be themed using the 4 entities mentioned. furthermore, each control styles encapsulated can have states too and styles for each state can be stored in a dictionary using the same object to abstract the styles for a given control. we have the classes to describe the styles then we describe the actual scheme. we specify different states: default, hover, disabled, focused, selected and so on. the colors for these various states are expressed in terms % color attributes with respect to the default. borders too can be computed relative to the background color derived from the base color. this can be applied to any visual entity. The base color and other colors in default can be directly chosen too as opposed to algorithmic based on the base color. once the theme is chosen(obviously color choosers and slider will be made available, also a control for selecting various colo systems) will be exported as json file. then from this json Blazorise specific CSS can be generated, well, that's idea..... :) |
Beta Was this translation helpful? Give feedback.
-
Thank you @David-Moreira and @stsrki I have followed the suggested strategy and fixed all the build errors and so far so good but the styling has gone haywire compared to the styling from the project generated by the Blazorise proj template... CSS is my worst weakness :) please note the marked concerns in one of the screenshots... |
Beta Was this translation helpful? Give feedback.
-
OK, all good, the material static files were not present under the static directory, so cosmetically the new project looks good.. now back to Identity docos :) thanks guys!! |
Beta Was this translation helpful? Give feedback.
Unfortunately I don't know of any Blazorise project with .NET Core Identity integrated into it. Anyway it's really easy to add Blazorise onto an existing project, as you'll find out by visiting the usage page for the provider of your liking (bootstrap, bulma, material, etc...).
I would recommend going with Microsoft's project template with inbuilt auth and then add Blazorise on top since you just need to follow the steps from https://blazorise.com/docs/usage (by choosing the css framework provider of your liking)
Now depending on your use case, and if you're new to .NET Core Identity it can be confusing to configure/customize/extend the functionalities, so I would recommend looking up som…