SignalR on ASP.NET Core Made Easy (The Course)
$19.00
Minimum price
$30.00
Suggested price

Course Info

This course includes 1 attempt.

Are you a web developer or do you write IoT software? If so, you would know that many web and IoT development projects these days require the ability to establish a persistent connection between a client and a server without having to keep sending repeated requests from the client. As you may also know, such functionality may be hard to implement.

However, if you can build your server-side application on ASP.NET Core, there is a way to make this whole process easy. There is a library called SignalR. This is what I'm going to talk about in this course. As well as doing all the heavy lifting for you, the library abstracts away all complex implementation details, so your code can be made extremely simple.

However, as you would already know, nothing in programming is simple in absolute terms. Programming is a complex activity, so even those concepts that are relatively simple require some practice and studying.

This is why I've created this course. By the end of it, you should be able to build a web application that clients will be able to establish a persistent connection with and exchange the data with in real time.

This course provides code samples based on .NET 6 project templates. However, it also explains how to implement the equivalent functionality for those developers who are still using old-style .NET 5 project templates. So, by end of this course, you will have learned both how to use SignalR in new applications and how to retrofit it in your legacy code.

Share

Categories

  • Computers and Programming
  • .NET
  • ASP.NET
  • C#
  • APIs

Course Material

  • Section 1: Introduction
  • Introduction to the course
  • SignalR transport mechanisms
  • Setting up your environment
  • Setting up your solution
  • Solution overview
  • icon/quiz Created with Sketch.
    Test yourself1 attempt allowed
  • Section 2: SignalR Hub
  • SignalR Hub overview
  • Example of SignalR Hub
  • SignalR Hub explained
  • An example of a strongly-typed SignalR Hub
  • Strongly-typed SignalR Hub explained
  • Further reading
  • icon/quiz Created with Sketch.
    Test yourself1 attempt allowed
  • Section 3: SignalR clients
  • Introducing SignalR clients
  • Setting up a JavaScript client
  • Example of JavaScrip client
  • JavaScrip client explained
  • Setting up a .NET client
  • .NET client example
  • .NET client explained
  • Setting up a Blazor WebAssembly client
  • Blazor WebAssembly client example
  • Setting up a raw WebSocket client
  • Raw WebSocket client example
  • WebSocket client explained
  • Further Reading
  • icon/quiz Created with Sketch.
    Test yourself1 attempt allowed
  • Section 4: Securing SignalR applications
  • Introducing SignalR security
  • Example of CORS configuration
  • Setting up SignalR authentication
  • Example of Identity authentication
  • Identity authentication explained
  • User authentication example
  • User authentication explained
  • Enabling messaging individual users
  • Messaging individual users
  • Further reading
  • icon/quiz Created with Sketch.
    Test yourself1 attempt allowed
  • Section 5: Scaling SignalR server
  • Why would you need to scale SignalR server
  • Introducing Redis cache
  • Setting up Redis
  • Connecting SignalR Hub to Redis
  • Multiple Hub instances
  • Examle of Hub Context
  • Hub Context explained
  • Setting up Azure SignalR Service
  • Azure SignalR Service dependencies
  • Connecting application to the SignalR Service
  • Azure SignalR HTTP client explained
  • Further reading
  • icon/quiz Created with Sketch.
    Test yourself1 attempt allowed
  • Section 6: SignalR streaming
  • Introducing SignalR streaming
  • Client streaming example
  • Client streaming explained
  • Server streaming example
  • Server streaming explained
  • Further reading
  • icon/quiz Created with Sketch.
    Test yourself1 attempt allowed
  • Section 7: Conclusion
  • Wrapping up
  • Keeping in touch

Instructors

    • I am a Microsoft MVP and a lead/senior software engineer with over a decade of professional experience. I primarily specialize in .NET and Microsoft stack. I am enthusiastic about creating well-crafted software that fully meets business needs.

      Throughout my career, I have successfully developed software of various types and various levels of complexity in multiple industries. This includes a passenger information management system for a railway, distributed smart clusters of IoT devices, e-commerce systems, financial transaction processing systems, and more. I have also successfully led and mentored teams of software developers.

      I enjoy sharing my knowledge with the community. This motivates me to mentor aspiring developers and create educational content, which includes blog posts, technical books, and online courses. My books include "SignalR on .NET 6 - the complete guide", "The battle hardened developer", and "The easiest way to learn design patterns". I regularly write about software development on my personal website, scientificprogrammer.net.

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

80% Royalties. Earn $16 on a $20 book.

We pay 80% royalties. That's not a typo: you earn $16 on a $20 sale. If we sell 5000 non-refunded copies of your book or course for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earnedover $13 millionwriting, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub