Skip to content

Commit 25c728f

Browse files
Change all Microsoft.AspNet.* namespaces and references to Microsoft.AspNetCore.*
1 parent 4a0e4bd commit 25c728f

File tree

62 files changed

+89
-101
lines changed

Some content is hidden

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

62 files changed

+89
-101
lines changed

NodeServices.sln

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ VisualStudioVersion = 14.0.23107.0
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Samples", "Samples", "{E6E88944-4800-40BA-8AF5-069EA3ADFEB8}"
77
EndProject
8-
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.NodeServices", "src\Microsoft.AspNet.NodeServices\Microsoft.AspNet.NodeServices.xproj", "{B0FA4175-8B29-4904-9780-28B3C24B0567}"
8+
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.NodeServices", "src\Microsoft.AspNetCore.NodeServices\Microsoft.AspNetCore.NodeServices.xproj", "{B0FA4175-8B29-4904-9780-28B3C24B0567}"
99
EndProject
1010
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "ES2015Transpilation", "samples\misc\ES2015Transpilation\ES2015Transpilation.xproj", "{6D4BCDD6-7951-449B-BE55-CB7F014B7430}"
1111
EndProject
@@ -18,11 +18,11 @@ Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "MusicStore", "samples\angul
1818
EndProject
1919
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "ReactGrid", "samples\react\ReactGrid\ReactGrid.xproj", "{ABF90A5B-F4E0-438C-A6E4-9549FB43690B}"
2020
EndProject
21-
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.AngularServices", "src\Microsoft.AspNet.AngularServices\Microsoft.AspNet.AngularServices.xproj", "{421807E6-B62C-417B-B901-46C5DEDAA8F1}"
21+
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.AngularServices", "src\Microsoft.AspNetCore.AngularServices\Microsoft.AspNetCore.AngularServices.xproj", "{421807E6-B62C-417B-B901-46C5DEDAA8F1}"
2222
EndProject
23-
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.ReactServices", "src\Microsoft.AspNet.ReactServices\Microsoft.AspNet.ReactServices.xproj", "{B04381DE-991F-4831-A0B5-FE1BD3EF80C4}"
23+
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.ReactServices", "src\Microsoft.AspNetCore.ReactServices\Microsoft.AspNetCore.ReactServices.xproj", "{B04381DE-991F-4831-A0B5-FE1BD3EF80C4}"
2424
EndProject
25-
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.SpaServices", "src\Microsoft.AspNet.SpaServices\Microsoft.AspNet.SpaServices.xproj", "{4624F728-6DFF-44B6-93B5-3C7D9C94BF3F}"
25+
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.SpaServices", "src\Microsoft.AspNetCore.SpaServices\Microsoft.AspNetCore.SpaServices.xproj", "{4624F728-6DFF-44B6-93B5-3C7D9C94BF3F}"
2626
EndProject
2727
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Templates", "Templates", "{727E6D58-6830-4792-96C6-E138A33959FB}"
2828
EndProject

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ This project is part of ASP.NET Core. You can find samples, documentation and ge
55

66
## What is this?
77

8-
This repo hosts sources for the `Microsoft.AspNet.AngularServices` and `Microsoft.AspNet.ReactServices` packages, along with samples and the underlying `Microsoft.AspNet.NodeServices` project.
8+
This repo hosts sources for the `Microsoft.AspNetCore.AngularServices` and `Microsoft.AspNetCore.ReactServices` packages, along with samples and the underlying `Microsoft.AspNetCore.NodeServices project`.
99

10-
#### `Microsoft.AspNet.AngularServices`
10+
#### `Microsoft.AspNetCore.AngularServices`
1111

1212
This package provides facilities for developers building Angular 2 applications on ASP.NET.
1313

@@ -20,7 +20,7 @@ A sample is included in this repo.
2020

2121
We are also working with the Angular team to add support for other client+server features such as cache priming, so that the client-side SPA code does not need to wait for an initial set of ajax requests to complete - the necessary data can be bundled with the initial page. Another possible future feature would be helpers to emit a JSON representation of C# class model metadata, so some validation rules can transparently apply both on the server and the client.
2222

23-
#### `Microsoft.AspNet.ReactServices`
23+
#### `Microsoft.AspNetCore.ReactServices`
2424

2525
This package provides similar facilities for React applications on ASP.NET.
2626

@@ -32,7 +32,7 @@ We are open to adding other client+server features that will make React develope
3232

3333
Although we have finite resources and are currently focused on adding Angular 2 and React support, the architecture here is designed so that you can build your own server-side support for other client-side libraries and frameworks.
3434

35-
The underlying `Microsoft.AspNet.NodeServices` package is a general-purpose way for ASP.NET applications (or .NET applications more generally) to interoperate with code running inside Node.js. That's how `AngularServices`/`ReactServices` server-side rendering works - those packages transparently spin up Node.js instances that can perform the server-side rendering. Any code that runs inside Node can efficiently be invoked from .NET via this package, which takes care of starting and stopping Node instances and manages the communication between .NET and Node.
35+
The underlying `Microsoft.AspNetCore.NodeServices` package is a general-purpose way for ASP.NET applications (or .NET applications more generally) to interoperate with code running inside Node.js. That's how `AngularServices`/`ReactServices` server-side rendering works - those packages transparently spin up Node.js instances that can perform the server-side rendering. Any code that runs inside Node can efficiently be invoked from .NET via this package, which takes care of starting and stopping Node instances and manages the communication between .NET and Node.
3636

