EPiServer and SignalR

Vote:
 

Hello

I tried following this guide:

http://world.episerver.com/documentation/Items/Developers-Guide/EPiServer-CMS/75/Configuration/Configuring-NET-SignalR/

But when I got to the part where it said I should install Content Collaboration and Live Monitor add-ons, I could not find them in my EPiServer-interface under Add-ons. They're simply not listed, and not under beta either.

So I instead I decided to add an OWIN Startup class, because I really don't need the add-ons, I just want SignalR to work.

But unfortunately for me, this does not work either:

http://world.episerver.com/documentation/Items/Upgrading/EPiServer-CMS/75/EPiServer-and-OWIN/

The startup class does not fire.

I also installed the Microsoft.Owin.Host.SystemWeb package in case that was the issue.

Here are my assemblt bindings:
















Also added this:

   

But to no avail.

Some code:

[assembly: OwinStartup(typeof(EPiServerSite1.Startup))]
namespace EPiServerSite1{

    public class Startup    {

        public void Configuration(IAppBuilder app)

        {

            app.MapSignalR();       

}   

}

}

Does anybody know why I can't get OWIN and SignalR up and running?

Latest EPiServer installation (Alloy MVC) under VS2015.

#132671
Aug 17, 2015 10:31
Vote:
 

Try to follow this:

http://www.asp.net/signalr/overview/getting-started/tutorial-getting-started-with-signalr-and-mvc

You must install the signalR nuget package and that package might give you a startup file.

Also, dubbel check that you are using framework 4.5 or higher, otherwise it will not work

#132674
Aug 17, 2015 12:37
Vote:
 

Yes, I have done all of this, as mentioned in my first post. The SignalR-nuget package is indeed installed and SignalR is running fine under non-EPiServer solutions. The Startup class in my first post does not fire.

#132676
Aug 17, 2015 13:00
Vote:
 

To answer my own question: Clearing out the ASP.NET Temporary Files made the problem go away ;)

Thanks Henrik :)

-Emil

#132678
Aug 17, 2015 13:21
Vote:
 

Nice that you got it to work!

#132700
Aug 17, 2015 16:15
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.