Skip to content
allrameestPublic

About

ASP.NET Core middleware for Edge Side Includes

Topics

Resources

Stars

9 stars

Watchers

5 watching

Forks

Latest commit

 

History

218 Commits

Folders and files

Repository files navigation

EsiNet

NuGet EsiNet

NuGet EsiNet.AspNetCore

NuGet EsiNet.Polly

An ASP.NET Core middleware for ESI.

<esi:include src="http://localhost:57780/cart/buy.html" />

Install

NuGet

Install-Package EsiNet.AspNetCore

Services

AddEsiNet adds all services for EsiNet.

public void ConfigureServices(IServiceCollection services)
{
    services
        .AddEsiNet()
        .AddMvc();
}

Usage

UseEsiNet adds the middleware that parses esi tags.

public void Configure(IApplicationBuilder app, IHostingEnvironment env)
{
    app
        .UseEsiNet()
        .UseMvc();
}

ESI Support

Tags

  • Include
  • Try
  • Comment
  • Remove
  • Choose
  • Vars

About

ASP.NET Core middleware for Edge Side Includes

Topics

Resources

Stars

9 stars

Watchers

5 watching

Forks

Releases

Packages

Used by

Contributors

Languages