Commit Graph

5 Commits (4ad9a9f7fbd7b5506d15d436f5c6f83ad1ecb6fc)

Author SHA1 Message Date
Michal Mrnuštík 383b0f5c3e
Replace status code with status code enum (#22116)
* Replace all hardcoded status codes with System.Net.HttpStatusCode

* Replace all StatusCodes references to HttpStatusCode

Co-authored-by: Michal Mrnuštík <michal.mrnustik@riganti.cz>
2021-04-23 10:14:47 -10:00
Rick Anderson 6689b69a6f
remove ReceiveBufferSize (#21170)
* remove ReceiveBufferSize

* remove ReceiveBufferSize
2021-01-08 19:15:12 -10:00
Rick Anderson 8937ba6eef
add using to sockets sample (#20301)
* add using to sockets sample

* Update aspnetcore/fundamentals/websockets/samples/2.x/WebSocketsSample/Startup2.cs

Co-authored-by: Brennan <brecon@microsoft.com>

Co-authored-by: Brennan <brecon@microsoft.com>
2020-10-26 11:10:40 -10:00
Tom Dykstra 04997431de
Fix AllowedOrigins snippet (#10353) 2019-01-12 13:33:16 -08:00
Hisham Bin Ateya d3b9269016 Use Microsoft.AspNetCore.App & CreateWebHostBuilder in web sockets sample (#8890)
* netcoreapp1.1 -> netcoreapp2.1

* Use Microsoft.AspNetCore.All meta package

* Use CreateWebHostBuilder

* Sample versioning

* Fix target framework

* Redo unnecessary changes

* Update packages version

* Implicit version for App package

* Fix the package name

* Versioning the code snippets

* WebSocketSample -> WebSocketsSample
2018-10-09 09:15:00 -10:00