Skip to content

Commit 466ad79

Browse files
committed
Update ASP.NET 5 page for Beta 6
1 parent 9de0b6c commit 466ad79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

site/jekyll/getting-started/aspnet5.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ title: Getting Started on ASP.NET 5
66

77
Getting started with ReactJS.NET on ASP.NET 5 and MVC 6 requires a few more steps compared to previous versions of ASP.NET and MVC. A more fully featured tutorial will be released once the stable release of ASP.NET 5 is out.
88

9-
Note that ASP.NET 5 is still in beta, and so there may still be some sharp edges. ReactJS.NET requires at least Visual Studio 2015 RC and ASP.NET 5 Beta 4. Additionally, ReactJS.NET does not support the Core CLR at this point in time, so you will need to ensure your project is not referencing it. Remove the `"aspnetcore50": { }` line from your `project.json` file.
9+
Note that ASP.NET 5 is still in beta, and so there may still be some sharp edges. ReactJS.NET requires at least Visual Studio 2015 and ASP.NET 5 Beta 6. Additionally, ReactJS.NET does not support the Core CLR at this point in time, so you will need to ensure your project is not referencing it. Remove the `"dnxcore50": { }` line from your `project.json` file.
1010

1111
Once this has been removed, install the `React.AspNet` package through NuGet. After the package is installed, ReactJS.NET needs to be initialised in your `Startup.cs` file (unfortunately this can not be done automatically like in previous versions of ASP.NET with WebActivator). At the top of the file, add:
1212
```
@@ -55,7 +55,7 @@ app.UseReact(config =>
5555
});
5656
```
5757

58-
Finally, add this to `Views/_GlobalImport.cshtml` (or create it if it doesn't exist):
58+
Finally, add this to `Views/_ViewImports.cshtml` (or create it if it doesn't exist):
5959

6060
```csharp
6161
@using React.AspNet

0 commit comments

Comments
 (0)