diff --git a/templates/projects/webbasic/Properties/launchSettings.json b/templates/projects/webbasic/Properties/launchSettings.json index fa450f80..add76a71 100644 --- a/templates/projects/webbasic/Properties/launchSettings.json +++ b/templates/projects/webbasic/Properties/launchSettings.json @@ -1,5 +1,20 @@ { + "iisSettings": { + "windowsAuthentication": false, + "anonymousAuthentication": true, + "iisExpress": { + "applicationUrl": "http://localhost:55462/", + "sslPort": 0 + } + }, "profiles": { + "IIS Express": { + "commandName": "IISExpress", + "launchBrowser": true, + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, "<%= namespace %>": { "commandName": "Project", "launchBrowser": true, diff --git a/templates/projects/webbasic/Startup.cs b/templates/projects/webbasic/Startup.cs index d521980d..2977229b 100755 --- a/templates/projects/webbasic/Startup.cs +++ b/templates/projects/webbasic/Startup.cs @@ -16,11 +16,7 @@ public Startup(IHostingEnvironment env) { var builder = new ConfigurationBuilder() .SetBasePath(env.ContentRootPath) - .AddJsonFile(source => - { - source.Path = "appsettings.json"; - source.ReloadOnChange = true; - }) + .AddJsonFile("appsettings.json", optional: true, reloadOnChange: true) .AddJsonFile($"appsettings.{env.EnvironmentName}.json", optional: true) .AddEnvironmentVariables(); Configuration = builder.Build(); diff --git a/templates/projects/webbasic/project.json b/templates/projects/webbasic/project.json index 98f0f28d..28abc84f 100755 --- a/templates/projects/webbasic/project.json +++ b/templates/projects/webbasic/project.json @@ -1,33 +1,33 @@ { "dependencies": { "Microsoft.NETCore.App": { - "version": "1.0.0-rc2-24008", + "version": "1.0.0-rc2-3002702", "type": "platform" }, - "dotnet-razor-tooling": { - "version": "1.0.0-rc2-20581", + "Microsoft.AspNetCore.Diagnostics": "1.0.0-rc2-final", + "Microsoft.AspNetCore.Mvc": "1.0.0-rc2-final", + "Microsoft.AspNetCore.Razor.Tools": { + "version": "1.0.0-preview1-final", "type": "build" }, - "Microsoft.AspNetCore.Diagnostics": "1.0.0-rc2-20581", - "Microsoft.AspNetCore.Mvc": "1.0.0-rc2-20581", - "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-rc2-20581", - "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-rc2-20581", - "Microsoft.AspNetCore.StaticFiles": "1.0.0-rc2-20581", - "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0-rc2-20581", - "Microsoft.Extensions.Configuration.Json": "1.0.0-rc2-20581", - "Microsoft.Extensions.Logging": "1.0.0-rc2-20581", - "Microsoft.Extensions.Logging.Console": "1.0.0-rc2-20581", - "Microsoft.Extensions.Logging.Debug": "1.0.0-rc2-20581", - "Microsoft.VisualStudio.Web.BrowserLink.Loader": "14.0.0-rc2-20581" + "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-rc2-final", + "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-rc2-final", + "Microsoft.AspNetCore.StaticFiles": "1.0.0-rc2-final", + "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0-rc2-final", + "Microsoft.Extensions.Configuration.Json": "1.0.0-rc2-final", + "Microsoft.Extensions.Logging": "1.0.0-rc2-final", + "Microsoft.Extensions.Logging.Console": "1.0.0-rc2-final", + "Microsoft.Extensions.Logging.Debug": "1.0.0-rc2-final", + "Microsoft.VisualStudio.Web.BrowserLink.Loader": "14.0.0-rc2-final" }, "tools": { - "dotnet-razor-tooling": { - "version": "1.0.0-rc2-20581", + "Microsoft.AspNetCore.Razor.Tools": { + "version": "1.0.0-preview1-final", "imports": "portable-net45+win8+dnxcore50" }, "Microsoft.AspNetCore.Server.IISIntegration.Tools": { - "version": "1.0.0-rc2-20581", + "version": "1.0.0-preview1-final", "imports": "portable-net45+win8+dnxcore50" } }, @@ -42,7 +42,7 @@ } }, - "compilationOptions": { + "buildOptions": { "emitEntryPoint": true, "preserveCompilationContext": true }, @@ -57,10 +57,6 @@ "Views", "appsettings.json", "web.config" - ], - - "exclude": [ - "node_modules" ] }, diff --git a/templates/projects/webbasic/wwwroot/images/banner3.svg b/templates/projects/webbasic/wwwroot/images/banner3.svg index 7dc9ac30..9be2c250 100755 --- a/templates/projects/webbasic/wwwroot/images/banner3.svg +++ b/templates/projects/webbasic/wwwroot/images/banner3.svg @@ -1,178 +1 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +banner3b \ No newline at end of file