PhongBV.EpiServer.Cms.Extensions
1.0.2
dotnet add package PhongBV.EpiServer.Cms.Extensions --version 1.0.2
NuGet\Install-Package PhongBV.EpiServer.Cms.Extensions -Version 1.0.2
<PackageReference Include="PhongBV.EpiServer.Cms.Extensions" Version="1.0.2" />
paket add PhongBV.EpiServer.Cms.Extensions --version 1.0.2
#r "nuget: PhongBV.EpiServer.Cms.Extensions, 1.0.2"
// Install PhongBV.EpiServer.Cms.Extensions as a Cake Addin
#addin nuget:?package=PhongBV.EpiServer.Cms.Extensions&version=1.0.2
// Install PhongBV.EpiServer.Cms.Extensions as a Cake Tool
#tool nuget:?package=PhongBV.EpiServer.Cms.Extensions&version=1.0.2
What is EpiServer.Cms.Extension?
EpiServer.Cms.Extension
is a simple little library built to help you easily trace current controller/component, action and return view while rendering html. In other hand, it supply some utilities for downloading asset media from existing database and initialize admin user.
How do I use it?
First, you need to install package from package manager console
PM> Install-Package EpiServer.Cms.Extensions
Or from dotnet CLI:
dotnet add package EpiServer.Cms.Extensions
Downloading media
First, you need to call a GET request to /api/blob
for extracting all image data info. Then call POST request to /api/blob?baseUrl={your-hostname}&ignoreExtensions={extension-exclude}
, ignoreExtensions
can be joined from multiple extension and separator is ','.
Initialize Admin user
From any request, you need to add some parameters: Init=true&username={your-username}&password={your-password}
Tracing request
Enable by default, sample response
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=10" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Alloy - collaboration, communication and project management online</title>
<meta name="keywords" content="Alloy Plan,Alloy Meet,Alloy Track,distance collaboration,online communication,online project management" />
<meta name="description" content="Alloy solves the two most pressing problems in long distance collaboration – better communication and better project management " />
<link rel="stylesheet" href="/css/bootstrap.min.css" />
<link rel="stylesheet" href="/css/style.min.css" />
<link rel="stylesheet" href="/css/theme.min.css" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
</head>
<body>
<div class="container">
<div class="start">
<div class="row">
<div class="block contactblock">
<div class="contact">
<img />
<h3>Demo view tracing</h3>
<div></div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
.NET Framework | net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETFramework 4.6.1
- EPiServer.CMS.Core (>= 11.1.0)
- EPiServer.CMS.UI.Core (>= 11.1.0)
- EPiServer.Framework (>= 11.1.0)
- Microsoft.AspNet.WebApi.Core (>= 5.2.2)
- Microsoft.Extensions.DependencyInjection (>= 6.0.0)
- Microsoft.Extensions.Http (>= 6.0.0)
- System.Data.DataSetExtensions (>= 4.5.0)
-
net6.0
- EPiServer.CMS.Core (>= 12.1.0)
- EPiServer.CMS.UI.Core (>= 12.1.0)
- EPiServer.Framework (>= 12.1.0)
- Microsoft.AspNetCore.Mvc.ViewFeatures (>= 2.2.0)
- Microsoft.Extensions.DependencyInjection (>= 6.0.0)
- Microsoft.Extensions.Http (>= 6.0.0)
- System.Linq.Async (>= 6.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.