I created asp.net mvc 5 application (call it "WebServices"), then i add my Hubs in a folder called "Hubs".
Now what happened is that SignalR (2.0.2) generate JavaScript proxies for hubs in environment:
1-in local machine.
2-when i publish to azure web role.
Now when i publish to azure website (.NET is 4.5 and websocket is opened),it didn't generate proxies.
Now i tried to add hubs to App\_Code folder ,and it generate proxies ,but the build action of the hub classes are "Content",when i change it to Compile it raised this exception :

> 
> Two Hubs must not share the same name. 'Webservices.App\_Code.MyHub1,
>  App\_Code.c9aucf2j, Version=0.0.0.0, Culture=neutral,
>  PublicKeyToken=null' and 'Webservices.App\_Code.MyHub1, Webservices,
>  Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' both share the
>  name 'MyHub1'.
> 
> 
> 

Thanx