Skip to content

ASP.NET 5 (originally vNext) support #94

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

Merged
merged 9 commits into from
Feb 28, 2015
Merged

ASP.NET 5 (originally vNext) support #94

merged 9 commits into from
Feb 28, 2015

Conversation

Daniel15
Copy link
Member

Add support for ASP.NET 5 (formerly known as vNext)

  • Integrate with its IoC container
  • Create middleware for transforming JSX files (or see if OWIN middleware can be reused)
  • Add to build script
    • Get versioning of assembly working
    • Produce NuGet package
  • Write documentation
  • ???
  • Profit!

 - Created a Visual Studio 2015 solution (React.VS2015.sln) containing two new projects: React.AspNet5 and React.Samples.Mvc6.
 - Copied MVC 4 example to create a new MVC 6 example. Uses Gulp to build JSX file.
 - Integrated per-request registration into our TinyIoC for ASP.NET 5.
Conflicts:
	dev-build-vs2015.bat
@Daniel15
Copy link
Member Author

Version number can be set through K_BUILD_VERSION environment variable: aspnet/dnx#1284

@gabrielsadaka
Copy link

This is awesome, I've been planning to start learning react and ASP.net vnext now I can do both!

@Daniel15 Daniel15 changed the title [WIP] ASP.NET 5 (originally vNext) support ASP.NET 5 (originally vNext) support Feb 28, 2015
Daniel15 added a commit that referenced this pull request Feb 28, 2015
ASP.NET 5 (originally vNext) support
@Daniel15 Daniel15 merged commit 04f57a1 into master Feb 28, 2015
@Daniel15
Copy link
Member Author

Boom, time to party 😄

@Daniel15 Daniel15 added this to the 1.4 milestone Mar 1, 2015
@luisrudge
Copy link

Awesome work guys!

@luisrudge
Copy link

Does it run on coreclr?

@ctolkien
Copy link

ctolkien commented Mar 3, 2015

😲

@Daniel15
Copy link
Member Author

Daniel15 commented Mar 3, 2015

@luisrudge No CoreCLR support yet, that depends on the dependencies first (JavaScriptEngineSwitcher, ClearScript, and optionally MsieJavaScriptEngine)

@luisrudge
Copy link

Ok, that's great! Thanks!

@Daniel15
Copy link
Member Author

Daniel15 commented Mar 3, 2015

Basic getting started guide here: http://reactjs.net/getting-started/aspnet5.html

@luisrudge
Copy link

Awesome! THanks!

@Daniel15 Daniel15 deleted the asp5 branch March 3, 2015 06:41
@jimitndiaye
Copy link

@Daniel15 this thread on the clear script forums discusses the problems facing support for CoreClr but suggests potential cross-platform alternatives: Vroom and V8.net. Would they be suitable alternatives?

@Daniel15
Copy link
Member Author

@jimitndiaye I'm actually using VroomJs for Linux and Mac OS support, but I never managed to get the required version of V8 (3.17.16.2) to compile properly on Windows. I don't have the expertise to upgrade VroomJs to support newer versions of V8, as I have very little C and C++ experience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants