Skip to content

Commit 1f728d2

Browse files
committed
Resize tutorial images and add a note about .NET Core.
1 parent 1a14107 commit 1f728d2

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

site/jekyll/getting-started/tutorial.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,19 @@ For this tutorial we'll be using Visual Studio 2015. If you do not already have
3636

3737
Start by creating a new ASP.NET Core MVC project:
3838

39-
<!-- TODO make thumbnails -->
40-
<!-- TODO add note about .NET Core vs .NET Framework -->
41-
4239
1. File → New → Project
4340
2. Ensure ".NET Framework 4.6" is selected in the dropdown list at the top
4441
3. Go to Templates → Visual C# → Web and select the "ASP.NET Core Web Application (.NET Framework)" template. Call it "ReactDemo"
45-
<img src="/img/tutorial/newproject_core.png" alt="Screenshot: New Project" width="600" />
42+
[<img src="/img/tutorial/newproject_core_600.png" alt="Screenshot: New Project" width="600" />](/img/tutorial/newproject_core.png)
4643
3. In the "New ASP.NET Core Web Application" dialog, select the Web Application template. Also, click "Change Authentication" and select "No Authentication"
47-
<img src="/img/tutorial/new_webapp.png" alt="Screenshot: New ASP.NET Core MVC Project dialog" width="600" />
44+
[<img src="/img/tutorial/new_webapp_600.png" alt="Screenshot: New ASP.NET Core MVC Project dialog" width="600" />](/img/tutorial/new_webapp.png)
45+
46+
Note: We are using .NET Framework in this tutorial, but you can instead use .NET Core if you want to be able to run your site on Linux or Mac OS. Currently .NET Core is missing some of the functionality provided by .NET Framework, so it is recommended to use .NET Framework unless you have a reason to use .NET Core specifically (eg. cross-platform support).
4847

4948
### Remove example content
5049

5150
The default Web Application template includes some example content that we don't need. Delete the following files:
51+
5252
- `Controllers\HomeController.cs`
5353
- `Views\Home` and `Views\Shared` folders
5454
- `bundleconfig.json`
@@ -58,7 +58,7 @@ The default Web Application template includes some example content that we don't
5858

5959
We need to install ReactJS.NET to the newly-created project. This is accomplished using NuGet, a package manager for .NET. Right-click on the "ReactDemo" project in the Solution Explorer and select "Manage NuGet Packages". Click the "Browse" tab, search for "React.AspNet", and install the **React.AspNet** package.
6060

61-
<img src="/img/tutorial/nuget_core.png" alt="Screenshot: Install NuGet Packages" width="650" />
61+
[<img src="/img/tutorial/nuget_core_650.png" alt="Screenshot: Install NuGet Packages" width="650" />](/img/tutorial/nuget_core.png)
6262

6363
We also need to modify the `Startup.cs` file to initialize ReactJS.NET. You can learn more about this on the [Getting Started on ASP.NET Core](/getting-started/aspnetcore.html) page. Open `Startup.cs` and perform the following changes:
6464

17.2 KB
Loading
36.4 KB
Loading
35.4 KB
Loading

0 commit comments

Comments
 (0)