Fixed a lot of bugs in the async pipeline implementation.#888
Fixed a lot of bugs in the async pipeline implementation.#888matthid wants to merge 1 commit intomono:masterfrom
Conversation
|
Can you squash the commits together? |
Implemented dynamic module loading support. Set the current context to null after finishing the work. Do not reuse a HttpApplication instance when a inner module has thrown an exception.
|
Yes, it's done. |
|
Need maintainer approval to build this pull request. |
|
Who needs to approve this? I saw @migueldeicaza commenting on the commits in the original pull, but this doesn't look to have been looked at yet... I can run some testing on this locally if that will help... I'm trying to get the boilerplate MVC5 app up and running, and this is the first bug I've come to (RegisterModule method due to Owin). |
|
You can ignore that comment from @monoadmin - that's just the experimental pull request CI infrastructure. |
|
@alexrp thanks, I've been following the spam from that change! Maybe "Approve" wasn't the best word... who can merge this? I'm assuming that someone "owns" this area of code and needs to approve the change before it can be merged? |
|
Is this some kind of blackhole? is there noone who can review this so it can be merged? I've applied this to a local instance and it appears to be working ok for the moment. |
|
@grendello Please review & merge the above changes. |
|
Please do not merge until you talk to me. This is a delicate part of our pipeline, and I want to do a side-by-side review with someone. |
There was a problem hiding this comment.
This todo probably needs to be implemented.
That said: I am surprised that we are not using some sort of aggregate exception to log these errors.
There was a problem hiding this comment.
Note that this was a recommendation from my side, this means that I found a lot of bugs by adding some sort of logging here.
Basically what needs to be done, if it should be done properly, is to add a custimizable TraceSource so users can add the logging they need into their applications (as it is possible in the .NET framework). However this was out of scope for my use case.
|
Do we have a test suite that shows what these changes will enable? |
|
I have no test suite, but this is a collection of bugfixes I did in order to make MVC5 run stable for me. |
|
I'll try to review the changes tomorrow and offer my pov |
|
👍 |
|
Hi, any updates on this PR? |
|
I think we will just have to wait until K runtime arrives with VS2014 :) |
|
What do I need to do to get this pulled in? I don't think waiting for the K runtime is actually going to solve any real issues folks might have without this PR. I know I would love to have it. It looks like the logging functionality mentioned is necessary? The bit about the commented (dead) code; that needs understood better? |
|
Hello! I'm the build bot for the Mono project. I need approval from a Mono team member to build this pull request. A team member should reply with "approve" to approve a build of this pull request, "whitelist" to whitelist this and all future pull requests from this contributor, or "build" to explicitly request a build, even if one has already been done. Contributors can ignore this message. |
|
Sorry for beating a dead horse, but was wondering if August was the end of the line for this PR, or if the underlying issues were addressed elsewhere. As of 3.8.0 (September 2014), the HttpApplicaiton.RegisterModule matter is still an issue. Know you guys aren't the submitter or the reviewers, but figured you'd either moved on or found some work around. |
|
Prez We're tackling this under a number of other Pr's. Subscribe yourself to I'm not sure the dynamic module helper is on my list, so it may already be Martin
|
|
Thanks. Will do. |
|
Hi. I have not seen or heard of any updates in quite some time . As of 1/20/2015, there are still some missing methods in System.Web.Routing.RouteCollection: public bool AppendTrailingSlash { get; set; } as well as System.Web.HttpApplication.RegisterModule(). Any searches out there asking for MVC5 compatibility point me to this pull #888. What I do not know is if there are any more recent pull requests with these additions in order to make an MVC5 application minimally function. Does anyone have any insight to this? Are folks just bagging this effort and turning to ASP.NET vNext for MVC5/MVC6 app compatibility for other platforms? |
|
The ones you mention are still on me, it should be easier now the To give you a general update, MVC 5, from what I remember, only needs those There is an ongoing task for fixing the async pipeline by reusing the. Net 888 will not be merged, however, most of the things in it have now been Hope that helps.
|
|
Is this really needed now since we will have K runtime with Roslyn in few months? |
|
I'll be waiting for ASP.Net 5 and afterwards using probably the following docker image to deploy my applications: https://registry.hub.docker.com/u/microsoft/aspnet/ - and until then I can use what there is so far, it works great |
|
@pgrm Yea but MVC5 doesn't work fully with Mono ATM. |
|
Yes, for now I'm using only MVC 4 - AFAIK only feature I am missing is the async controller, which would make my application more efficient, but as I don't have too many concurrent users at the moment, I'm fine without it and will later this year just update to MVC 6 (skipping 5) |
|
This is likely to still be required as CoreCLR is the only framework that will be cross platform. So anyone who is willing to refactor their application around this will be fine, buy you won't beagle to simply deploy a net45 version and run on the "xre" (new name for kre). Probably better to discuss this on the mono list as Miguel can explain it alot better. |
|
@martinjt Mono is a supported target for ASP.NET 5 "vNext", in addition to the new coreclr runtime. |
|
@martinjt This is what I was thinking. It's questionable when the CoreCLR for, say, Linux will be released and what packages will be immediately available to pull down. Taken from http://www.asp.net/vnext/overview/aspnet-vnext/aspnet-5-overview we have: "We will release a cross-platform runtime for Linux and Mac OS X. When released, this runtime will enable you to develop and run .NET apps on Mac and Linux devices. We will work closely with the Mono community on this effort. Until its release, you can use the Mono CLR for cross-platform development." |
|
is there still interest to merge this or should it be closed? |
|
Hello! I'm the build bot for the Mono project. I need approval from a Mono team member to build this pull request. A team member should reply with "approve" to approve a build of this pull request, "whitelist" to whitelist this and all future pull requests from this contributor, or "build" to explicitly request a build, even if one has already been done. Contributors can ignore this message. |
|
@lewing I don't think so. MVC6 is soon to be RC2 already and it runs on Mono without any problems whatsoever. |
…age-boo-in-unityscript-folder Add boo to unityscript folder
Additionally while fixing the bugs:
Implemented dynamic module loading support.
Set the current context to null after finishing the work.
Do not reuse a HttpApplication instance when a inner module has thrown an exception.