Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 676 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 676 Bytes

HTML content DI

This is a library to add html content core into ASP.NET DI.

Install from NuGet.

dotnet add package Arc.HtmlContent.DI

Use the below code in Program.cs to add html content core into ASP.NET DI.

WebApplicationBuilder builder = WebApplication.CreateBuilder(args);
builder.Services.AddHtmlContentService();

There is a WPF app which uses this library to show HTML responses. This is to show how you can use this library in your app.