An open API service indexing awesome lists of open source software.

https://github.com/allrameest/esinet

ASP.NET Core middleware for Edge Side Includes
https://github.com/allrameest/esinet

aspnetcore dotnet edge-side-include esi middleware

Last synced: 6 months ago
JSON representation

ASP.NET Core middleware for Edge Side Includes

Awesome Lists containing this project

README

          


EsiNet

[![NuGet EsiNet](http://img.shields.io/nuget/v/EsiNet.svg?style=flat-square&logo=nuget&label=NuGet+EsiNet)](https://www.nuget.org/packages/EsiNet/)

[![NuGet EsiNet.AspNetCore](http://img.shields.io/nuget/v/EsiNet.AspNetCore.svg?style=flat-square&logo=nuget&label=NuGet+EsiNet.AspNetCore)](https://www.nuget.org/packages/EsiNet.AspNetCore/)

[![NuGet EsiNet.Polly](http://img.shields.io/nuget/v/EsiNet.Polly.svg?style=flat-square&logo=nuget&label=NuGet+EsiNet.Polly)](https://www.nuget.org/packages/EsiNet.Polly/)

An ASP.NET Core middleware for [ESI](http://www.w3.org/TR/esi-lang).

```

```
# Install

### NuGet

```
Install-Package EsiNet.AspNetCore
```

### Services

AddEsiNet adds all services for EsiNet.

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

### Usage

UseEsiNet adds the middleware that parses esi tags.

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

# ESI Support

## Tags

* Include
* Try
* Comment
* Remove
* Choose
* Vars