Learn Asp .Net SignalR From Scratch

Understanding the basics of real-time web with chat app and a simple game using asp.net SignalR
3.6 (23 ratings) Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
275 students enrolled
$19
$50
62% off
Take This Course
  • Lectures 21
  • Length 2 hours
  • Skill Level All Levels
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

About This Course

Published 6/2015 English

Course Description

Problem

I hope you might have got fed up of refreshing the whole page to get the updated data. i.e., sending a request to the server always to check updates by working on client - server request pattern by making ajax call. Right! Don't worry here you have the solution.

Solution

Here you will learn something interesting i.e., clients need not to do anything to get the update from the server just they need to be in connection with the server and server will push the updates to all the clients which are in connection. This is also called as push technology or reverse ajax. Best example of this is chat application.

Have you ever wondered how Google chat, Skype chat, Yahoo chat, Facebook chat, whatsApp chat, etc., work?

Yes, At the end of this course you will learn a new Asp .Net SignalR technology by creating a simple chat application and then slowly you will dive into the subject and understand the internals of Asp. Net SignalR by creating group chat, working on various events and broadcasting some messages to all web clients. Finally you will end up with an interesting web based real time game to demonstrate that SignalR is not all about chat application.

Add a new skill set to your profile today i.e., Asp. Net SignalR

  • Getting Started With SignalR
  • Basics Of SignalR
  • Creating Chat Application
  • Exploring The Class Hub And Group Chat
  • Broadcasting and Gaming

Here is a brief description of SignalR.

What is SignalR?

ASP .NET SignalR is a library for ASP .NET developers that simplifies the process of adding real-time web functionality to applications. Real-time web functionality is the ability to have server code push content to connected clients instantly as it becomes available, rather than having the server wait for a client to request new data.

SignalR can be used to add any sort of "real-time" web functionality to your ASP .NET application. While chat is often used as an example, you can do a whole lot more. Any time a user refreshes a web page to see new data, or the page implements long polling to retrieve new data, it is a candidate for using SignalR. Examples include dashboards and monitoring applications, collaborative applications (such as simultaneous editing of documents), job progress updates, and real-time forms.

SignalR also enables completely new types of web applications that require high frequency updates from the server, for example, real-time gaming.

SignalR provides a simple API for creating server-to-client remote procedure calls (RPC) that call JavaScript functions in client browsers (and other client platforms) from server-side .NET code. SignalR also includes API for connection management (for instance, connect and disconnect events), and grouping connections.

What are the requirements?

  • VS2010 or Higher
  • C# Programming Language

What am I going to get from this course?

  • Understand what Asp.Net SignalR is
  • Create Real Time Web Chat Application
  • Create Real Time Simple Game
  • Understand what real time web app means

What is the target audience?

  • Asp.Net Web Developer
  • Any student with good understanding of Asp.Net web development

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.

Curriculum

Section 1: Getting Started
Installing SignalR On VS2013
Preview
03:41
Installing SignalR on VS2010
Preview
03:03
Installing JSON2 on VS2010
Preview
01:18
Section 2: Basics Of SignalR
Chat App Overview
Preview
03:28
Creating An Hub
Preview
02:31
Connecting To Hub
Preview
05:45
Creating A Server Method And Calling From Client
03:59
Passing Parameters To Server Method From Client
05:02
Creating A Client Method And Calling From Server
05:12
Section 3: Creating Chat Application
Creating A Chat Application 1 of 2
06:54
Creating A Chat Application 2 of 2
10:23
Section 4: Exploring The Class Hub And Group Chat
OnConnected And OnDisconnected Method
04:51
ContextObject And JSON Serialization
13:09
Clients - Object Of Hub
03:43
Clients Object's Methods
05:07
Add Or Remove Connection From Groups
04:55
Sending Messages To Different Groups
07:18
Round Triping State
04:51
Section 5: Broadcasting and Gaming
Broadcasting From Out Side The Hub
10:36
Simple Game using SignalR
Preview
03:57
Source Code
Article

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Microsoft Certified Trainer Mohammed Manzoor Ahmed, Udemy Best Seller, Students:36K+, Courses:10, Reviews:1.4k+

Manzoor is a Microsoft Certified Trainer who has been working on MS .Net technologies for more than a decade. Apart from development he is also passionate about delivering training on various MS .Net technologies and he has 10+ years of experience as a software development teacher. He writes articles for code-project as well. His YouTube channel has 1 million hits. He is the founder of ManzoorTheTrainer portal.

"I focus on simplifying, complex concepts..." - ManzoorTheTrainer

Ready to start learning?
Take This Course