blazorboilerplate | Blazor Boilerplate / Starter Template with MudBlazor | Binary Executable Format library

 by   enkodellc C# Version: 3.4 License: MIT

kandi X-RAY | blazorboilerplate Summary

kandi X-RAY | blazorboilerplate Summary

blazorboilerplate is a C# library typically used in Institutions, Learning, Education, Programming Style, Binary Executable Format applications. blazorboilerplate has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.

Blazor is a web framework designed to run in the browser on a WebAssembly-based .NET runtime. Blazor Boilerplate aka Blazor Starter Template is a SPA admin template that is able to run both WebAssembly (Core-Hosted) and Server-Side Blazor with a .NET Core 6.0 Server. Default mode for BB is Server Side. To switch to Webassembly log in as Admin and go to settings. Read more here.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              blazorboilerplate has a medium active ecosystem.
              It has 1758 star(s) with 357 fork(s). There are 83 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 12 open issues and 204 have been closed. On average issues are closed in 51 days. There are 10 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of blazorboilerplate is 3.4

            kandi-Quality Quality

              blazorboilerplate has 0 bugs and 0 code smells.

            kandi-Security Security

              blazorboilerplate has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              blazorboilerplate code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              blazorboilerplate is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              blazorboilerplate releases are available to install and integrate.
              blazorboilerplate saves you 356 person hours of effort in developing the same functionality from scratch.
              It has 1246 lines of code, 0 functions and 308 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of blazorboilerplate
            Get all kandi verified functions for this library.

            blazorboilerplate Key Features

            No Key Features are available at this moment for blazorboilerplate.

            blazorboilerplate Examples and Code Snippets

            No Code Snippets are available at this moment for blazorboilerplate.

            Community Discussions

            QUESTION

            Blazor proj from scratch+nuget: "There was no runtime pack for Microsoft.AspNetCore.App available for the specified RuntimeIdentifier 'browser-wasm'"
            Asked 2020-Dec-08 at 09:18

            [Final update 07.12.2020 23:50 --> for everyone seeking for the anwser]

            You are probably adding some nuget package which has in fields DEPENDENCIES .NET Core 3.1. For example Serilog.AspNetCore 3.4.0. In this very example you can include Serilog.AspNetCore 3.2.0 because it has in DEPENDENCIES only .NetStandard 2.0. See more explanation in @Ogglas answer.

            There is not enough space on earth to ask the one and only question: "Why, o why Microsoft?":) The message is not clearly correlating issue with the solution - this is the lightest euphemism i am capable of making :)

            For me, Blazor is very promising but it is still more a beta version. And not only for me. The startblazoring guys are claiming, that Blazor can be fickle sometimes. And I cannot agree more;) I am keeping finger crossed for it. But I suppose it would be a "ready product" only after .NET 6.0.

            [Original Topic]

            This is so frustrating :)

            I hate errors, when I cannot simply interact and understood where it is coming from. I know, I am ignorant, and If I would pay more attention to "how is the blazor app created" I would understand in eye blink.

            But for now it is only frustrating. What is? The error message:

            Severity Code Description Project File Line Suppression State Error NETSDK1082 There was no runtime pack for Microsoft.AspNetCore.App available for the specified RuntimeIdentifier 'browser-wasm'. TestBlazorAppNoRuntimeError.Client C:\Program Files\dotnet\sdk\5.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets 387

            Really, what can you fix here?:D Ehhhhh. I understand that .NET 5 is a "new thing". I understand Blazor is a "new thing" But really? It is really easy to "break" ;) (with a message that is saying nothing)

            So what did I do?

            Did I create very complicated project with hundreds of thousands of files?

            No

            Did I add hundreds of thousands of nuget packages.

            No

            All it takes is to create Blazor Webassembly app and add one nuget package to the shared (common) library (FYI: IdentityServer4 package). That is all folks. Kudos if you would now, that this package specificly is causing this issue (because i found out only by mistake):

            There was no runtime pack for Microsoft.AspNetCore.App available for the specified RuntimeIdentifier 'browser-wasm'.

            Really, there is a great correlation here: between the error message and the package being added (this was sarcasm if anyone missed it:) )

            So if you want to reproduce it create create "Blazor Webassembly":

            I don't suppose the options chosen are making the difference. But if this is the case - you can see what option I did choose. Then just add IdentityServer4 nuget package to shared library:

            https://www.nuget.org/packages/IdentityServer4/

            That is all

            If you are too lazy - download this project and check for yourself:

            https://ufile.io/751l5wgq

            I saw hundreds of SOF topics regarding this message:

            There was no runtime pack for Microsoft.AspNetCore.App available for the specified RuntimeIdentifier 'browser-wasm'.

            But none of those was so easy to reproduce.

            Why I am creating this topic?

            Because I did try to implement (by copy-pasting to my solution) what guys did create in Blazor boilerplate here: https://github.com/enkodellc/blazorboilerplate

            At the beginning, by mistake, I've added Identity4 NuGet instead of Identity4.storage and that is why I did observe such behavior (such error) and did correlate this package with this error. When I rolled back from Identity4 to Identity4.storage everything was correct once again. But after that I did a lot of code transfer from this repository. And once I've ended, right now, everything is compiling but once again I have:

            There was no runtime pack for Microsoft.AspNetCore.App available for the specified RuntimeIdentifier 'browser-wasm'.

            And it is driving me crazy. Maybe you would have some idea, how to find out WHAT is causing this error (exactly the same as previously Identity4 nuget package was causing it)

            [UPDATE 06.12.2020 12:30]

            The question here is more: "Why is it happening and how to locate package causing the issue" I know that I can second guess what is causing this message to appear.

            I did a little investigation. This error is showing in this target:

            ...

            ANSWER

            Answered 2020-Dec-06 at 01:26

            IdentityServer4 4.1.1 (latest version) is dependent upon .NETCoreApp 3.1

            https://www.nuget.org/packages/IdentityServer4/

            If you create a Blazor WebAssembly App using .NET Core 3.1 it will work in the Server App.

            However when using .NET Core 3.1 both Client and Shared uses .NET Standard 2.1 and is therefore not compatible. These error messages are a lot clearar though:

            Error Package restore failed. Rolling back package changes for 'BlazorApp.Shared'.

            Error NU1202 Package IdentityServer4 4.1.1 is not compatible with netstandard2.1 (.NETStandard,Version=v2.1). Package IdentityServer4 4.1.1 supports: netcoreapp3.1 (.NETCoreApp,Version=v3.1) BlazorApp.Shared

            Source https://stackoverflow.com/questions/65134554

            QUESTION

            How did designer apply this css class?
            Asked 2020-Nov-19 at 22:33

            I am using the MatBlazor component library: https://www.matblazor.com/

            and I am trying to understand how the designer for this website: https://blazor-wasm.quarella.net/Account/Login

            centered the element like so:

            My following code looks like this:

            ...

            ANSWER

            Answered 2020-Nov-19 at 22:33
            1. As you mention, if you inspect the element of the login page, you can see that the MatCard is using the class login-container which applies a margin auto to the left and right side of the element. That's what is causing it to be centered.

            1. Most likely, per the stylesheet you referenced, the wrapping elements on the login page reference the CSS located here. It's called .login-body and just like in item 1 above, it is using a margin of auto to center horizontally.

            2. The login-body and login-container classes are applied to the pages by either the Shared/Components or the Shared/Layouts. For example, the Login page you reference in your question appears to be using the LoginLayout.razor here. There you can see that both of these classes are being used.

            Source https://stackoverflow.com/questions/64916687

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install blazorboilerplate

            You can download it from GitHub.

            Support

            Please star, watch and fork! We'd greatly appreciate any contribution you make. I am very open to updates and features, though most feature requests will be depending on how much community support exists.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries

            Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link