Osirion.Blazor.Cms.Admin
2.1.18
Prefix Reserved
dotnet add package Osirion.Blazor.Cms.Admin --version 2.1.18
NuGet\Install-Package Osirion.Blazor.Cms.Admin -Version 2.1.18
<PackageReference Include="Osirion.Blazor.Cms.Admin" Version="2.1.18" />
<PackageVersion Include="Osirion.Blazor.Cms.Admin" Version="2.1.18" />
<PackageReference Include="Osirion.Blazor.Cms.Admin" />
paket add Osirion.Blazor.Cms.Admin --version 2.1.18
#r "nuget: Osirion.Blazor.Cms.Admin, 2.1.18"
#:package Osirion.Blazor.Cms.Admin@2.1.18
#addin nuget:?package=Osirion.Blazor.Cms.Admin&version=2.1.18
#tool nuget:?package=Osirion.Blazor.Cms.Admin&version=2.1.18
Osirion.Blazor.Cms.Admin
Content Management System (CMS) Administration module for Osirion.Blazor, providing a robust, flexible admin interface for managing content across different providers.
Features
- Unified Content Management: Manage content from various providers (GitHub, FileSystem, etc.)
- Rich Editing Experience: Advanced markdown editor with live preview
- SSR Compatible: Works with Server-Side Rendering and Static SSG
- Flexible Authentication: Supports multiple authentication strategies
- Multi-Provider Support: Seamless integration with existing Osirion.Blazor CMS providers
- Real-time Collaboration: Draft sharing and collaborative editing features
- Comprehensive Access Control: Role-based permissions and content governance
Installation
dotnet add package Osirion.Blazor.Cms.Admin
Quick Start
Configuration
// In Program.cs
builder.Services.AddOsirionCmsAdmin(options =>
{
options.UseGitHubProvider(github =>
{
github.Owner = "your-username";
github.Repository = "your-content-repo";
});
options.ConfigureAuthentication(auth =>
{
auth.UseGitHubAuthentication();
// Or use custom authentication
});
});
Basic Usage
@page "/admin"
@using Osirion.Blazor.Cms.Admin.Components
<CmsAdminDashboard>
<ContentEditor />
<MediaLibrary />
<UserManagement />
</CmsAdminDashboard>
Core Components
ContentEditor
- Advanced markdown editing
- Front matter management
- Live preview
- Draft saving
- Version history
MediaLibrary
- Upload and manage media files
- Image optimization
- Folder organization
- File metadata management
UserManagement
- Role-based access control
- User invitation
- Permissions configuration
Analytics Dashboard
- Content performance tracking
- User engagement metrics
- SEO insights
Authentication Strategies
GitHub OAuth
options.ConfigureAuthentication(auth =>
{
auth.UseGitHubAuthentication(github =>
{
github.ClientId = "your-client-id";
github.ClientSecret = "your-client-secret";
});
});
Custom Authentication
options.ConfigureAuthentication(auth =>
{
auth.UseCustomProvider(custom =>
{
custom.ConfigureServices(services => { ... });
custom.ConfigureMiddleware(app => { ... });
});
});
Configuration Options
builder.Services.AddOsirionCmsAdmin(options =>
{
// Provider configuration
options.UseGitHubProvider(github => { ... });
options.UseFileSystemProvider(fs => { ... });
// Authentication
options.ConfigureAuthentication(auth => { ... });
// UI Customization
options.ConfigureTheme(theme =>
{
theme.UseDarkMode();
theme.SetPrimaryColor("#007b31");
});
// Content Restrictions
options.ConfigureContentRules(rules =>
{
rules.RequireApproval();
rules.SetMaximumDraftAge(30);
});
});
Localization
builder.Services.AddOsirionCmsAdmin(options =>
{
options.UseLocalization(localization =>
{
localization.AddSupportedCultures("en-US", "fr-FR", "de-DE");
localization.SetDefaultCulture("en-US");
});
});
Security Best Practices
- Implement role-based access control
- Use secure authentication providers
- Enable two-factor authentication
- Audit logging for all administrative actions
Extensibility
Custom providers and components can be added easily:
public class CustomContentProvider : IContentProvider
{
// Implement provider logic
}
builder.Services.AddOsirionCmsAdmin(options =>
{
options.AddProvider<CustomContentProvider>();
});
Documentation
For more detailed documentation, see CMS Admin Documentation.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Contributing
We welcome contributions! Please see our contributing guidelines.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- Markdig (>= 0.41.3)
- Microsoft.Extensions.Caching.Memory (>= 8.0.1)
- Microsoft.Extensions.Http (>= 8.0.1)
- Osirion.Blazor.Cms.Core (>= 2.1.18)
-
net9.0
- Markdig (>= 0.41.3)
- Microsoft.Extensions.Caching.Memory (>= 9.0.8)
- Microsoft.Extensions.Http (>= 9.0.8)
- Osirion.Blazor.Cms.Core (>= 2.1.18)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Osirion.Blazor.Cms.Admin:
| Package | Downloads |
|---|---|
|
Osirion.Blazor.Cms
Cms module for Osirion.Blazor - Provides cms management with provider pattern. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.1.18 | 239 | 12/14/2025 |
| 2.1.17 | 210 | 12/14/2025 |
| 2.1.16 | 215 | 12/14/2025 |
| 2.1.15 | 203 | 12/12/2025 |
| 2.1.14 | 486 | 12/11/2025 |
| 2.1.13 | 488 | 12/11/2025 |
| 2.1.12 | 308 | 9/4/2025 |
| 2.1.11 | 255 | 8/31/2025 |
| 2.1.10 | 289 | 8/29/2025 |
| 2.1.9 | 291 | 8/29/2025 |
| 2.1.8 | 295 | 8/27/2025 |
| 2.1.7 | 388 | 8/25/2025 |
| 2.1.6 | 187 | 8/23/2025 |
| 2.1.5 | 266 | 6/24/2025 |
| 2.1.4 | 259 | 6/18/2025 |
| 2.1.3 | 174 | 5/31/2025 |
| 2.1.2 | 162 | 5/31/2025 |
| 2.1.1 | 257 | 5/20/2025 |
| 2.1.0 | 246 | 5/19/2025 |