I can't ever stop vewing this and knowing how much my dad loves me! He is such an amazing person and I'm stupid for thinking otherwise
@mustijack7 ай бұрын
Cool Thanks :)
@Kackowaty Жыл бұрын
Great, thanks
@jonathanwilson172 Жыл бұрын
I can never stop watching this. I know things are not great between us. I'm still always here.
@rafaelliendo68462 жыл бұрын
Can you create an example of sending a message from the application instead of using Postman?
@keithwilson42842 жыл бұрын
What language would you like it in? If it isn't in C# it could be in Java script.
@rafaelliendo68462 жыл бұрын
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
@jich91502 жыл бұрын
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
@keithwilson42842 жыл бұрын
I apologize Ji Ch, this tutorial is outdated and have not had the time to update it. I should probably take it down.
@vitor_corve2 жыл бұрын
Thank you!
@Mustaffa1362 жыл бұрын
Hey mate, great explanation. Could you upload a video on user specific notifications.
@dsuess3 жыл бұрын
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
@joseignaciomontesherraiz4013 жыл бұрын
Thanks a lot, Keith. This is exactly what I was looking for.
@aliaminimoghaddam64543 жыл бұрын
Greate
@dmccalldds3 жыл бұрын
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.
@keithwilson42843 жыл бұрын
I will check it out for you when I get some time. Thanks
@keithwilson42843 жыл бұрын
Try this link to help you out. github.com/dotnet/AspNetCore.Docs/tree/master/aspnetcore/signalr
@nrich47044 жыл бұрын
Great video but can't get it working at the 18:19 point. I've use .Net 5.0 Maybe I'll try Core 3.1. The 'import' in the code below is the only thing I can find that is different from your code. From chat.js "use strict"; import { signalR } from "./signalr/dist/browser/signalr"; var connection = new signalR.HubConnectionBuilder().withURL("/chatHub").build(); From Index.cshtml <script src="~/js/signalr/dist/browser/signalr.js"></script>
@keithwilson42844 жыл бұрын
It shouldn't have anything to do with your .net core version. What error are you having?
@nrich47044 жыл бұрын
@@keithwilson4284 Gee Keith thanks for the reply. The issue/problem: No send or receive of a message. (Don't know if a message is being sent.) Click 'Send Message' button and nothing happens with 2 browser instances open. Application state: The app opens in browsers and looks exactly like yours. Note: I have years of experience in VB and C# and WPF in VStudio. App goal: Trying to send data from user phones to WPF app. So I'm real interested in your SignalR WPF video. That's next after I get this working.
@keithwilson42844 жыл бұрын
@@nrich4704 github.com/starprog/SignalrWpfClient
@keithwilson42844 жыл бұрын
Hope that helps. I would convert it for you, but I have a deadline approaching soon and this client is not going to allow me to miss it. :)
@nrich47044 жыл бұрын
More info: In the VS Output window getting these 2 errors: Could not read source map for localhost:44358/js/signalr/dist/browser/signalr.js: Unexpected 404 response from 1. localhost:44358/js/signalr/dist/browser/signalr.js.map 2. Uncaught SyntaxError: Cannot use import statement outside a moduleThe thread 0x1920 has exited with code 0 (0x0). As mentioned above, this line is inserted automatically by VS in chat.js: import { signalR } from "./signalr/dist/browser/signalr"; ... when I type the line: var connection = new signalR.HubConnectionBuilder().withURL("/chatHub").build(); In your code signalR, in the line immediately above is colored blue. In my code it is not. To me this could mean I should be referencing a class signalR somewhere. Instead the code is doing an 'import {signalR } from ....' .
@nrich47044 жыл бұрын
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.
@keithwilson42844 жыл бұрын
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.
@vamsikrishnaduggirala70554 жыл бұрын
Thanks for the Video Keith, It really helped me with the basics.
@keithwilson42844 жыл бұрын
You are welcome, I hope to add more soon.
@egzonosmani82994 жыл бұрын
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
@keithwilson42844 жыл бұрын
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.
@i_fuk_religion4 жыл бұрын
I think yours is the only video that shows SignalR -> WPF connection
@keithwilson42844 жыл бұрын
Thank you Ankit Nagpal, it is people like you who will get me to share more of my knowledge. I appreciate the sentiment.
@i_fuk_religion4 жыл бұрын
@@keithwilson4284 My project has requirement to send real-time information from ASP.NET server to WPF Windows software and a Xamarin mobile app. I was exploring WCF and long polling, I guess SignalR is the way to go in my case?
@keithwilson42844 жыл бұрын
@@i_fuk_religion Absolutely, signalr sounds defiantly like what you need. Even though WCF was a great technology, however we only really use it now to connect applications on the same network, I have seen signalr used with WCF and understand they are different technologies. For internet and cloud solutions, we use REST and Signalr. Other technologies equivalent to Signalr is Firebase, Pusher, RabbitMQ, WebRTC, MQTT and SOCKET.IO.
@adhivenkatesh34314 жыл бұрын
Hi Keith , it was a nice explanation with SIGNAL -R , SIGNAL-R is only best for chats operation(request/response) or can we do CRUD WEBAPI operation on that ? can it will give good data transitions(using HUBS) better than normal http services? Please explain.
@keithwilson42844 жыл бұрын
It is best to keep your payload small, basically I will usually send a key via the response and just have the client then fetch the changes. So I communicate in each crud operation in the api to notify all connected clients of any changes. I will work on a tutorial to better explain it.
@adhivenkatesh34314 жыл бұрын
@@keithwilson4284 Thanks Keith hope that i will be notified for the further updates on this.
@lifeinloop4 жыл бұрын
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.
@keithwilson42844 жыл бұрын
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.
@keithwilson42844 жыл бұрын
If you need any additional help on set up, just shoot me an email [email protected]. 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.
@yoditori2164 жыл бұрын
hey man, for the client, why did you use the wpf .net framework instead of wpf .net core one?
@keithwilson42844 жыл бұрын
You can use .net core, but at the time of this recording I was still developing in .net framework.
@greenhood12554 жыл бұрын
Awesome video dad love you
@keithwilson42844 жыл бұрын
Thank you son.
@DL-gx5cr4 жыл бұрын
This is exactly what I'm looking for - thanks for sharing this!
@keithwilson42844 жыл бұрын
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!
@KMILIND4 жыл бұрын
dude did you yourself understand a word out of whatever you explained?
@keithwilson42844 жыл бұрын
Yes I actually did. LOL. However if you didn't I would be more than happy to help you with anything you like. I actually made that tutorial quite awhile ago. Just let me know.
@KMILIND4 жыл бұрын
@@keithwilson4284 i require help Please let me know how to contact you
@keithwilson42844 жыл бұрын
Email me at [email protected] and I will help you with whatever you need.
@osamamagdy82853 жыл бұрын
Imagine being toxic to person who wants to help you
@dgroh4 жыл бұрын
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...
@keithwilson42844 жыл бұрын
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.
@keithwilson42844 жыл бұрын
Daniel email me at [email protected] so we can figure this out, I am not seeing the same you are apparently
@rajeshatk68064 жыл бұрын
Great explanation sir. Thank you so much
@keithwilson42844 жыл бұрын
You are most welcome
@FloetschMaster4 жыл бұрын
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'.
@keithwilson42844 жыл бұрын
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.
@FloetschMaster4 жыл бұрын
well thats what im looking for.. where are the other parts? Thanks nice video!
@keithwilson42844 жыл бұрын
What other parts are you referring too, I would like to help if I can.
@FloetschMaster4 жыл бұрын
@@keithwilson4284i thought it was just the intro into the whole signalR setup you did! :D
@louisshanks39114 жыл бұрын
Hey Keith. great video. Question, have you tried connecting your WPF app to Azure SingalR service?
@keithwilson42844 жыл бұрын
No, I have not tried it.
@louisshanks39114 жыл бұрын
@@keithwilson4284 Cool thanks for the quick reply :-)
@clinicalassistant39414 жыл бұрын
Hi Excellent content. Some improvement Feedback: 1. Music is very distracting 2. Dark theme makes it difficult to follow cursor 3. A screen recorder with dynamic zoom makes the text more legible for viewers Content wise and presention : excellent!!
@keithwilson42844 жыл бұрын
Thank you for your feedback, I appreciate it, and fixing those issues in upcoming videos.
@karatekid5594 жыл бұрын
Hello Keith, great tutorial. Just what I was looking for. I do, however, have two questions: 1) why do we NOT await StartAsync()? 2) in the replay method we have while(true) loop, but what exactly does the true bool represent? In other words, while what is true? thanks for any response. Liked and subscribed
@keithwilson42844 жыл бұрын
1) you can await startasync() I just didn't in this tutorial. 2) the while true is just looped until you break out of it. I do not recommend in production however due to an infinite loop. I again only used in tutorial. I will try to do more real world examples when I complete this contract I am on. Should be back publishing more content in June.
@mrFwar4 жыл бұрын
Great Video! Very clearly explained! I'd agree that the music is a little loud and distracting.
@keithwilson42844 жыл бұрын
Thank you for your input. It is greatly appreciated.
@maazooo5 жыл бұрын
Great and detailed explanation Keith. Subscribed! If you could make a tutorial for SIgnalR being used by an Angular client, it would be greatly helpful as most of the tutorials out there are outdated. Thanks in advance!
@keithwilson42845 жыл бұрын
No Problem Maaz Syed, I will be more than happy to make one up for you. I love Angular. Thank you so much for your support. I will get better the more I practice these videos.
@keithwilson42844 жыл бұрын
Maaz buddy, I am sorry not doing an Angular video as promised, I got into a contract and made things a little difficult. I however will be returning around June to upload more content.
@maazooo4 жыл бұрын
@@keithwilson4284 Hey Keith, All good. I figured out a way to do it myself, nonetheless when you get a chance, will surely check that out as well. Thanks
@DataJuggler5 жыл бұрын
I credit you for doing a live stream. I have never had the courage. I need video editing to get rid of some of the me looking stupid. And more often than not 'Take 7'. If you don't mind the feedback, the music is a little loud (to me) and distracts from what you are saying. I know they say 'If it's too loud your too old', so its probably me.
@keithwilson42845 жыл бұрын
I do agree with you, and appreciate the feedback. I always strive to do better, and that really helps. As far as you doing a live stream, just go for it.
@DataJuggler5 жыл бұрын
@@keithwilson4284 Between the two of us, we will catch Joe Rogan on subscribers in only 35,000 years if he stops now.
@keithwilson42845 жыл бұрын
@@DataJuggler isn't that the truth, guys a beast.
@DeMoZyou5 жыл бұрын
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.
@keithwilson42845 жыл бұрын
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!
@DeMoZyou5 жыл бұрын
@@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.
@keithwilson42845 жыл бұрын
@@DeMoZyou signalr will do just that. You need any help just let me know.
@DeMoZyou5 жыл бұрын
@@keithwilson4284 if you make the video about sending messages between server and client aps using SignalR , that would be awesome!
@greenhood12555 жыл бұрын
Love you dad.
@navyatc895 жыл бұрын
Following this series!
@keithwilson42845 жыл бұрын
Thanks buddy, I will be posting more soon.
@jamieschultze63055 жыл бұрын
Great tutorial, can not wait for the next one.
@jamieschultze63055 жыл бұрын
Awesome Tutorial. Keep up the good work.
@keithwilson42844 жыл бұрын
Thank you.
@jamieschultze63055 жыл бұрын
Very interesting and informative.
@keithwilson42845 жыл бұрын
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.
@keithwilson42845 жыл бұрын
Thanks Keith, I appreciate that so freaking much and I will work on those things I promise.