コード例 #1
0
 /// <summary>
 /// Mandatory middleware registered through pipelineBuilder because it simple.
 /// But they have some crunches, that default middleware can't have.
 /// </summary>
 /// <param name="pipelineBuilder"></param>
 void UseMandatoryMiddleware(IPipelineBuilder pipelineBuilder)
 {
     //Exception handling must used before all other.
     pipelineBuilder.UseExceptionHandling();
     pipelineBuilder.UseBotExt();
 }