Beispiel #1
0
 /// <summary>Creates the default builder.</summary>
 /// <param name="hostBuilder">The host builder to extend.</param>
 /// <returns>AppHostBuilder instance with defaults of polly retry policies and memory cache applied.</returns>
 public static AppHostBuilder CreateDefaultBuilder(this AppHostBuilder hostBuilder)
 {
     return(hostBuilder.UseDefaultRetryPolicies().AddMemoryCache());
 }