Commit Graph

10 Commits (687474b31c6cd67e093db193f2203bdda8536c91)

Author SHA1 Message Date
Brennan 6f953d5085
Update WebSocket doc (#27565) 2022-11-11 11:04:49 -08:00
Wade Pickett 61d48b225d
.NET 7 Preview 7 update: WebSockets support in ASP.NET Core (#26768)
* .NET 7 Preview 7 update: WebSockets support in ASP.NET Core

* Moved sample HTTP:/2 info

* Fix typos

* Apply suggestions from code review

Added review suggestions from tdykstra.

Co-authored-by: Tom Dykstra <tdykstra@microsoft.com>

* Update aspnetcore/fundamentals/websockets.md

Co-authored-by: Tom Dykstra <tdykstra@microsoft.com>

* Added 7.0 sample version with custom httpconnect attribute to allow websocket on http/2

* Added missing new line end of HttpConnectAttribute.cs

* Added section on HTTP/2 WebSocket support for existing controllers plus code snippet regions

* Fixing Note formatting

* Fix Note link

* Added 7.x to code snippet paths

* Fixed code links.

* fixed code highlight

* Updated legacy code links

* Updated internal link

* Resolving anchor issue

* trying again to solve anchor issue

* Anchor fix.

* fix

* fix

* fix

* Fixed HTTPConnect, now HttpConnect.

* Moved HttpGet and HttpConnect to same controller action example

* Clarified [HttpConnect] attribute is custom as opposed to built in.

* Apply suggestions from code review

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

* Added public sealed to custom attribute class per review

* Adding feedback suggestions.

* update per review suggestions support for http/2

* Changed run to Ctrl+F5 without debugger.

Co-authored-by: Tom Dykstra <tdykstra@microsoft.com>
Co-authored-by: Brennan <brecon@microsoft.com>
2022-09-05 18:32:36 -07:00
Kirk Larkin 5bb88a60d8
Update WebSockets to 6.0 (#25029) 2022-02-15 18:11:04 +00:00
Kirk Larkin 92a2059d72
Prepare WebSockets for 6.0 (#25025) 2022-02-15 14:36:44 +00:00
Fiyaz Bin Hasan b06acfb78c
ws in controller sample (#22760)
* ws in controller sample

* Update WebSocketController.cs

* Update aspnetcore/fundamentals/websockets.md

* Update WebSocketController.cs

* Update WebSocketController.cs

* Update aspnetcore/fundamentals/websockets.md

* Update aspnetcore/fundamentals/websockets.md

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

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
Co-authored-by: Brennan <brecon@microsoft.com>
2021-07-29 13:13:03 -07:00
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