Skip to content
This repository was archived by the owner on Apr 11, 2021. It is now read-only.

Commit 248d490

Browse files
Core RC1, readme - Web API
1 parent bbd7b38 commit 248d490

File tree

67 files changed

+14124
-69367
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+14124
-69367
lines changed

ASPNET/WebSampleApp/src/WebSampleApp/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public void Configure(IApplicationBuilder app, ILoggerFactory loggerFactory)
5454
loggerFactory.AddDebug();
5555

5656
// loggerFactory.AddConsole(Configuration.GetSection("Logging"));
57-
//loggerFactory.AddConsole();
57+
// loggerFactory.AddConsole();
5858
// loggerFactory.AddDebug();
5959

6060

ASPNET/readme.txt

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
ReadMe - Code Samples for Chapter 40, ASP.NET Core
2+
3+
The sample code for this chapter contains this solution:
4+
- WebSampleApp
5+
6+
The version you downloaded is built using ASP.NET 5 RC1. The NuGet packages, namespaces, and a few code lines will change when RC2 is available.
7+
8+
You need to install the ASP.NET 5 tools in addtion to Visual Studio 2015.
9+
Install the tools from here:
10+
https://go.microsoft.com/fwlink/?LinkId=627627
11+
12+
After opening the files from Visual Studio, you might need to start the command prompt and download the necessary NuGet packages using
13+
>dnu restore
14+
15+
If you have the .NET Core Command Line (CLI) Tools installed, you can use
16+
>dotnet restore
17+
instead.
18+
19+
Please download and install the .NET Core Command Line (CLI) Tools from https://github.com/dotnet/cli. For Windows, you will find an MSI package that you can install on your Windows system: https://dotnetcli.blob.core.windows.net/dotnet/beta/Installers/Latest/dotnet-win-x64.latest.exe
20+
21+
22+
When .NET Core RC2 is available, samples from this Chapter will be changed.
23+
Please re-check the Wrox code downloads for updates.
24+
25+
Currently this are Microsoft's plans for RC2 and RTM:
26+
8-Apr-2016 - RC2
27+
30-Jun-2016 - RTM
28+
Please check this link for Microsoft's actual schedule:
29+
https://github.com/dotnet/corefx/milestones
30+
31+
Thank you!
32+
Christian

ASPNETMVC/readme.txt

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
ReadMe - Code Samples for Chapter 41, ASP.NET MVC
2+
3+
The sample code for this chapter contains this solution:
4+
- MVCSampleApp
5+
- MenuPlanner
6+
7+
The version you downloaded is built using ASP.NET 5 RC1. The NuGet packages, namespaces, and a few code lines will change when RC2 is available.
8+
9+
You need to install the ASP.NET 5 tools in addtion to Visual Studio 2015.
10+
Install the tools from here:
11+
https://go.microsoft.com/fwlink/?LinkId=627627
12+
13+
After opening the files from Visual Studio, you might need to start the command prompt and download the necessary NuGet packages using
14+
>dnu restore
15+
16+
If you have the .NET Core Command Line (CLI) Tools installed, you can use
17+
>dotnet restore
18+
instead.
19+
20+
Please download and install the .NET Core Command Line (CLI) Tools from https://github.com/dotnet/cli. For Windows, you will find an MSI package that you can install on your Windows system: https://dotnetcli.blob.core.windows.net/dotnet/beta/Installers/Latest/dotnet-win-x64.latest.exe
21+
22+
23+
When .NET Core RC2 is available, samples from this Chapter will be changed.
24+
Please re-check the Wrox code downloads for updates.
25+
26+
Currently this are Microsoft's plans for RC2 and RTM:
27+
8-Apr-2016 - RC2
28+
30-Jun-2016 - RTM
29+
Please check this link for Microsoft's actual schedule:
30+
https://github.com/dotnet/corefx/milestones
31+
32+
Thank you!
33+
Christian

