Last active
January 27, 2020 10:34
-
-
Save bjoerntx/bd88e6501750b658368b331e9cd0f7ec to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using myFirstAzureWebApp.Helpers; | |
using System.IO; | |
using System.Web; | |
using System.Web.Mvc; | |
using System.Web.Optimization; | |
using System.Web.Routing; | |
namespace myTextControlAzureApp | |
{ | |
public class MvcApplication : System.Web.HttpApplication | |
{ | |
protected void Application_Start() | |
{ | |
foreach (string font in Directory.GetFiles( | |
Path.Combine(HttpRuntime.AppDomainAppPath, "InstallFonts"))) | |
{ | |
Fonts.AddFontResource(font); | |
} | |
AreaRegistration.RegisterAllAreas(); | |
FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); | |
RouteConfig.RegisterRoutes(RouteTable.Routes); | |
BundleConfig.RegisterBundles(BundleTable.Bundles); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment