Tutorial C# Wpf Application Connected to ASPNET Core Signalr

preview_player
Показать описание
In this tutorial, I show you how to connect a c# WPF application to an ASP .NET Web API with Signalr .NET Core.

Рекомендации по теме
Комментарии
Автор

Keith, your tutorial was so much more straightforward than Microsoft's. Thank you!
Still delivers the point w/ ASP.NET Core 5.0
My projects don't need a web interface, yet most of their examples want you to make one. This was great

dsuess
Автор

Thanks a lot, Keith. This is exactly what I was looking for.

joseignaciomontesherraiz
Автор

Thanks for the Video Keith, It really helped me with the basics.

vamsikrishnaduggirala
Автор

Well since clearly no one else is going to comment on this video, I will comment myself. Great video Keith, however you should do a little bit better job at explaining some things, everything you do in life can always be better. However I will promise I will not just view your videos and leave no comment even if I think it sucks.

keithwilson
Автор

This is exactly what I'm looking for - thanks for sharing this!

DL-gxcr
Автор

Awesome Tutorial. Keep up the good work.

jamieschultze
Автор

Very good video, It would be good to update it because there are some changes in libraries for NetCore that change some sentences for the routing and connection, but it is a very precise and good video, practical example

rafaelliendo
Автор

Hi, Keith, Great tutorial and subscribed. I clicked the button "Connect", it showed that a message of "An error occurred when sending your request." in ListBox, and NOT connected without any error. it seems hubconnection fails. Any way to fix it? Tks, JC

jich
Автор

Hey mate, great explanation. Could you upload a video on user specific notifications.

Mustaffa
Автор

Hi Keith. I'm following your explanation to make something similar in a .NET wpf application. But one thing that i don't understand, and maybe you can explain is... Why do i have to use the nuget package for .net Core, and not the one for .net framework to be able to initialize the variable _connection with a HubConnectionBuilder()? I'm not able to do it with the .net framework nuget package.

lifeinloop
Автор

Hey Keith. great video. Question, have you tried connecting your WPF app to Azure SingalR service?

louisshanks
Автор

Hello, Keith.
Very intresting tutorial.
I am new to server stuff. Could you please clarify how to run "Postman"?
You use it at the end of the video.

DeMoZyou
Автор

hey man, for the client, why did you use the wpf .net framework instead of wpf .net core one?

yoditori
Автор

Thanks for posting this video, Keith. You are right about the dearth of SignalR videos for WPF. I followed along and have a slew of errors:

WpfApp1:MainWindow.xaml.cs: 'HubConnectionBuilder' does not contain a definition of 'WithURL'...

SignalRTestServer:Startup.cs: The name 'Signalapp' does not exist in the current context

The type or namespace name 'SignalrServer' could not be found:
The type or namespace name 'TestHub' could not be found:
The type or namespace name 'TestHub' could not be found:

How can I fix these? I looked at my using statements and I don't see any difference between mine and yours.

dmccalldds
Автор

Great explanation, you solved my issue, was not able to make working .NET Core Backend (2.2 with visual studio 2017, as in your video) with a WPF Client (.NET Framework), simply due to the library used in the client which was rahter than "Microsoft.AspNetCore.SingnalR.Client", this naming convention was a bit misleading for me, as the second one was intended only for .NET Core. Thanks

egzonosmani
Автор

Can you create an example of sending a message from the application instead of using Postman?

rafaelliendo
Автор

Create video! Thanks for that.

This works locally fine. Unfortunately when publishing the API on IIS the WPF App doesn't get hit. Any idea? I also don't get any exception...

dgroh
Автор

it says ... Using 'UseMvc' to configure MVC is not supported while using Endpoint Routing. To continue using 'UseMvc', please set = false' inside 'ConfigureServices'.

FloetschMaster
Автор

well thats what im looking for.. where are the other parts? Thanks nice video!

FloetschMaster
welcome to shbcf.ru