| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This library helps you with server side Blazor projects to enable content files from BlazorLib projects. In my opinion, it is the most perfomant and convenient way for using embedded content files from Blazor Libraries at this moment.
Install the latest version from nuget:
Enable host return static content from embedded resources.
# Startup.cs app.UseEmbeddedBlazorContent(assembly); // Or with custom request path app.UseEmbeddedBlazorContent(assembly, "/staticContent");
# _Host.cshtml
@Html.EmbeddedBlazorContent(assembly)
// Or with custom request path
@Html.EmbeddedBlazorContent(assembly, "/staticContent")
// Or all embedded content from all hosted asemblies
@Html.EmbeddedBlazorContent()| Back | FazBrowse Home | New Git URL |