mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-22 17:47:53 +00:00
Update everything to use ASP.NET 5 RC1
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNet.Razor.Runtime.TagHelpers;
|
||||
using Microsoft.AspNet.Http;
|
||||
using Microsoft.AspNet.Http.Extensions;
|
||||
using Microsoft.AspNet.NodeServices;
|
||||
using Microsoft.Dnx.Runtime;
|
||||
using Microsoft.AspNet.Razor.TagHelpers;
|
||||
using Microsoft.Extensions.PlatformAbstractions;
|
||||
|
||||
namespace Microsoft.AspNet.AngularServices
|
||||
{
|
||||
@@ -48,7 +48,7 @@ namespace Microsoft.AspNet.AngularServices
|
||||
requestUrl: UriHelper.GetEncodedUrl(this.contextAccessor.HttpContext.Request)
|
||||
);
|
||||
output.SuppressOutput();
|
||||
output.PostElement.AppendEncoded(result);
|
||||
output.PostElement.AppendHtml(result);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,8 +26,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"Microsoft.AspNet.NodeServices": "1.0.0-alpha7",
|
||||
"Microsoft.AspNet.Mvc.TagHelpers": "6.0.0-beta8",
|
||||
"Microsoft.Dnx.Runtime.Abstractions": "1.0.0-beta8"
|
||||
"Microsoft.AspNet.Mvc.TagHelpers": "6.0.0-rc1-*"
|
||||
},
|
||||
"resource": [
|
||||
"Content/**/*"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
using Microsoft.Dnx.Runtime;
|
||||
using Microsoft.Framework.DependencyInjection;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.PlatformAbstractions;
|
||||
|
||||
namespace Microsoft.AspNet.NodeServices {
|
||||
public static class Configuration {
|
||||
|
||||
@@ -10,24 +10,23 @@
|
||||
"projectUrl": "",
|
||||
"licenseUrl": "",
|
||||
"dependencies": {
|
||||
"System.Net.Http": "4.0.1-beta-23409",
|
||||
"Newtonsoft.Json": "8.0.1-beta1",
|
||||
"Microsoft.Framework.DependencyInjection": "1.0.0-beta8",
|
||||
"Microsoft.Dnx.Runtime.Abstractions": "1.0.0-beta8"
|
||||
"System.Net.Http": "4.0.1-beta-*",
|
||||
"Newtonsoft.Json": "8.0.1-beta3",
|
||||
"Microsoft.Extensions.DependencyInjection.Abstractions": "1.0.0-rc1-final",
|
||||
"Microsoft.Extensions.PlatformAbstractions": "1.0.0-rc1-final"
|
||||
},
|
||||
"frameworks": {
|
||||
"dnx451": {},
|
||||
"dnxcore50": {
|
||||
"dependencies": {
|
||||
"Microsoft.CSharp": "4.0.1-beta-23217",
|
||||
"System.Collections": "4.0.11-beta-23217",
|
||||
"System.Linq": "4.0.1-beta-23217",
|
||||
"System.Runtime": "4.0.21-beta-23217",
|
||||
"System.Threading": "4.0.11-beta-23217",
|
||||
"System.Text.RegularExpressions": "4.0.11-beta-23409",
|
||||
"System.Diagnostics.Process": "4.1.0-beta-23409",
|
||||
"System.IO.FileSystem": "4.0.1-beta-23409",
|
||||
"System.Console": "4.0.0-beta-23409"
|
||||
"Microsoft.CSharp": "4.0.1-beta-*",
|
||||
"System.Collections": "4.0.11-beta-*",
|
||||
"System.Linq": "4.0.1-beta-*",
|
||||
"System.Threading": "4.0.11-beta-*",
|
||||
"System.Text.RegularExpressions": "4.0.11-beta-*",
|
||||
"System.Diagnostics.Process": "4.1.0-beta-*",
|
||||
"System.IO.FileSystem": "4.0.1-beta-*",
|
||||
"System.Console": "4.0.0-beta-*"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNet.Razor.Runtime.TagHelpers;
|
||||
using Microsoft.AspNet.Http;
|
||||
using Microsoft.AspNet.NodeServices;
|
||||
using Microsoft.Dnx.Runtime;
|
||||
using Microsoft.AspNet.Razor.TagHelpers;
|
||||
using Microsoft.Extensions.PlatformAbstractions;
|
||||
|
||||
namespace Microsoft.AspNet.ReactServices
|
||||
{
|
||||
@@ -45,7 +45,7 @@ namespace Microsoft.AspNet.ReactServices
|
||||
componentModuleName: this.ModuleName,
|
||||
componentExportName: this.ExportName,
|
||||
requestUrl: request.Path + request.QueryString.Value);
|
||||
output.Content.SetContentEncoded(result);
|
||||
output.Content.SetHtmlContent(result);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,8 +26,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"Microsoft.AspNet.NodeServices": "1.0.0-alpha7",
|
||||
"Microsoft.AspNet.Mvc.TagHelpers": "6.0.0-beta8",
|
||||
"Microsoft.Dnx.Runtime.Abstractions": "1.0.0-beta8"
|
||||
"Microsoft.AspNet.Mvc.TagHelpers": "6.0.0-rc1-*"
|
||||
},
|
||||
"resource": [
|
||||
"Content/**/*"
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
{
|
||||
"projects": ["."]
|
||||
"projects": ["."],
|
||||
"sdk": {
|
||||
"version": "1.0.0-rc1-final"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,10 +1,5 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using Microsoft.AspNet.Identity;
|
||||
using Microsoft.AspNet.Identity.EntityFramework;
|
||||
using Microsoft.AspNet.Identity.EntityFramework;
|
||||
using Microsoft.Data.Entity;
|
||||
using Microsoft.Data.Entity.Metadata;
|
||||
using Microsoft.Framework.OptionsModel;
|
||||
|
||||
namespace MusicStore.Models
|
||||
{
|
||||
|
||||
@@ -6,11 +6,8 @@ using System.Threading.Tasks;
|
||||
using Microsoft.AspNet.Identity;
|
||||
using Microsoft.AspNet.Identity.EntityFramework;
|
||||
using Microsoft.Data.Entity;
|
||||
using Microsoft.Data.Entity.Storage;
|
||||
using Microsoft.Framework.DependencyInjection;
|
||||
using Microsoft.Framework.OptionsModel;
|
||||
using MusicStore;
|
||||
using MusicStore.Models;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.OptionsModel;
|
||||
|
||||
namespace MusicStore.Models
|
||||
{
|
||||
|
||||
@@ -1,18 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using AutoMapper;
|
||||
using Microsoft.AspNet.Authorization;
|
||||
using Microsoft.AspNet.Builder;
|
||||
using Microsoft.AspNet.Hosting;
|
||||
using Microsoft.AspNet.Http;
|
||||
using Microsoft.AspNet.Identity.EntityFramework;
|
||||
using Microsoft.Data.Entity;
|
||||
using Microsoft.Dnx.Runtime;
|
||||
using Microsoft.Framework.Configuration;
|
||||
using Microsoft.Framework.DependencyInjection;
|
||||
using Microsoft.Framework.Logging;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Microsoft.Extensions.PlatformAbstractions;
|
||||
using AutoMapper;
|
||||
using MusicStore.Apis;
|
||||
using MusicStore.Models;
|
||||
|
||||
@@ -86,7 +81,7 @@ namespace MusicStore
|
||||
// Initialize the sample data
|
||||
SampleData.InitializeMusicStoreDatabaseAsync(app.ApplicationServices).Wait();
|
||||
|
||||
loggerFactory.MinimumLevel = LogLevel.Information;
|
||||
loggerFactory.MinimumLevel = LogLevel.Warning;
|
||||
loggerFactory.AddConsole();
|
||||
loggerFactory.AddDebug();
|
||||
|
||||
|
||||
@@ -5,21 +5,19 @@
|
||||
"defaultNamespace": "MusicStore"
|
||||
},
|
||||
"dependencies": {
|
||||
"Microsoft.AspNet.Diagnostics": "1.0.0-beta8",
|
||||
"Microsoft.AspNet.IISPlatformHandler": "1.0.0-beta8",
|
||||
"Microsoft.AspNet.Mvc": "6.0.0-beta8",
|
||||
"Microsoft.AspNet.Mvc.TagHelpers": "6.0.0-beta8",
|
||||
"Microsoft.AspNet.Server.Kestrel": "1.0.0-beta8",
|
||||
"Microsoft.AspNet.StaticFiles": "1.0.0-beta8",
|
||||
"Microsoft.AspNet.Tooling.Razor": "1.0.0-beta8",
|
||||
"Microsoft.Framework.Configuration.Json": "1.0.0-beta8",
|
||||
"Microsoft.Framework.Logging": "1.0.0-beta8",
|
||||
"Microsoft.Framework.Logging.Console": "1.0.0-beta8",
|
||||
"Microsoft.Framework.Logging.Debug": "1.0.0-beta8",
|
||||
"EntityFramework.SQLite": "7.0.0-beta8",
|
||||
"Microsoft.AspNet.Identity.EntityFramework": "3.0.0-beta8",
|
||||
"AutoMapper": "4.0.0-alpha1",
|
||||
"Microsoft.AspNet.AngularServices": "1.0.0-alpha7"
|
||||
"Microsoft.AspNet.Diagnostics": "1.0.0-rc1-*",
|
||||
"Microsoft.AspNet.IISPlatformHandler": "1.0.0-rc1-*",
|
||||
"Microsoft.AspNet.Mvc": "6.0.0-rc1-*",
|
||||
"Microsoft.AspNet.Mvc.TagHelpers": "6.0.0-rc1-*",
|
||||
"Microsoft.AspNet.Server.Kestrel": "1.0.0-rc1-*",
|
||||
"Microsoft.AspNet.StaticFiles": "1.0.0-rc1-*",
|
||||
"Microsoft.AspNet.Tooling.Razor": "1.0.0-rc1-*",
|
||||
"Microsoft.Extensions.Logging.Console": "1.0.0-rc1-*",
|
||||
"Microsoft.Extensions.Logging.Debug": "1.0.0-rc1-*",
|
||||
"EntityFramework.SQLite": "7.0.0-rc1-*",
|
||||
"Microsoft.AspNet.Identity.EntityFramework": "3.0.0-rc1-*",
|
||||
"Microsoft.AspNet.AngularServices": "1.0.0-alpha7",
|
||||
"AutoMapper": "4.1.1"
|
||||
},
|
||||
"commands": {
|
||||
"web": "Microsoft.AspNet.Server.Kestrel"
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
using Microsoft.AspNet.Builder;
|
||||
using Microsoft.AspNet.Hosting;
|
||||
using Microsoft.Dnx.Runtime;
|
||||
using Microsoft.Framework.Configuration;
|
||||
using Microsoft.Framework.DependencyInjection;
|
||||
using Microsoft.Framework.Logging;
|
||||
using Microsoft.AspNet.NodeServices;
|
||||
using Microsoft.AspNet.Http;
|
||||
using Microsoft.Extensions.PlatformAbstractions;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace ES2015Example
|
||||
{
|
||||
@@ -36,7 +36,7 @@ namespace ES2015Example
|
||||
// Configure is called after ConfigureServices is called.
|
||||
public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory, INodeServices nodeServices)
|
||||
{
|
||||
loggerFactory.MinimumLevel = LogLevel.Information;
|
||||
loggerFactory.MinimumLevel = LogLevel.Warning;
|
||||
loggerFactory.AddConsole();
|
||||
loggerFactory.AddDebug();
|
||||
|
||||
|
||||
@@ -5,17 +5,15 @@
|
||||
"defaultNamespace": "ES2015Example"
|
||||
},
|
||||
"dependencies": {
|
||||
"Microsoft.AspNet.Diagnostics": "1.0.0-beta8",
|
||||
"Microsoft.AspNet.IISPlatformHandler": "1.0.0-beta8",
|
||||
"Microsoft.AspNet.Mvc": "6.0.0-beta8",
|
||||
"Microsoft.AspNet.Mvc.TagHelpers": "6.0.0-beta8",
|
||||
"Microsoft.AspNet.Server.Kestrel": "1.0.0-beta8",
|
||||
"Microsoft.AspNet.StaticFiles": "1.0.0-beta8",
|
||||
"Microsoft.AspNet.Tooling.Razor": "1.0.0-beta8",
|
||||
"Microsoft.Framework.Configuration.Json": "1.0.0-beta8",
|
||||
"Microsoft.Framework.Logging": "1.0.0-beta8",
|
||||
"Microsoft.Framework.Logging.Console": "1.0.0-beta8",
|
||||
"Microsoft.Framework.Logging.Debug": "1.0.0-beta8",
|
||||
"Microsoft.AspNet.Diagnostics": "1.0.0-rc1-*",
|
||||
"Microsoft.AspNet.IISPlatformHandler": "1.0.0-rc1-*",
|
||||
"Microsoft.AspNet.Mvc": "6.0.0-rc1-*",
|
||||
"Microsoft.AspNet.Mvc.TagHelpers": "6.0.0-rc1-*",
|
||||
"Microsoft.AspNet.Server.Kestrel": "1.0.0-rc1-*",
|
||||
"Microsoft.AspNet.StaticFiles": "1.0.0-rc1-*",
|
||||
"Microsoft.AspNet.Tooling.Razor": "1.0.0-rc1-*",
|
||||
"Microsoft.Extensions.Logging.Console": "1.0.0-rc1-*",
|
||||
"Microsoft.Extensions.Logging.Debug": "1.0.0-rc1-*",
|
||||
"Microsoft.AspNet.NodeServices": "1.0.0-alpha7"
|
||||
},
|
||||
"commands": {
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
using Microsoft.AspNet.Builder;
|
||||
using Microsoft.AspNet.Hosting;
|
||||
using Microsoft.AspNet.NodeServices;
|
||||
using Microsoft.Dnx.Runtime;
|
||||
using Microsoft.Framework.Configuration;
|
||||
using Microsoft.Framework.DependencyInjection;
|
||||
using Microsoft.Framework.Logging;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Microsoft.Extensions.PlatformAbstractions;
|
||||
|
||||
namespace ReactExample
|
||||
{
|
||||
@@ -32,7 +31,7 @@ namespace ReactExample
|
||||
// Configure is called after ConfigureServices is called.
|
||||
public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
|
||||
{
|
||||
loggerFactory.MinimumLevel = LogLevel.Information;
|
||||
loggerFactory.MinimumLevel = LogLevel.Warning;
|
||||
loggerFactory.AddConsole();
|
||||
loggerFactory.AddDebug();
|
||||
|
||||
|
||||
@@ -5,17 +5,15 @@
|
||||
"defaultNamespace": "ReactExample"
|
||||
},
|
||||
"dependencies": {
|
||||
"Microsoft.AspNet.Diagnostics": "1.0.0-beta8",
|
||||
"Microsoft.AspNet.IISPlatformHandler": "1.0.0-beta8",
|
||||
"Microsoft.AspNet.Mvc": "6.0.0-beta8",
|
||||
"Microsoft.AspNet.Mvc.TagHelpers": "6.0.0-beta8",
|
||||
"Microsoft.AspNet.Server.Kestrel": "1.0.0-beta8",
|
||||
"Microsoft.AspNet.StaticFiles": "1.0.0-beta8",
|
||||
"Microsoft.AspNet.Tooling.Razor": "1.0.0-beta8",
|
||||
"Microsoft.Framework.Configuration.Json": "1.0.0-beta8",
|
||||
"Microsoft.Framework.Logging": "1.0.0-beta8",
|
||||
"Microsoft.Framework.Logging.Console": "1.0.0-beta8",
|
||||
"Microsoft.Framework.Logging.Debug": "1.0.0-beta8",
|
||||
"Microsoft.AspNet.Diagnostics": "1.0.0-rc1-*",
|
||||
"Microsoft.AspNet.IISPlatformHandler": "1.0.0-rc1-*",
|
||||
"Microsoft.AspNet.Mvc": "6.0.0-rc1-*",
|
||||
"Microsoft.AspNet.Mvc.TagHelpers": "6.0.0-rc1-*",
|
||||
"Microsoft.AspNet.Server.Kestrel": "1.0.0-rc1-*",
|
||||
"Microsoft.AspNet.StaticFiles": "1.0.0-rc1-*",
|
||||
"Microsoft.AspNet.Tooling.Razor": "1.0.0-rc1-*",
|
||||
"Microsoft.Extensions.Logging.Console": "1.0.0-rc1-*",
|
||||
"Microsoft.Extensions.Logging.Debug": "1.0.0-rc1-*",
|
||||
"Microsoft.AspNet.ReactServices": "1.0.0-alpha7"
|
||||
},
|
||||
"commands": {
|
||||
|
||||
Reference in New Issue
Block a user