New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add missing elements to allow MVC5.2 site to run #1163
Conversation
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. |
in master branch, HttpContextWrapper.GetService still not implement? |
Hello! I'm the new 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. |
Hello. I've just tried to apply the patch and my MVC+NHibernate application works correctly. I was using a different branch from matthid's fork. I would like to see the pull request in trunk, is there any blocker? Thanks. |
@AerisG222 can you squash your commits into just one please? |
Happy to try, am not so proficient with git. By any chance do you have a Thanks, @AerisG222 https://github.com/AerisG222 can you squash your commits into — |
Hey @AerisG222 ! Once you're on the git rebase -i HEAD~6 While rebasing, on the first commit you made, to change the commit message you can write |
See more here. |
Thanks for the pointers, that was very helpful! |
Mike, thanks for squashing them. Unfortunately I've just realised there are still nitpicks to fix regarding style, I'll point them now: |
public override object GetService (Type serviceType) | ||
{ | ||
throw new NotImplementedException (); | ||
return ((IServiceProvider)w).GetService(serviceType); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Space between GetService
and (
.
Looks good on my end. |
The first commit by @chrisfcarroll is actually part of PR #874 and should be excluded here I think. I wonder why the other PR wasn't merged yet, it looks good from my POV. |
@knocte is there any hold up on getting this merged now that the changes you've suggested have been made? |
I guess not, but I'm no maintainer. You need to bother @grendello I guess. |
@grendello what does one need to bribe you with to get a final review and merge on this? I have a nice single malt here? |
private readonly string _minRequiredPasswordLengthError = "{0} must have at least {1} characters"; | ||
private readonly string _minNonAlphanumericCharactersError = "{0} must have at least {1} special characters"; | ||
private readonly string _passwordStrengthError = "{0} is weak"; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't need private here.
@AerisG222 I'm going to try some unit tests for this, are you going to be able to review and accept them as a pull? |
I'm happy to review and will try to pull when there is something available. In all honesty, I've tried to move on to reworking my site to vnext as that On Thu, Oct 16, 2014 at 6:51 PM, martinjt notifications@github.com wrote:
|
I'm having the same issue with WebAPI, I think I've got a handle on all the things that need implementing. I've submitted a pull around encryption, I think there are 2 more to come, on is the HttpTaskAsyncHandler, but I can't remember what the other one is. After that, 5.2 (WebAPI and MVC) should "work", it's then a bug fix exercise. Could you fix the "private" issue I commented on? and squash like you did with the last one? Also, any help with writing unit tests for this would be helpful. |
Yea, let me try to find some time this weekend to fix the private issue you On Thu, Oct 16, 2014 at 7:09 PM, martinjt notifications@github.com wrote:
|
You were waiting for #874 ? I did the (hopefully) final correction and rebased. |
This all looks fine to me now. We just need someone to review and merge. I am planning on putting a full list of the Pulls needed for the aspnetwebstack features to work, then we can try and get someone to review & merge them all at once. If we can't get them merged, I'm going to create a fork so we can collate a work aspnetwebstack piece. |
I've cleaned up the 'private' issue, and squashed. |
@grendello what do you think? can we merge this one? |
Hey guys, This code contains some obvious code that was lifted from .NET (the MembershipValidator). |
Apologies again for this, I have removed the file that I did not author. |
@@ -7,6 +7,7 @@ System.ComponentModel.DataAnnotations/EmailAddressAttribute.cs | |||
System.ComponentModel.DataAnnotations/PhoneAttribute.cs | |||
System.ComponentModel.DataAnnotations/FileExtensionsAttribute.cs | |||
System.ComponentModel.DataAnnotations/CompareAttribute.cs | |||
System.ComponentModel.DataAnnotations/UrlAttribute.cs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't required, it's defined in the base file
Thanks for removing the third-party code and squashing the commits. |
Add missing elements to allow MVC5.2 site to run
mvc 5.2.3 on mono 4.8.0 error |
Add missing elements to allow MVC5.2 site to run Commit migrated from mono/mono@e4d8f21
Fix warning crash
In combination with PR874, this allowed my site to work after trying to upgrade to the latest MVC version