summaryrefslogtreecommitdiffstats
path: root/samples/OpenIdRelyingPartyMvc/Global.asax.cs
diff options
context:
space:
mode:
Diffstat (limited to 'samples/OpenIdRelyingPartyMvc/Global.asax.cs')
-rw-r--r--samples/OpenIdRelyingPartyMvc/Global.asax.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/samples/OpenIdRelyingPartyMvc/Global.asax.cs b/samples/OpenIdRelyingPartyMvc/Global.asax.cs
index d57a13f..8b117c0 100644
--- a/samples/OpenIdRelyingPartyMvc/Global.asax.cs
+++ b/samples/OpenIdRelyingPartyMvc/Global.asax.cs
@@ -18,13 +18,16 @@
"{controller}/{action}/{id}", // URL with parameters
new { controller = "Home", action = "Index", id = string.Empty }); // Parameter defaults
+#if !Mono
routes.MapRoute(
"Root",
string.Empty,
new { controller = "Home", action = "Index", id = string.Empty });
+#endif
}
protected void Application_Start(object sender, EventArgs e) {
+ log4net.Config.XmlConfigurator.Configure();
RegisterRoutes(RouteTable.Routes);
}
}