Exemple #1
0
 /// <summary>
 ///     Adds <see cref="TraceMiddleware{T}" />, <see cref="ServiceScopeMiddleware{T}" />, <see cref="TimeoutMiddleware{T}" />, <see cref="AutoAcknowledgeMiddleware{T}" /> to the pipeline
 /// </summary>
 public static IPipelineBuilder <T> UseDefaultMiddleware <T>(this IPipelineBuilder <T> builder) => builder.UseTracing()
 .UseServiceScope()
 .UseTimeout()
 .UseAutoAcknowledge();