вторник, 19 сентября 2023 г.

Repo, Github, AspNet, Git

D:\VC\AspNetGit\SignalR-samples

https://github.com/aspnet/SignalR-samples

.NET Generic Host , ASP.NET Core, WPF

https://learn.microsoft.com/ru-ru/aspnet/core/fundamentals/host/generic-host?view=aspnetcore-7.0&viewFallbackFrom=aspnetcore-3.0

Console

https://learn.microsoft.com/ru-ru/dotnet/core/extensions/generic-host

https://learn.microsoft.com/en-us/dotnet/core/extensions/generic-host

.Net in Container

https://learn.microsoft.com/ru-ru/aspnet/core/fundamentals/host/generic-host?view=aspnetcore-7.0&viewFallbackFrom=aspnetcore-3.0

https://learn.microsoft.com/en-us/aspnet/core/fundamentals/host/generic-host?view=aspnetcore-7.0&viewFallbackFrom=aspnetcore-3.0

https://github.com/dotnet/runtime/blob/main/src/libraries/Microsoft.Extensions.Hosting/src/Host.cs

https://laurentkempe.com/2019/09/03/WPF-and-dotnet-Generic-Host-with-dotnet-Core-3-0/

https://github.com/dotnet/wpf/issues/499

https://github.com/laurentkempe/WpfGenericHost

D:\VC\AspNetGit\WpfGenericHost

Project

D:\VC\AspNetCore\WpfInAspHost\WebWpfHostInAsp\WpfGenericHost\

WebSocket, Example, Asp

https://learn.microsoft.com/en-us/aspnet/core/fundamentals/websockets?view=aspnetcore-7.0#sample-app

Example

https://github.com/dotnet/AspNetCore.Docs/tree/main/aspnetcore/fundamentals/websockets/samples

понедельник, 18 сентября 2023 г.

Start Wpf Window from Asp.Net core

https://stackoverflow.com/questions/5762040/launch-wpf-from-asp-net-page-button-click

https://stackoverflow.com/questions/58163402/windows-service-does-not-start-wpf-application

https://stackoverflow.com/questions/5762040/launch-wpf-from-asp-net-page-button-click

https://stackoverflow.com/questions/75697310/host-an-asp-net-core-6-razor-pages-app-within-a-wpf-desktop-application

https://stackoverflow.com/questions/46879771/how-do-i-communicate-between-a-wpf-and-asp-net-application

Asp.Net, WebSocket, Http2, Support

https://learn.microsoft.com/en-us/aspnet/core/fundamentals/websockets?view=aspnetcore-7.0

Http/2 WebSockets support

Using WebSockets over HTTP/2 takes advantage of new features such as:

  • Header compression.
  • Multiplexing, which reduces the time and resources needed when making multiple requests to the server.

These supported features are available in Kestrel on all HTTP/2 enabled platforms. The version negotiation is automatic in browsers and Kestrel, so no new APIs are needed.

.NET 7 introduced Websockets over HTTP/2 support for Kestrel, the SignalR JavaScript client, and SignalR with Blazor WebAssembly.

 Note

HTTP/2 WebSockets use CONNECT requests rather than GET, so your own routes and controllers may need updating. For more information, see Add HTTP/2 WebSockets support for existing controllers in this article.

Chrome and Edge have HTTP/2 WebSockets enabled by default, and you can enable it in FireFox on the about:config page with the network.http.spdy.websockets flag.

https://learn.microsoft.com/en-us/aspnet/core/fundamentals/websockets?view=aspnetcore-7.0#add-http2-websockets-support-for-existing-controllers

Samples

https://github.com/dotnet/AspNetCore.Docs/tree/main/aspnetcore/fundamentals/websockets/samples

Samples How 

https://learn.microsoft.com/en-us/aspnet/core/introduction-to-aspnet-core?view=aspnetcore-7.0#how-to-download-a-sample

WebSockets

https://learn.microsoft.com/en-us/aspnet/core/fundamentals/websockets?view=aspnetcore-7.0#sample-app


MiddleWare, Asp.Net

https://metanit.com/sharp/aspnet5/2.4.php

https://learn.microsoft.com/en-us/aspnet/core/fundamentals/middleware/?view=aspnetcore-7.0