WebAPI/BooksServiceSample/BooksServiceSample.sln

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,18 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio 14
4-
VisualStudioVersion = 14.0.24720.0
4+
VisualStudioVersion = 14.0.25029.0
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{00B75FDC-B961-4332-A91C-E27D004EA515}"
77
EndProject
88
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{515B7233-7440-4088-9309-9978C529A9B4}"
9-
ProjectSection(SolutionItems) = preProject
10-
global.json = global.json
11-
EndProjectSection
129
EndProject
1310
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "BooksServiceSample", "src\BooksServiceSample\BooksServiceSample.xproj", "{135F3013-0B6B-40A9-8ADC-AD7EF5A8C716}"
1411
EndProject
1512
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "BookServiceClientApp", "src\BookServiceClientApp\BookServiceClientApp.xproj", "{4B49B48B-CB07-4937-A0BD-4962C9ED8400}"
1613
EndProject
1714
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "BookServiceAsyncSample", "src\BookServiceAsyncSample\BookServiceAsyncSample.xproj", "{50B32B42-1C50-424D-98F5-CD5DBBFF2695}"
1815
EndProject
19-
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "BooksServiceSampleRC1", "src\BooksServiceSampleRC1\BooksServiceSampleRC1.xproj", "{F4832AAA-BDDA-458F-8BD4-F02C26A09FE0}"
20-
EndProject
2116
Global
2217
GlobalSection(SolutionConfigurationPlatforms) = preSolution
2318
Debug|Any CPU = Debug|Any CPU
@@ -36,10 +31,6 @@ Global
3631
{50B32B42-1C50-424D-98F5-CD5DBBFF2695}.Debug|Any CPU.Build.0 = Debug|Any CPU
3732
{50B32B42-1C50-424D-98F5-CD5DBBFF2695}.Release|Any CPU.ActiveCfg = Release|Any CPU
3833
{50B32B42-1C50-424D-98F5-CD5DBBFF2695}.Release|Any CPU.Build.0 = Release|Any CPU
39-
{F4832AAA-BDDA-458F-8BD4-F02C26A09FE0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
40-
{F4832AAA-BDDA-458F-8BD4-F02C26A09FE0}.Debug|Any CPU.Build.0 = Debug|Any CPU
41-
{F4832AAA-BDDA-458F-8BD4-F02C26A09FE0}.Release|Any CPU.ActiveCfg = Release|Any CPU
42-
{F4832AAA-BDDA-458F-8BD4-F02C26A09FE0}.Release|Any CPU.Build.0 = Release|Any CPU
4334
EndGlobalSection
4435
GlobalSection(SolutionProperties) = preSolution
4536
HideSolutionNode = FALSE
@@ -48,6 +39,5 @@ Global
4839
{135F3013-0B6B-40A9-8ADC-AD7EF5A8C716} = {00B75FDC-B961-4332-A91C-E27D004EA515}
4940
{4B49B48B-CB07-4937-A0BD-4962C9ED8400} = {00B75FDC-B961-4332-A91C-E27D004EA515}
5041
{50B32B42-1C50-424D-98F5-CD5DBBFF2695} = {00B75FDC-B961-4332-A91C-E27D004EA515}
51-
{F4832AAA-BDDA-458F-8BD4-F02C26A09FE0} = {00B75FDC-B961-4332-A91C-E27D004EA515}
5242
EndGlobalSection
5343
EndGlobal

WebAPI/BooksServiceSample/src/BookServiceAsyncSample/Controllers/BookChaptersController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using System.Collections.Generic;
33
using System.Linq;
44
using System.Threading.Tasks;
5-
using Microsoft.AspNetCore.Mvc;
5+
using Microsoft.AspNet.Mvc;
66
using BooksServiceSample.Models;
77

88
// For more information on enabling Web API for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860

WebAPI/BooksServiceSample/src/BookServiceAsyncSample/Controllers/ValuesController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using System.Collections.Generic;
33
using System.Linq;
44
using System.Threading.Tasks;
5-
using Microsoft.AspNetCore.Mvc;
5+
using Microsoft.AspNet.Mvc;
66

77
namespace BookServiceAsyncSample.Controllers
88
{

WebAPI/BooksServiceSample/src/BookServiceAsyncSample/Migrations/20151127223303_InitBooks.Designer.cs

Lines changed: 0 additions & 40 deletions
This file was deleted.

WebAPI/BooksServiceSample/src/BookServiceAsyncSample/Migrations/20151127223303_InitBooks.cs

Lines changed: 0 additions & 31 deletions
This file was deleted.

WebAPI/BooksServiceSample/src/BookServiceAsyncSample/Migrations/BooksContextModelSnapshot.cs

Lines changed: 0 additions & 39 deletions
This file was deleted.

WebAPI/BooksServiceSample/src/BookServiceAsyncSample/Models/BookChaptersRepository.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
using Microsoft.EntityFrameworkCore;
1+
//using Microsoft.EntityFrameworkCore;
2+
using Microsoft.Data.Entity;
23
using System;
34
using System.Collections.Generic;
45
using System.Threading.Tasks;

0 commit comments

Comments
 (0)