Last active
May 19, 2021 16:49
-
-
Save TechWatching/a907d4bcc06fa98a60f2939a6a388ec6 to your computer and use it in GitHub Desktop.
Revisions
-
TechWatching revised this gist
Jan 29, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,7 +4,7 @@ public void ConfigureServices(IServiceCollectionservices) services.AddHttpClient<IUserApiAuthenticationService, UserApiAuthenticationService>() .ConfigureHttpClient(c => c.BaseAddress ="http://urltotheuserapi.com"); services.AddTransient<UserApiAuthenticationHandler>(); services.AddHttpClient<UserService, UserService>() .ConfigureHttpClient(c => c.BaseAddress ="http://urltotheuserapi.com") .AddHttpMessageHandler<UserApiAuthenticationHanler>(); -
TechWatching revised this gist
Jan 28, 2020 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,11 +1,11 @@ public void ConfigureServices(IServiceCollectionservices) { services.AddMemoryCache(); services.AddHttpClient<IUserApiAuthenticationService, UserApiAuthenticationService>() .ConfigureHttpClient(c => c.BaseAddress ="http://urltotheuserapi.com"); services.AddTransient<UserApiAuthenticationHandler(); services.AddHttpClient<UserService, UserService>() .ConfigureHttpClient(c => c.BaseAddress ="http://urltotheuserapi.com") .AddHttpMessageHandler<UserApiAuthenticationHanler>(); } -
TechWatching created this gist
Jan 28, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ public void ConfigureServices(IServiceCollectionservices) { services.AddMemoryCache(); servicesAddHttpClient<IUserApiAuthenticationService,UserApiAuthenticationService>() .ConfigureHttpClient(c => c.BaseAddress ="http://urltotheuserapi.com"); services.AddTransient<UserApiAuthenticationHandler(); services.AddHttpClient<UserService, UserService>() .ConfigureHttpClient(c => c.BaseAddress ="http://urltotheuserapi.com") AddHttpMessageHandler<UserApiAuthenticationHanler>(); }