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ee,0x8c,0xfd,0xa1,0xec,0x29,0xfc,0xf2,
  0xea,0xda,0xfa,0xd6,0xe9,0xb5,0xf9,0x4f,0xe9,0xcd,0xf8,0x64,0xe9,0x33,0xf8,0x11,
  0xea,0xef,0xf7,0x4c,0xeb,0xc,0xf8,0xb,0xed,0x8d,0xf8,0x3d,0xef,0x71,0xf9,0xcf,
  0xf1,0xb1,0xfa,0xae,0xf4,0x42,0xfc,0xc0,0xf7,0x20,0xfe,0xec,0xfa,0x36,0x0,0x1d,
  0xfe,0x79,0x2,0x3b,0x1,0xd5,0x4,0x31,0x4,0x36,0x7,0xe7,0x6,0x87,0x9,0x49,
  0x9,0xa9,0xb,0x3b,0xb,0x86,0xd,0xb5,0xc,0x6,0xf,0xa7,0xd,0x16,0x10,0xc,
  0xe,0xac,0x10,0xe3,0xd,0xbc,0x10,0x2d,0xd,0x44,0x10,0xef,0xb,0x40,0xf,0x39,
  0xa,0xba,0xd,0x18,0x8,0xba,0xb,0x9e,0x5,0x57,0x9,0xe3,0x2,0xa2,0x6,0xf8,
  0xff,0xb9,0x3,0xfc,0xfc,0xbe,0x0,0x6,0xfa,0xd0,0xfd,0x30,0xf7,0xf,0xfb,0x93,
  0xf4,0x96,0xf8,0x47,0xf2,0x7b,0xf6,0x60,0xf0,0xcb,0xf4,0xf1,0xee,0x8e,0xf3,0x6,
  0xee,0xc9,0xf2,0xaa,0xed,0x74,0xf2,0xe1,0xed,0x8e,0xf2,0xaa,0xee,0x14,0xf3,0x0,
  0xf0,0x1,0xf4,0xda,0xf1,0x50,0xf5,0x26,0xf4,0xfa,0xf6,0xd6,0xf6,0xf2,0xf8,0xd4,
  0xf9,0x2d,﻿using System;
using System.Collections.Generic;
using System.IdentityModel.Services;
using System.Linq;
using System.Web;
using System.Web.Optimization;
using System.Web.Routing;
using System.Web.Security;
using System.Web.SessionState;
using System.Web.Http;

namespace $safeprojectname$
{
    public class Global : HttpApplication
    {
        void Application_Start(object sender, EventArgs e)
        {
            // Code that runs on application startup
            GlobalConfiguration.Configure(WebApiConfig.Register);
            RouteConfig.RegisterRoutes(RouteTable.Routes);
            BundleConfig.RegisterBundles(BundleTable.Bundles);
            IdentityConfig.ConfigureIdentity();            
        }

        void WSFederationAuthenticationModule_RedirectingToIdentityProvider(object sender, RedirectingToIdentityProviderEventArgs e)
        {
            if (!String.IsNullOrEmpty(IdentityConfig.Realm))
            {
                e.SignInRequestMessage.Realm = IdentityConfig.Realm;
            }
        }
    }
}