Commit Graph

31 Commits (9bac552349e83bc3374d3f90d7277c2882b7417b)

Author SHA1 Message Date
Arka Poddar 0ea12ae154
Fixes 27414 (#29441) 2023-06-07 11:10:29 -10:00
Rick Anderson 39b7df2ca8
Remove .min ref from all non-Blazor projects /2 (#26216) 2022-06-23 15:27:45 -10:00
Kirk Larkin cd05c06b49
Clean-up HTTP Requests (#24149) 2021-12-01 11:25:02 +00:00
Kirk Larkin db83ee217a
Update HTTP Requests to 6.0 (#23787) 2021-11-10 12:31:09 +00:00
Rick Anderson b3cca6ffe1
Use System.Net.Http.Json in "Make HTTP requests..." (#22290)
* prep for V5

* prep for V5

* prep for V5

* prep for V5

* prep for V5
2021-05-12 14:03:14 -10:00
Luke Latham 47be37a3b2
Cross-link and enhance scoping in a console app (#21964) 2021-04-06 05:04:16 -05:00
Scott Addie b10d421903
Update master branch references to main and update repo org. (#21737)
* Update the aspnet/AspNetCore.Docs repo references

* Update master branch names to main
2021-03-10 10:13:00 -06:00
Mikel Blanchard 97c1162674
Switched the cookie sample to use HttpClientHandler instead of SocketsHttpHandler. (#21303) 2021-01-30 06:04:29 +10:00
Rick Anderson 0ac6a03a6f
Serpent5 scoped di/ra (#21275)
* Explain scoped DI in HttpClient handlers

* Include relevant sample code in the topic

* Explain scoped DI in HttpClient handlers by serpent5

* Explain scoped DI in HttpClient handlers by serpent5

* clean up

* clean up

* clean up

* clean up

* clean up

* clean up

* Apply suggestions from code review

Co-authored-by: Kirk Larkin <serpent5@pm.me>

* Update aspnetcore/fundamentals/http-requests/samples/3.x/HttpRequestsSample/Startup.cs

Co-authored-by: Kirk Larkin <serpent5@pm.me>

Co-authored-by: Kirk Larkin <serpent5@pm.me>
2021-01-26 10:32:40 +10:00
Kirk Larkin ce87a9b905
Demonstrate GET, POST, PUT, and DELETE with HttpClient (#18650)
* dotnet new webapp

* Cleanup scaffolding and move to CDNs/inline CSS

* Add basic Web API for TodoItems

* RP examples for hitting the API with CRUD

* Use a Typed Client for deduplication

* Use the incoming URL to determine HttpClient.BaseAddress

* Add an explanation to the topic

* Update aspnetcore/fundamentals/http-requests.md

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
2020-06-11 10:10:41 -10:00
Rick Anderson 5ebd26bdfa
Header propagation middleware PR of PR (#16717)
* Header prop PR of PR

* Header prop PR of PR

* Header prop PR of PR

* Header prop PR of PR

* Header prop PR of PR

* Header prop PR of PR
2020-01-27 14:53:19 -08:00
Luke Latham 4a16dc236d
3.1 Sample Updates (#16170) 2019-12-12 17:31:22 -06:00
Melvin Iwuajoku d11b42a7dc Update incorrect class name used in the cookie handling snippet (#16120) 2019-12-10 12:28:51 -06:00
Ryan Nowak 892f685ff8 Add guidance about client factory and cookies (#15855)
* Add guidance about client factory and cookies

Fixes: #15848

* Update http-requests.md (#15856)

* Update http-requests.md

* Update http-requests.md

* Update http-requests.md

* Update http-requests.md
2019-11-25 11:15:28 -10:00
Rick Anderson 60453c5568
Text.json 3.0/ra (#15382)
* Use System.Text.Json for 3.0 HTTP Requests topic.

* Update to 3.0 code.

* C#8 goodness.

* Note that Json.NET + ReadAsAsync<T> can be seen in previous versions.

* Update Startup.cs

* IHttpClientFactory to Text.Json

* IHttpClientFactory to Text.Json

* clean up

* clean up

* clean up

* Apply suggestions from code review

Co-Authored-By: Kirk Larkin <6025110+serpent5@users.noreply.github.com>

* clean up
2019-10-30 14:27:28 -10:00
Nikita Potapenko dc8f9b7bea Update packages (#14574)
Use GA version
2019-09-25 07:58:43 -10:00
Luke Latham b93ab83fb6 Pascal case placeholder names in log strings (#14508)
* Pascal case placeholder names in log strings

* Updates
2019-09-23 14:11:50 -10:00
Luke Latham 1e99d7ef1a
Use IHttpClientFactory in a console app (#13434) 2019-08-01 11:04:25 -05:00
Scott Addie fcfa1c60d3
Address removal of WebApi.Client from shared framework (#12371)
* Address removal of WebApi.Client from shared framework

* Update IHttpClientFactory sample code

* IHttpClientFactory doc updates
2019-05-10 20:22:28 -05:00
Luke Latham 217c6f3604 React to repo name change in repo links (#12152) 2019-04-24 14:04:39 -10:00
Luke Latham 5c74fc158a
HTTP Requests topic+sample update for 2.2 (#11757) 2019-03-30 18:43:35 -05:00
Rick Anderson 0ee6b101d9
delete map and min files (#9310) 2018-10-31 14:26:48 -10:00
Luke Latham 8e6dd4a7f4 Drop version from App package (#8881)
Addresses #8579 

I might be getting the hang of **_find and replace_** now. 😝

This doesn't touch a couple that ref 2.2.0. I'll tidy those up on https://github.com/aspnet/Docs/issues/8518 after 2.2 RTM.
2018-10-06 17:10:28 -10:00
Luke Latham 46f41d4774
Update All and App package versions (#8513) 2018-09-13 11:39:23 -05:00
Luke Latham 1a0f79a8fe
Update All/App package version (#8489) 2018-09-11 08:53:03 -05:00
Luke Latham a5060092c6
Initiate HTTP Requests sample update (#8176) 2018-08-20 11:32:44 -05:00
Luke Latham 34b33e245b Add version to App package references (#7551)
Fixes #7532
2018-07-10 22:43:09 -05:00
Scott Addie d9e0e596a7
Update IHttpClientFactory sample app to 2.1 RTM (#7243)
* Update IHttpClientFactory sample app to 2.1 RTM

* Add API ref link

* Update date
2018-06-22 11:49:10 -05:00
Steve Gordon 1d228dd46c Updating HttpClientFactory sample project to use RC1 bits (#6298) 2018-05-09 09:19:01 -05:00
Scott Addie 5879d8aef6
IHttpClientFactory doc cleanup (#6181)
* IHttpClientFactory sample app cleanup

* More code cleanup

* Fix code highlighting
2018-05-02 14:14:00 -05:00
Steve Gordon 039252bc7a Starting work on HttpClientFactory documentation (#5483)
Starting work on HttpClientFactory documentation
2018-05-02 12:50:34 -05:00