3737
## Using AngularServices/ReactServices in your own projects
3838

samples/angular/MusicStore/Startup.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,6 @@ public void ConfigureServices(IServiceCollection services)
3636
.AddEntityFrameworkStores<MusicStoreContext>()
3737
.AddDefaultTokenProviders();
3838

39-
// Uncomment the following line to add Web API services which makes it easier to port Web API 2 controllers.
40-
// You will also need to add the Microsoft.AspNet.Mvc.WebApiCompatShim package to the 'dependencies' section of project.json.
41-
// services.AddWebApiConventions();
42-
4339
// Configure Auth
4440
services.Configure<AuthorizationOptions>(options =>
4541
{
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
@using MusicStore
2-
@using Microsoft.AspNet.AngularServices
2+
@using Microsoft.AspNetCore.AngularServices
33
@addTagHelper "*, Microsoft.AspNetCore.Mvc.TagHelpers"
4-
@addTagHelper "*, Microsoft.AspNet.SpaServices"
4+
@addTagHelper "*, Microsoft.AspNetCore.SpaServices"

samples/angular/MusicStore/project.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@
2222
"Microsoft.NETCore.Platforms": "1.0.1-*",
2323
"Microsoft.Extensions.Logging.Debug": "1.0.0-*",
2424
"Microsoft.EntityFrameworkCore.SQLite": "1.0.0-*",
25-
"Microsoft.AspNet.AngularServices": "1.0.0-*",
25+
"Microsoft.AspNetCore.AngularServices": "1.0.0-*",
2626
"AutoMapper": "4.1.1"
2727
},
2828
"commands": {
29-
"web": "Microsoft.AspNet.Server.Kestrel"
29+
"web": "Microsoft.AspNetCore.Server.Kestrel"
3030
},
3131
"frameworks": {
3232
"netstandardapp1.5": {

samples/misc/ES2015Transpilation/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using Microsoft.AspNetCore.Builder;
22
using Microsoft.AspNetCore.Hosting;
33
using Microsoft.AspNetCore.Http;
4-
using Microsoft.AspNet.NodeServices;
4+
using Microsoft.AspNetCore.NodeServices;
55
using Microsoft.Extensions.DependencyInjection;
66
using Microsoft.Extensions.Logging;
77
using System.IO;

samples/misc/ES2015Transpilation/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"Microsoft.Extensions.Logging.Console": "1.0.0-*",
2121
"Microsoft.NETCore.Platforms": "1.0.1-*",
2222
"Microsoft.Extensions.Logging.Debug": "1.0.0-*",
23-
"Microsoft.AspNet.NodeServices": "1.0.0-*"
23+
"Microsoft.AspNetCore.NodeServices": "1.0.0-*"
2424
},
2525
"frameworks": {
2626
"dnx451": {},

samples/misc/Webpack/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using Microsoft.AspNetCore.Builder;
22
using Microsoft.AspNetCore.Hosting;
33
using Microsoft.AspNetCore.Http;
4-
using Microsoft.AspNet.SpaServices.Webpack;
4+
using Microsoft.AspNetCore.SpaServices.Webpack;
55
using Microsoft.Extensions.DependencyInjection;
66
using Microsoft.Extensions.Logging;
77
using System.IO;

samples/misc/Webpack/project.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
"Microsoft.Extensions.Logging.Console": "1.0.0-*",
2121
"Microsoft.NETCore.Platforms": "1.0.1-*",
2222
"Microsoft.Extensions.Logging.Debug": "1.0.0-*",
23-
"Microsoft.AspNet.SpaServices": "1.0.0-*"
23+
"Microsoft.AspNetCore.SpaServices": "1.0.0-*"
2424
},
2525

2626
"commands": {
27-
"web": "Microsoft.AspNet.Server.Kestrel"
27+
"web": "Microsoft.AspNetCore.Server.Kestrel"
2828
},
2929

3030
"frameworks": {

samples/react/MusicStore/Startup.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using Microsoft.AspNetCore.Builder;
66
using Microsoft.AspNetCore.Hosting;
77
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
8-
using Microsoft.AspNet.SpaServices.Webpack;
8+
using Microsoft.AspNetCore.SpaServices.Webpack;
99
using Microsoft.EntityFrameworkCore;
1010
using Microsoft.EntityFrameworkCore.Infrastructure;
1111
using Microsoft.Extensions.Configuration;
@@ -37,10 +37,6 @@ public void ConfigureServices(IServiceCollection services)
3737
.AddEntityFrameworkStores<MusicStoreContext>()
3838
.AddDefaultTokenProviders();
3939

40-
// Uncomment the following line to add Web API services which makes it easier to port Web API 2 controllers.
41-
// You will also need to add the Microsoft.AspNet.Mvc.WebApiCompatShim package to the 'dependencies' section of project.json.
42-
// services.AddWebApiConventions();
43-
4440
// Configure Auth
4541
services.Configure<AuthorizationOptions>(options =>
4642
{

0 commit comments

Comments
 (0)