-
Notifications
You must be signed in to change notification settings - Fork 926
ASP.NET 5 (originally vNext) support #47
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
Comments
I'm really keen to see this. I had a quick crack at getting it going but I ended up going down the rabbit hole a bit. It will require (as far as I can tell):
The second is a little tricky as it basically means dual compilation or upgrading everything (which doesn't make sense for MVC 3 especially) I imagine if you do the above it will probably work. |
We'll need a new |
I think you might be right, I had a go at making it work but couldn't work out how to tell it not to build the .net core version of the project, so there's a couple of errors still. I needed to create wraps to even get it to reference the other projects which is a bit weird also. I did also need to change IHtmlString -> HtmlString also as the interface no longer exists in the new MVC. Anyway when you do get to implementing this feel free to take a look at the fork. |
I ordered a new external hard drive to give me enough hard drive space for another Windows VM and to install the Visual Studio 2015 preview :P I'm going to be on holiday from 6th to 16th February but I'll probably pick this up when I return.
Yeah I think IHtmlString is part of System.Web which is no longer used with ASP.NET 5. This can probably be handled with conditional comments in the code. |
So far I've created a new I'm trying to use |
I got past that, the next hurdle is hooking ReactJS.NET's dependency injection container (using TinyIoC) into the ASP.NET dependency injection container. I've managed to get dependencies registering as scoped (per-instance) but they're not being disposed correctly. I'll investigate more tomorrow, and post what I've done in a separate branch if I get anything useful :) |
Initial set of changes in 5d48be6. With these changes I was able to run an ASP.NET MVC 6 site and use server-side rendering. I still need to add the pieces to the build script. |
Moving to pull request #94 |
Moved to pull request #94
The text was updated successfully, but these errors were encountered: