diff options
author | Matthias Bogad <delirium@hacked.xyz> | 2015-05-17 20:54:05 +0300 |
---|---|---|
committer | Matthias Bogad <delirium@hacked.xyz> | 2015-06-09 15:06:52 +0300 |
commit | 58e0608c10c621b15fd9f396f8e46c567891b231 (patch) | |
tree | 6aee6625449b61f5e653638149047028ed05b758 /mcs/class/System.Web.Routing | |
parent | b42709296ab77c1222b4b95696707a0d941b42eb (diff) |
[System.Web] ASP.Net MVC5 missing methods fixed
I have added System.HttpApplication.RegisterModule(), the missing two properties of the System.Web.Routing.RouteCollection as well as the corresponding property in the HttpRuntimeSection to completely turn this off. Microsofts MIT-Licensed counterparts of the official System.Web assembly from github [0] were used as a reference. It is kind-of bolted on, but should be good enough until the whole open-sourced System.Web is incorporated. It should at least get the default MVC5 Template from Visual Studio 2013 up and running, once the async pipeline for the owin stuff is fixed.
[0]: http://github.com/Microsoft/referencesource/
Additionally, the MissingMethodException "get_InClientBuildManager" in System.Web.Hosting.HostingEnvironment was fixed.
In this commit, the following bugs were fixed:
https://bugzilla.xamarin.com/show_bug.cgi?id=21810
https://bugzilla.xamarin.com/show_bug.cgi?id=16475
Diffstat (limited to 'mcs/class/System.Web.Routing')
-rw-r--r-- | mcs/class/System.Web.Routing/System.Web.Routing/RouteCollection.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mcs/class/System.Web.Routing/System.Web.Routing/RouteCollection.cs b/mcs/class/System.Web.Routing/System.Web.Routing/RouteCollection.cs index b3e4a1c16dc..d53c063441e 100644 --- a/mcs/class/System.Web.Routing/System.Web.Routing/RouteCollection.cs +++ b/mcs/class/System.Web.Routing/System.Web.Routing/RouteCollection.cs @@ -92,6 +92,8 @@ namespace System.Web.Routing } } + public bool LowercaseUrls { get; set; } + public bool AppendTrailingSlash { get; set; } public bool RouteExistingFiles { get; set; } public void Add (string name, RouteBase item) |