Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Essentials for Chat Application using SignalR in MVC

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 334
    Comment on it

    SignalR is a new library for .Net developers for creating real time web functionality, can also be defined as asynchronous signalling library. SignalR provides two way communication between client and server. SignalR can be used for creating real time chat functionality in no time.

    We will create a simple chat application in this as well as series of blogs.

    Starting with getting signalR sdk.

    1. It is available in Nuget packages and can be installed via "Manage NuGet Package".

    2. After installing SignalR create "signalr/hubs" folder in your solution.

    3. In your startup.cs add: "app.MapSignalR();"

    4. In your services folder create a class -> ChatHub that inherits Hub class.

    In above 4 steps we have created folder structure and essentials for using SignalR for our chat application.

    In the next blog we will write code and see our first chat application running.

     

    Happy Coding....

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: