NTB.Mediebank
1.0.4
dotnet add package NTB.Mediebank --version 1.0.4
NuGet\Install-Package NTB.Mediebank -Version 1.0.4
<PackageReference Include="NTB.Mediebank" Version="1.0.4" />
<PackageVersion Include="NTB.Mediebank" Version="1.0.4" />
<PackageReference Include="NTB.Mediebank" />
paket add NTB.Mediebank --version 1.0.4
#r "nuget: NTB.Mediebank, 1.0.4"
#:package NTB.Mediebank@1.0.4
#addin nuget:?package=NTB.Mediebank&version=1.0.4
#tool nuget:?package=NTB.Mediebank&version=1.0.4
NTB Mediebank for Optimizely CMS 12
Integrates NTB Mediebank asset gallery into Optimizely CMS 12, allowing editors to browse, search, and select digital assets directly from the CMS.
Features
- Integrated Gallery: Access NTB Mediebank directly from the Optimizely top menu.
- Modern UI: Built with React and Tailwind CSS for a seamless experience.
- Role-based Access: Configurable authorization policies for the Mediebank interface.
Installation
1. Install the NuGet Package
Add the NuGet package to your Optimizely CMS 12 project:
dotnet add package NTB.Mediebank
2. Register Services
In your Startup.cs (or Program.cs in .NET 6+), register the Mediebank services:
public void ConfigureServices(IServiceCollection services)
{
services.AddMediebank();
}
By default, the add-on requires users to be in CmsAdmins, Administrator, or WebAdmins roles. You can customize the authorization policy:
services.AddMediebank(options =>
{
options.AddPolicy("Mediebank:Security:Policy", policy =>
{
policy.RequireRole("MyCustomRole");
});
});
3. Use the Middleware
Ensure the Mediebank middleware is used in the Configure method:
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
// ... other middleware
app.UseMediebank();
}
Configuration
Once installed and configured, follow these steps to set up the connection to NTB Mediebank:
- Log in to your Optimizely CMS instance.
- Navigate to Mediebank → Settings in the top menu.
- Select your Mediebank provider.
- Enter your Client ID and Client Secret provided by your provider.
- Save the settings.
You can now access the Mediebank → Gallery to start browsing assets.
License
This project is licensed under the MIT License - see the LICENSE file for details.
| 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 was computed. 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
- EPiServer.CMS.AspNetCore (>= 12.21.7)
- EPiServer.CMS.UI.Core (>= 12.31.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
1.0.3: Fixed a problem where our media types had a higher priority than the host's own types. Switched to bundling with nuspec.