Skip to content

Arnab-Developer/Arc.HtmlContent.DI

Repository files navigation

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.