Tutorial C# Wpf Application Connected to ASPNET Core Signalr

  Рет қаралды 7,841

Keith Wilson

Keith Wilson

Күн бұрын

Пікірлер: 51
@dsuess
@dsuess 3 жыл бұрын
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
@nrich4704
@nrich4704 4 жыл бұрын
I've been working on updating a WPF app from a phone app for some time. I've been thru WCF, gRPC, Soap, Rest and finally to SignalR. I watched your video on SignalR which was very good. At the end of it you mentioned WPF. Needless to say this video is exactly what I've been in search of (for about a month)! Combining this video and your SignalR video should lead to a happy ending. Thanks.
@keithwilson4284
@keithwilson4284 4 жыл бұрын
If you need any help with anything at all I am open to any communication you like and all absolutely free of charge. I appreciate your support.
@vamsikrishnaduggirala7055
@vamsikrishnaduggirala7055 4 жыл бұрын
Thanks for the Video Keith, It really helped me with the basics.
@keithwilson4284
@keithwilson4284 4 жыл бұрын
You are welcome, I hope to add more soon.
@joseignaciomontesherraiz401
@joseignaciomontesherraiz401 3 жыл бұрын
Thanks a lot, Keith. This is exactly what I was looking for.
@jamieschultze6305
@jamieschultze6305 5 жыл бұрын
Awesome Tutorial. Keep up the good work.
@keithwilson4284
@keithwilson4284 5 жыл бұрын
Thank you.
@DL-gx5cr
@DL-gx5cr 4 жыл бұрын
This is exactly what I'm looking for - thanks for sharing this!
@keithwilson4284
@keithwilson4284 4 жыл бұрын
Glad to be of help, I do plan on posting more in the near future, just been busy on a contract, however if you do need anything specific, be sure to let me know and I will try to help as best I can. Thank you!
@keithwilson4284
@keithwilson4284 5 жыл бұрын
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.
@keithwilson4284
@keithwilson4284 5 жыл бұрын
Thanks Keith, I appreciate that so freaking much and I will work on those things I promise.
@rafaelliendo6846
@rafaelliendo6846 2 жыл бұрын
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
@Mustaffa136
@Mustaffa136 3 жыл бұрын
Hey mate, great explanation. Could you upload a video on user specific notifications.
@vitor_corve
@vitor_corve 2 жыл бұрын
Thank you!
@jich9150
@jich9150 2 жыл бұрын
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
@keithwilson4284
@keithwilson4284 2 жыл бұрын
I apologize Ji Ch, this tutorial is outdated and have not had the time to update it. I should probably take it down.
@lifeinloop
@lifeinloop 4 жыл бұрын
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.
@keithwilson4284
@keithwilson4284 4 жыл бұрын
The asp.net uses .net core, .net signalr and .net core signalr are not compatible. You are better off going with .net core for both server and client, however in this tutorial I wanted to show that it is possible to use .net core libraries in a standard .net application.
@keithwilson4284
@keithwilson4284 4 жыл бұрын
If you need any additional help on set up, just shoot me an email wilsonk70@gmail.com. I am currently working on a large project that seems to keep getting larger, but I will help out the best I can. I plan to do more tutorials in the near future as soon as I finish with this client.
@louisshanks3911
@louisshanks3911 4 жыл бұрын
Hey Keith. great video. Question, have you tried connecting your WPF app to Azure SingalR service?
@keithwilson4284
@keithwilson4284 4 жыл бұрын
No, I have not tried it.
@louisshanks3911
@louisshanks3911 4 жыл бұрын
@@keithwilson4284 Cool thanks for the quick reply :-)
@DeMoZyou
@DeMoZyou 5 жыл бұрын
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.
@keithwilson4284
@keithwilson4284 5 жыл бұрын
Thank you Roman Kolychev, you can download postman from getpostman.com. I use the desktop version, however they do have an online version also. I use postman for all my api development, it allows you to send requests to your api's without creating a client side application or writing a lot of test code. If you have any more questions, feel free to shoot them my way, or let me know what you would like to see in a tutorial. I have been meaning to record more tutorials, and hopefully I will get better. I have seen where I have made a lot of mistakes. I too am always learning new things. Thanks again!
@DeMoZyou
@DeMoZyou 5 жыл бұрын
@@keithwilson4284 Thank you for reply. I i want kind of framework to comunicate between server app and client apps and thought SignalR should help me.
@keithwilson4284
@keithwilson4284 5 жыл бұрын
@@DeMoZyou signalr will do just that. You need any help just let me know.
@DeMoZyou
@DeMoZyou 5 жыл бұрын
@@keithwilson4284 if you make the video about sending messages between server and client aps using SignalR , that would be awesome!
@yoditori216
@yoditori216 4 жыл бұрын
hey man, for the client, why did you use the wpf .net framework instead of wpf .net core one?
@keithwilson4284
@keithwilson4284 4 жыл бұрын
You can use .net core, but at the time of this recording I was still developing in .net framework.
@Kackowaty
@Kackowaty Жыл бұрын
Great, thanks
@egzonosmani8299
@egzonosmani8299 4 жыл бұрын
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 "Microsoft.AspNet.SingnalR.Client" 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
@keithwilson4284
@keithwilson4284 4 жыл бұрын
You can use both, I used it in the tutorial only as a use case, .net core is just as easy to set up, and I plan to release another video using all .net core. For wpf apps, the use of .net core is limited due to wpf not running on any other platform except with xamarin at the time. I am here to help any way I can.
@dmccalldds
@dmccalldds 4 жыл бұрын
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 SignalRTestServer:ValuesController.cs: The type or namespace name 'SignalrServer' could not be found: SignalRTestServer:ValuesController.cs: The type or namespace name 'TestHub' could not be found: SignalRTestServer:ValuesController.cs: 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.
@keithwilson4284
@keithwilson4284 4 жыл бұрын
I will check it out for you when I get some time. Thanks
@keithwilson4284
@keithwilson4284 4 жыл бұрын
Try this link to help you out. github.com/dotnet/AspNetCore.Docs/tree/master/aspnetcore/signalr
@rafaelliendo6846
@rafaelliendo6846 2 жыл бұрын
Can you create an example of sending a message from the application instead of using Postman?
@keithwilson4284
@keithwilson4284 2 жыл бұрын
What language would you like it in? If it isn't in C# it could be in Java script.
@dgroh
@dgroh 4 жыл бұрын
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...
@keithwilson4284
@keithwilson4284 4 жыл бұрын
Daniel I will check that out for you. If you need help working it out, I will be more than happy. Thanks for the reply.
@keithwilson4284
@keithwilson4284 4 жыл бұрын
Daniel email me at wilsonk70@gmail.com so we can figure this out, I am not seeing the same you are apparently
@mustijack
@mustijack 8 ай бұрын
Cool Thanks :)
@FloetschMaster
@FloetschMaster 4 жыл бұрын
it says ... Using 'UseMvc' to configure MVC is not supported while using Endpoint Routing. To continue using 'UseMvc', please set 'MvcOptions.EnableEndpointRouting = false' inside 'ConfigureServices'.
@keithwilson4284
@keithwilson4284 4 жыл бұрын
Flow Wolf, thanks a million for that. I really appreciate your contribution. I am on contract currently, but if I can help in any way, just shoot me an email or continue on here.
@FloetschMaster
@FloetschMaster 4 жыл бұрын
well thats what im looking for.. where are the other parts? Thanks nice video!
@keithwilson4284
@keithwilson4284 4 жыл бұрын
What other parts are you referring too, I would like to help if I can.
@FloetschMaster
@FloetschMaster 4 жыл бұрын
@@keithwilson4284i thought it was just the intro into the whole signalR setup you did! :D
GIANT Gummy Worm #shorts
0:42
Mr DegrEE
Рет қаралды 152 МЛН
She wanted to set me up #shorts by Tsuriki Show
0:56
Tsuriki Show
Рет қаралды 8 МЛН
Their Boat Engine Fell Off
0:13
Newsflare
Рет қаралды 15 МЛН
Building Real-Time Applications With SignalR & .NET 7
12:22
Milan Jovanović
Рет қаралды 100 М.
ASP.NET Core SignalR - WebSockets Deep Dive
17:15
Raw Coding
Рет қаралды 22 М.
Create Your Own Chat App: SignalR Mastery in C# & ASP.NET
24:02
Nick Proud
Рет қаралды 41 М.
What's New in SignalR with .NET Core 3.0?
29:36
Microsoft Visual Studio
Рет қаралды 27 М.
Signalr using .net Core 3.0
33:40
Keith Wilson
Рет қаралды 2,9 М.
Real-time web applications with ASP.NET Core SignalR
29:44
Microsoft Developer
Рет қаралды 100 М.
Check For No Internet | C# WPF UI Tutorials: 45
25:08
AngelSix
Рет қаралды 18 М.
Chat application using ASP.NET Core with signalR
29:16
Dot Net
Рет қаралды 61 М.
GIANT Gummy Worm #shorts
0:42
Mr DegrEE
Рет қаралды 152 МЛН