Closed stijnherreman closed 2 months ago
Note that that line is also required for IIS 7.5 with a "classic" pipeline, as the classic pipeline behaves similarly to IIS 6. I originally included this section since most other ASP.NET NuGet packages seem to include it, the company I was working at at the time was still using IIS 6.0 and this was originally developed for their use, and it should work "out of the box" on platforms that ASP.NET MVC also works on. I didn't want a broken experience for IIS 6 users.
Feel free to send a pull request containing your suggested changes to the README :)
Thanks!
I'll try to make a pull request soon :)
+1
+1
As a note: my application started without this line:
<validation validateIntegratedModeConfiguration="false" />
I had to add it to make RouteJs work.
By default, a new MVC application will have this line in web.config:
<validation validateIntegratedModeConfiguration="false" />
When this is removed and RouteJs is installed, the application will throw an error, because web.config.transform contains these lines:
From MSDN: ValidationSection Class [IIS 7 and higher]
The solution is to remove this section. Can you add a note about this to the documentation? Or perhaps remove that part from the transform file, and add a note for IIS 6 users that they need to manually modify their web.config