├── LICENSE
├── README.md
├── SignalR in a Flash
└── SignalRFlash
│ ├── SignalRFlash.Web
│ ├── Views
│ │ ├── _ViewStart.cshtml
│ │ ├── Home
│ │ │ ├── About.cshtml
│ │ │ ├── Contact.cshtml
│ │ │ └── Index.cshtml
│ │ ├── Shared
│ │ │ ├── Error.cshtml
│ │ │ └── _Layout.cshtml
│ │ └── Web.config
│ ├── Global.asax
│ ├── favicon.ico
│ ├── Scripts
│ │ ├── _references.js
│ │ ├── respond.min.js
│ │ ├── respond.js
│ │ ├── bootstrap.min.js
│ │ ├── jquery.signalR-2.0.0.min.js
│ │ └── modernizr-2.6.2.js
│ ├── fonts
│ │ ├── glyphicons-halflings-regular.eot
│ │ ├── glyphicons-halflings-regular.ttf
│ │ └── glyphicons-halflings-regular.woff
│ ├── ToDo.txt
│ ├── App_Start
│ │ ├── FilterConfig.cs
│ │ ├── RouteConfig.cs
│ │ └── BundleConfig.cs
│ ├── Hubs
│ │ └── ChatHub.cs
│ ├── Global.asax.cs
│ ├── Controllers
│ │ └── HomeController.cs
│ ├── js
│ │ └── app.js
│ ├── Content
│ │ └── Site.css
│ ├── Startup.cs
│ ├── Properties
│ │ ├── PublishProfiles
│ │ │ └── wnSignalRScalingA.pubxml
│ │ └── AssemblyInfo.cs
│ ├── Web.Debug.config
│ ├── Web.Release.config
│ ├── packages.config
│ ├── Project_Readme.html
│ ├── Web.config
│ └── SignalRFlash.Web.csproj
│ └── SignalRFlash.sln
└── .gitignore
/LICENSE:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | WN_SignalRScaling
2 | =================
3 |
--------------------------------------------------------------------------------
/SignalR in a Flash/SignalRFlash/SignalRFlash.Web/Views/_ViewStart.cshtml:
--------------------------------------------------------------------------------
1 | @{
2 | Layout = "~/Views/Shared/_Layout.cshtml";
3 | }
4 |
--------------------------------------------------------------------------------
/SignalR in a Flash/SignalRFlash/SignalRFlash.Web/Global.asax:
--------------------------------------------------------------------------------
1 | <%@ Application Codebehind="Global.asax.cs" Inherits="SignalRFlash.Web.MvcApplication" Language="C#" %>
2 |
--------------------------------------------------------------------------------
/SignalR in a Flash/SignalRFlash/SignalRFlash.Web/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/1kevgriff/WN_SignalRScaling/master/SignalR in a Flash/SignalRFlash/SignalRFlash.Web/favicon.ico
--------------------------------------------------------------------------------
/SignalR in a Flash/SignalRFlash/SignalRFlash.Web/Scripts/_references.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/1kevgriff/WN_SignalRScaling/master/SignalR in a Flash/SignalRFlash/SignalRFlash.Web/Scripts/_references.js
--------------------------------------------------------------------------------
/SignalR in a Flash/SignalRFlash/SignalRFlash.Web/Views/Home/About.cshtml:
--------------------------------------------------------------------------------
1 | @{
2 | ViewBag.Title = "About";
3 | }
4 |
Use this area to provide additional information.
8 |
--------------------------------------------------------------------------------
/SignalR in a Flash/SignalRFlash/SignalRFlash.Web/fonts/glyphicons-halflings-regular.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/1kevgriff/WN_SignalRScaling/master/SignalR in a Flash/SignalRFlash/SignalRFlash.Web/fonts/glyphicons-halflings-regular.eot
--------------------------------------------------------------------------------
/SignalR in a Flash/SignalRFlash/SignalRFlash.Web/fonts/glyphicons-halflings-regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/1kevgriff/WN_SignalRScaling/master/SignalR in a Flash/SignalRFlash/SignalRFlash.Web/fonts/glyphicons-halflings-regular.ttf
--------------------------------------------------------------------------------
/SignalR in a Flash/SignalRFlash/SignalRFlash.Web/fonts/glyphicons-halflings-regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/1kevgriff/WN_SignalRScaling/master/SignalR in a Flash/SignalRFlash/SignalRFlash.Web/fonts/glyphicons-halflings-regular.woff
--------------------------------------------------------------------------------
/SignalR in a Flash/SignalRFlash/SignalRFlash.Web/ToDo.txt:
--------------------------------------------------------------------------------
1 | Steps
2 | ---------------
3 |
4 | x1. Install SignalR
5 | x2. Map SignalR Routes
6 | 3. Create a Hub
7 | 4. Add "BroadcastMessage" to Hub
8 | - Send incoming message to all connected clients
9 | 5. Add SignalR to page
10 | 6. Add SignalR Hub Proxy to page
11 | 7. Wire up client side methods
--------------------------------------------------------------------------------
/SignalR in a Flash/SignalRFlash/SignalRFlash.Web/App_Start/FilterConfig.cs:
--------------------------------------------------------------------------------
1 | using System.Web;
2 | using System.Web.Mvc;
3 |
4 | namespace SignalRFlash.Web
5 | {
6 | public class FilterConfig
7 | {
8 | public static void RegisterGlobalFilters(GlobalFilterCollection filters)
9 | {
10 | filters.Add(new HandleErrorAttribute());
11 | }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/SignalR in a Flash/SignalRFlash/SignalRFlash.Web/Views/Shared/Error.cshtml:
--------------------------------------------------------------------------------
1 | @{
2 | Layout = null;
3 | }
4 |
5 |
6 |
7 |
8 |
31 | @RenderBody()
32 |
33 |
36 |
37 |
38 | @Scripts.Render("~/bundles/jquery")
39 | @Scripts.Render("~/bundles/bootstrap")
40 | @RenderSection("scripts", required: false)
41 |
42 |
43 |
--------------------------------------------------------------------------------
/SignalR in a Flash/SignalRFlash/SignalRFlash.Web/Views/Web.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |