diff options
| author | Michael <[email protected]> | 2017-04-17 08:30:58 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-04-17 08:30:58 -0400 |
| commit | a9b8092732e2012ffadc552052e2e070cbf380e4 (patch) | |
| tree | 73be56bcba46bddc04bd728e932d438912276d1a /Project-Unite/App_Start | |
| parent | c018558559b5454210d301ba693a046a07ea4cae (diff) | |
| download | project-unite-a9b8092732e2012ffadc552052e2e070cbf380e4.tar.gz project-unite-a9b8092732e2012ffadc552052e2e070cbf380e4.tar.bz2 project-unite-a9b8092732e2012ffadc552052e2e070cbf380e4.zip | |
SignalR notifications
Diffstat (limited to 'Project-Unite/App_Start')
| -rw-r--r-- | Project-Unite/App_Start/Startup.Auth.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Project-Unite/App_Start/Startup.Auth.cs b/Project-Unite/App_Start/Startup.Auth.cs index 5bd6820..6852f3e 100644 --- a/Project-Unite/App_Start/Startup.Auth.cs +++ b/Project-Unite/App_Start/Startup.Auth.cs @@ -14,6 +14,9 @@ namespace Project_Unite // For more information on configuring authentication, please visit http://go.microsoft.com/fwlink/?LinkId=301864 public void ConfigureAuth(IAppBuilder app) { + app.MapSignalR(); + + // Configure the db context, user manager and signin manager to use a single instance per request app.CreatePerOwinContext(ApplicationDbContext.Create); app.CreatePerOwinContext<ApplicationUserManager>(ApplicationUserManager.Create); |
