Real Time chat application using SingalR, ASP.Net MVC and Angular JS

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 dis

C# (1.4 MB)
2.8 Star
5,734 times
Add to favorites
E-mail Twitter Digg Facebook
Sign in to ask a question

  • unable to run the code
    1 Posts | Last post May 31, 2018
    • getting error after clicking on chat button : 'An error occurred accessing the database. This usually means that the connection to the database failed. Check that the connection string is correct and that the appropriate DbContext constructor is being used to specify it or find it in the application's config file. See for information on DbContext and connections. See the inner exception for details of the failure.'
  • Sender and Reciver in the same left or right hand side
    2 Posts | Last post April 19, 2017
    • Hi,
        While enabling the chat application, The sender and receiver messages are displayed in the same left hand side... Pls help to the change the direction of the sender and receiver so that it vl be left and right respectively
    • Hey, you can do this using css - style :)
  • Unable to load one or more of the requested types
    2 Posts | Last post March 19, 2017
    • Hi _Shared,
      I'm getting this error "Additional information: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information." 
      This line of code is throwing error 
       var engine = new PrecompiledMvcEngine(typeof(RazorGeneratorMvcStart).Assembly) {
                      UsePhysicalViewsIfNewer = HttpContext.Current.Request.IsLocal
      How could I resolve this?
    • Hi,
      This error is related with your mvc/ mvc-razor dll not loading.
      please follow this link
  • Error when runing Real Time chat application using SingalR, ASP.Net MVC and Angular JS
    4 Posts | Last post January 26, 2017
    • Hi, I downloaded "Real Time chat application using SingalR, ASP.Net MVC and Angular JS" Project from
      But, I cant run it.An errors occurs "The model backing the 'ApplicationDbContext' context has changed since the database was created. Consider using Code First Migrations to update the database ("
      I enable Migrations, but error still occurs. Show me Step by Step to run this Project. Thanks.
    • Hey, sorry for delay I just got your message today only..
      I don't think you need to do any thing to run this project. you only need to download the code, nuget will download all the dependent libraries, then you need to register an user..It will automatically create database. 
      Let me know if you still facing any issue.
      for the error you mentioned.. it might be due to differences between migration files and your database (_migration entries).
      If you are facing issue with code-first approach you can ask related queries here. I'll try to help you.
    • I just tried to build and run the code I shared, It worked fine for me without modifying any thing. Can you try after change 'database' name in your web config file.
      Also once the project is up and running you need to register users and try them from different browser/ in-cognitive  window(chrome) for testing. 
    • Hi there, you have to ignore the script and generate a migration, because with the manual script the app don't put the migration info with the dll on iis, so... 
      Ignore the SQL
      and be happy (y)