* Incremental work on samples * Rename HTTP middleware and update samples * Rename HTTP Activities to Workflows * Automatically register core activities when adding Elsa * Fix feature registration bug * Add default auth feature * Make activity serializer more flexible * Bump designer version * Add workflow server + designer samples * Simplify EntityFrameworkCore projects * Update solution * Add Sqlite package references to ensure the correct version is used * Update sample project with EF Core * Update EF extensions * Add server + designer sample project * Cleanup AllInOne project and add some XML comments * Rename ci.yml and add CI for Docker file
15 lines
515 B
C#
15 lines
515 B
C#
using Elsa.Http.Middleware;
|
|
using Microsoft.AspNetCore.Builder;
|
|
|
|
namespace Elsa.Http.Extensions;
|
|
|
|
/// <summary>
|
|
/// Adds extension methods to <see cref="IApplicationBuilder"/> related to workflow middleware components.
|
|
/// </summary>
|
|
public static class ApplicationBuilderExtensions
|
|
{
|
|
/// <summary>
|
|
/// Installs the <see cref="WorkflowsMiddleware"/> component.
|
|
/// </summary>
|
|
public static IApplicationBuilder UseWorkflows(this IApplicationBuilder app) => app.UseMiddleware<WorkflowsMiddleware>();
|
|
} |