diff --git a/dotnet-core-boilerplate/makefile.ps1 b/dotnet-core-boilerplate/makefile.ps1 deleted file mode 100644 index d9dcc40..0000000 --- a/dotnet-core-boilerplate/makefile.ps1 +++ /dev/null @@ -1,22 +0,0 @@ -$dnvm = 'dnvm'; -$install = 'install'; -$version = $env:TARGET_DNX_VERSION ; -$runtime = $env:TARGET_DNX_RUNTIME ; -$architecture = $env:TARGET_DNX_ARCH ; -$platform = $env:platform ; - -#check for dotnet CLI install -if(Test-Path -Path "$env:USERPROFILE\.dnx\runtimes\$version" -eq $false) { - #install if not installed - - & $dnvm $install $version $runtime $architecture $platform -unstable; -} -#check for dotnet runtime intall -#install if not installed - -#check for node runtime install -#install if not installed - -#build projects - -#package projects diff --git a/dotnet-core-boilerplate/readme.md b/dotnet-core-boilerplate/readme.md deleted file mode 100644 index 7e4d6b0..0000000 --- a/dotnet-core-boilerplate/readme.md +++ /dev/null @@ -1 +0,0 @@ -To init development environment diff --git a/dotnet-core-boilerplate/src/JB.Domain.Tests/.gitignore b/dotnet-core-boilerplate/src/JB.Domain.Tests/.gitignore deleted file mode 100644 index 0ca27f0..0000000 --- a/dotnet-core-boilerplate/src/JB.Domain.Tests/.gitignore +++ /dev/null @@ -1,234 +0,0 @@ -## Ignore Visual Studio temporary files, build results, and -## files generated by popular Visual Studio add-ons. - -# User-specific files -*.suo -*.user -*.userosscache -*.sln.docstates - -# User-specific files (MonoDevelop/Xamarin Studio) -*.userprefs - -# Build results -[Dd]ebug/ -[Dd]ebugPublic/ -[Rr]elease/ -[Rr]eleases/ -x64/ -x86/ -build/ -bld/ -[Bb]in/ -[Oo]bj/ - -# Visual Studio 2015 cache/options directory -.vs/ -# Uncomment if you have tasks that create the project's static files in wwwroot -#wwwroot/ - -# MSTest test Results -[Tt]est[Rr]esult*/ -[Bb]uild[Ll]og.* - -# NUNIT -*.VisualState.xml -TestResult.xml - -# Build Results of an ATL Project -[Dd]ebugPS/ -[Rr]eleasePS/ -dlldata.c - -# DNX -project.lock.json -artifacts/ - -*_i.c -*_p.c -*_i.h -*.ilk -*.meta -*.obj -*.pch -*.pdb -*.pgc -*.pgd -*.rsp -*.sbr -*.tlb -*.tli -*.tlh -*.tmp -*.tmp_proj -*.log -*.vspscc -*.vssscc -.builds -*.pidb -*.svclog -*.scc - -# Chutzpah Test files -_Chutzpah* - -# Visual C++ cache files -ipch/ -*.aps -*.ncb -*.opendb -*.opensdf -*.sdf -*.cachefile - -# Visual Studio profiler -*.psess -*.vsp -*.vspx -*.sap - -# TFS 2012 Local Workspace -$tf/ - -# Guidance Automation Toolkit -*.gpState - -# ReSharper is a .NET coding add-in -_ReSharper*/ -*.[Rr]e[Ss]harper -*.DotSettings.user - -# JustCode is a .NET coding add-in -.JustCode - -# TeamCity is a build add-in -_TeamCity* - -# DotCover is a Code Coverage Tool -*.dotCover - -# NCrunch -_NCrunch_* -.*crunch*.local.xml -nCrunchTemp_* - -# MightyMoose -*.mm.* -AutoTest.Net/ - -# Web workbench (sass) -.sass-cache/ - -# Installshield output folder -[Ee]xpress/ - -# DocProject is a documentation generator add-in -DocProject/buildhelp/ -DocProject/Help/*.HxT -DocProject/Help/*.HxC -DocProject/Help/*.hhc -DocProject/Help/*.hhk -DocProject/Help/*.hhp -DocProject/Help/Html2 -DocProject/Help/html - -# Click-Once directory -publish/ - -# Publish Web Output -*.[Pp]ublish.xml -*.azurePubxml -# TODO: Comment the next line if you want to checkin your web deploy settings -# but database connection strings (with potential passwords) will be unencrypted -*.pubxml -*.publishproj - -# NuGet Packages -*.nupkg -# The packages folder can be ignored because of Package Restore -**/packages/* -# except build/, which is used as an MSBuild target. -!**/packages/build/ -# Uncomment if necessary however generally it will be regenerated when needed -#!**/packages/repositories.config - -# Microsoft Azure Build Output -csx/ -*.build.csdef - -# Microsoft Azure Emulator -ecf/ -rcf/ - -# Microsoft Azure ApplicationInsights config file -ApplicationInsights.config - -# Windows Store app package directory -AppPackages/ -BundleArtifacts/ - -# Visual Studio cache files -# files ending in .cache can be ignored -*.[Cc]ache -# but keep track of directories ending in .cache -!*.[Cc]ache/ - -# Others -ClientBin/ -~$* -*~ -*.dbmdl -*.dbproj.schemaview -*.pfx -*.publishsettings -node_modules/ -orleans.codegen.cs - -# RIA/Silverlight projects -Generated_Code/ - -# Backup & report files from converting an old project file -# to a newer Visual Studio version. Backup files are not needed, -# because we have git ;-) -_UpgradeReport_Files/ -Backup*/ -UpgradeLog*.XML -UpgradeLog*.htm - -# SQL Server files -*.mdf -*.ldf - -# Business Intelligence projects -*.rdl.data -*.bim.layout -*.bim_*.settings - -# Microsoft Fakes -FakesAssemblies/ - -# GhostDoc plugin setting file -*.GhostDoc.xml - -# Node.js Tools for Visual Studio -.ntvs_analysis.dat - -# Visual Studio 6 build log -*.plg - -# Visual Studio 6 workspace options file -*.opt - -# Visual Studio LightSwitch build output -**/*.HTMLClient/GeneratedArtifacts -**/*.DesktopClient/GeneratedArtifacts -**/*.DesktopClient/ModelManifest.xml -**/*.Server/GeneratedArtifacts -**/*.Server/ModelManifest.xml -_Pvt_Extensions - -# Paket dependency manager -.paket/paket.exe - -# FAKE - F# Make -.fake/ diff --git a/dotnet-core-boilerplate/src/JB.Domain.Tests/NuGet.config b/dotnet-core-boilerplate/src/JB.Domain.Tests/NuGet.config deleted file mode 100644 index 8fcde76..0000000 --- a/dotnet-core-boilerplate/src/JB.Domain.Tests/NuGet.config +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/dotnet-core-boilerplate/src/JB.Domain.Tests/SampleTest.cs b/dotnet-core-boilerplate/src/JB.Domain.Tests/SampleTest.cs deleted file mode 100644 index 9e1c673..0000000 --- a/dotnet-core-boilerplate/src/JB.Domain.Tests/SampleTest.cs +++ /dev/null @@ -1,29 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using Xunit; - -namespace JB.Domain.Tests -{ - // see example explanation on xUnit.net website: - // https://xunit.github.io/docs/getting-started-dnx.html - public class SampleTest - { - [Fact] - public void PassingTest() - { - Assert.Equal(4, Add(2, 2)); - } - - [Fact] - public void FailingTest() - { - Assert.Equal(5, Add(2, 2)); - } - - int Add(int x, int y) - { - return x + y; - } - } -} diff --git a/dotnet-core-boilerplate/src/JB.Domain.Tests/project.json b/dotnet-core-boilerplate/src/JB.Domain.Tests/project.json deleted file mode 100644 index 97cba81..0000000 --- a/dotnet-core-boilerplate/src/JB.Domain.Tests/project.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "version": "1.0.0-*", - "description": "", - "authors": [ "" ], - "tags": [ "" ], - "projectUrl": "", - "licenseUrl": "", - "tooling": { - "defaultNamespace": "JB.Domain.Tests" - }, - "dependencies": { - "xunit": "2.1.0", - "xunit.runner.dnx": "2.1.0-rc1-build204" - }, - "commands": { - "test": "xunit.runner.dnx" - }, - "frameworks": { - "dnx451": { }, - "dnxcore50": { - "dependencies": { - "Microsoft.CSharp": "4.0.1-beta-23516", - "System.Collections": "4.0.11-beta-23516", - "System.Linq": "4.0.1-beta-23516", - "System.Runtime": "4.0.21-beta-23516", - "System.Threading": "4.0.11-beta-23516" - } - } - } -} diff --git a/dotnet-core-boilerplate/src/JB.Domain/.gitignore b/dotnet-core-boilerplate/src/JB.Domain/.gitignore deleted file mode 100644 index 0ca27f0..0000000 --- a/dotnet-core-boilerplate/src/JB.Domain/.gitignore +++ /dev/null @@ -1,234 +0,0 @@ -## Ignore Visual Studio temporary files, build results, and -## files generated by popular Visual Studio add-ons. - -# User-specific files -*.suo -*.user -*.userosscache -*.sln.docstates - -# User-specific files (MonoDevelop/Xamarin Studio) -*.userprefs - -# Build results -[Dd]ebug/ -[Dd]ebugPublic/ -[Rr]elease/ -[Rr]eleases/ -x64/ -x86/ -build/ -bld/ -[Bb]in/ -[Oo]bj/ - -# Visual Studio 2015 cache/options directory -.vs/ -# Uncomment if you have tasks that create the project's static files in wwwroot -#wwwroot/ - -# MSTest test Results -[Tt]est[Rr]esult*/ -[Bb]uild[Ll]og.* - -# NUNIT -*.VisualState.xml -TestResult.xml - -# Build Results of an ATL Project -[Dd]ebugPS/ -[Rr]eleasePS/ -dlldata.c - -# DNX -project.lock.json -artifacts/ - -*_i.c -*_p.c -*_i.h -*.ilk -*.meta -*.obj -*.pch -*.pdb -*.pgc -*.pgd -*.rsp -*.sbr -*.tlb -*.tli -*.tlh -*.tmp -*.tmp_proj -*.log -*.vspscc -*.vssscc -.builds -*.pidb -*.svclog -*.scc - -# Chutzpah Test files -_Chutzpah* - -# Visual C++ cache files -ipch/ -*.aps -*.ncb -*.opendb -*.opensdf -*.sdf -*.cachefile - -# Visual Studio profiler -*.psess -*.vsp -*.vspx -*.sap - -# TFS 2012 Local Workspace -$tf/ - -# Guidance Automation Toolkit -*.gpState - -# ReSharper is a .NET coding add-in -_ReSharper*/ -*.[Rr]e[Ss]harper -*.DotSettings.user - -# JustCode is a .NET coding add-in -.JustCode - -# TeamCity is a build add-in -_TeamCity* - -# DotCover is a Code Coverage Tool -*.dotCover - -# NCrunch -_NCrunch_* -.*crunch*.local.xml -nCrunchTemp_* - -# MightyMoose -*.mm.* -AutoTest.Net/ - -# Web workbench (sass) -.sass-cache/ - -# Installshield output folder -[Ee]xpress/ - -# DocProject is a documentation generator add-in -DocProject/buildhelp/ -DocProject/Help/*.HxT -DocProject/Help/*.HxC -DocProject/Help/*.hhc -DocProject/Help/*.hhk -DocProject/Help/*.hhp -DocProject/Help/Html2 -DocProject/Help/html - -# Click-Once directory -publish/ - -# Publish Web Output -*.[Pp]ublish.xml -*.azurePubxml -# TODO: Comment the next line if you want to checkin your web deploy settings -# but database connection strings (with potential passwords) will be unencrypted -*.pubxml -*.publishproj - -# NuGet Packages -*.nupkg -# The packages folder can be ignored because of Package Restore -**/packages/* -# except build/, which is used as an MSBuild target. -!**/packages/build/ -# Uncomment if necessary however generally it will be regenerated when needed -#!**/packages/repositories.config - -# Microsoft Azure Build Output -csx/ -*.build.csdef - -# Microsoft Azure Emulator -ecf/ -rcf/ - -# Microsoft Azure ApplicationInsights config file -ApplicationInsights.config - -# Windows Store app package directory -AppPackages/ -BundleArtifacts/ - -# Visual Studio cache files -# files ending in .cache can be ignored -*.[Cc]ache -# but keep track of directories ending in .cache -!*.[Cc]ache/ - -# Others -ClientBin/ -~$* -*~ -*.dbmdl -*.dbproj.schemaview -*.pfx -*.publishsettings -node_modules/ -orleans.codegen.cs - -# RIA/Silverlight projects -Generated_Code/ - -# Backup & report files from converting an old project file -# to a newer Visual Studio version. Backup files are not needed, -# because we have git ;-) -_UpgradeReport_Files/ -Backup*/ -UpgradeLog*.XML -UpgradeLog*.htm - -# SQL Server files -*.mdf -*.ldf - -# Business Intelligence projects -*.rdl.data -*.bim.layout -*.bim_*.settings - -# Microsoft Fakes -FakesAssemblies/ - -# GhostDoc plugin setting file -*.GhostDoc.xml - -# Node.js Tools for Visual Studio -.ntvs_analysis.dat - -# Visual Studio 6 build log -*.plg - -# Visual Studio 6 workspace options file -*.opt - -# Visual Studio LightSwitch build output -**/*.HTMLClient/GeneratedArtifacts -**/*.DesktopClient/GeneratedArtifacts -**/*.DesktopClient/ModelManifest.xml -**/*.Server/GeneratedArtifacts -**/*.Server/ModelManifest.xml -_Pvt_Extensions - -# Paket dependency manager -.paket/paket.exe - -# FAKE - F# Make -.fake/ diff --git a/dotnet-core-boilerplate/src/JB.Domain/Class1.cs b/dotnet-core-boilerplate/src/JB.Domain/Class1.cs deleted file mode 100644 index 9314c2e..0000000 --- a/dotnet-core-boilerplate/src/JB.Domain/Class1.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; - -namespace JB.Domain -{ - public class Class1 - { - public Class1() - { - } - } -} diff --git a/dotnet-core-boilerplate/src/JB.Domain/NuGet.config b/dotnet-core-boilerplate/src/JB.Domain/NuGet.config deleted file mode 100644 index 8fcde76..0000000 --- a/dotnet-core-boilerplate/src/JB.Domain/NuGet.config +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/dotnet-core-boilerplate/src/JB.Domain/project.json b/dotnet-core-boilerplate/src/JB.Domain/project.json deleted file mode 100644 index 876d003..0000000 --- a/dotnet-core-boilerplate/src/JB.Domain/project.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "version": "1.0.0-*", - "description": "JB.Domain Class Library", - "authors": [ "Class Library template" ], - "tags": [""], - "projectUrl": "", - "licenseUrl": "", - "tooling": { - "defaultNamespace": "JB.Domain" - }, - - "frameworks": { - "net451": { }, - "dotnet5.4": { - "dependencies": { - "Microsoft.CSharp": "4.0.1-beta-23516", - "System.Collections": "4.0.11-beta-23516", - "System.Linq": "4.0.1-beta-23516", - "System.Runtime": "4.0.21-beta-23516", - "System.Threading": "4.0.11-beta-23516" - } - } - } -} diff --git a/dotnet-core-boilerplate/src/JB.WebApi/.gitignore b/dotnet-core-boilerplate/src/JB.WebApi/.gitignore deleted file mode 100644 index 0ca27f0..0000000 --- a/dotnet-core-boilerplate/src/JB.WebApi/.gitignore +++ /dev/null @@ -1,234 +0,0 @@ -## Ignore Visual Studio temporary files, build results, and -## files generated by popular Visual Studio add-ons. - -# User-specific files -*.suo -*.user -*.userosscache -*.sln.docstates - -# User-specific files (MonoDevelop/Xamarin Studio) -*.userprefs - -# Build results -[Dd]ebug/ -[Dd]ebugPublic/ -[Rr]elease/ -[Rr]eleases/ -x64/ -x86/ -build/ -bld/ -[Bb]in/ -[Oo]bj/ - -# Visual Studio 2015 cache/options directory -.vs/ -# Uncomment if you have tasks that create the project's static files in wwwroot -#wwwroot/ - -# MSTest test Results -[Tt]est[Rr]esult*/ -[Bb]uild[Ll]og.* - -# NUNIT -*.VisualState.xml -TestResult.xml - -# Build Results of an ATL Project -[Dd]ebugPS/ -[Rr]eleasePS/ -dlldata.c - -# DNX -project.lock.json -artifacts/ - -*_i.c -*_p.c -*_i.h -*.ilk -*.meta -*.obj -*.pch -*.pdb -*.pgc -*.pgd -*.rsp -*.sbr -*.tlb -*.tli -*.tlh -*.tmp -*.tmp_proj -*.log -*.vspscc -*.vssscc -.builds -*.pidb -*.svclog -*.scc - -# Chutzpah Test files -_Chutzpah* - -# Visual C++ cache files -ipch/ -*.aps -*.ncb -*.opendb -*.opensdf -*.sdf -*.cachefile - -# Visual Studio profiler -*.psess -*.vsp -*.vspx -*.sap - -# TFS 2012 Local Workspace -$tf/ - -# Guidance Automation Toolkit -*.gpState - -# ReSharper is a .NET coding add-in -_ReSharper*/ -*.[Rr]e[Ss]harper -*.DotSettings.user - -# JustCode is a .NET coding add-in -.JustCode - -# TeamCity is a build add-in -_TeamCity* - -# DotCover is a Code Coverage Tool -*.dotCover - -# NCrunch -_NCrunch_* -.*crunch*.local.xml -nCrunchTemp_* - -# MightyMoose -*.mm.* -AutoTest.Net/ - -# Web workbench (sass) -.sass-cache/ - -# Installshield output folder -[Ee]xpress/ - -# DocProject is a documentation generator add-in -DocProject/buildhelp/ -DocProject/Help/*.HxT -DocProject/Help/*.HxC -DocProject/Help/*.hhc -DocProject/Help/*.hhk -DocProject/Help/*.hhp -DocProject/Help/Html2 -DocProject/Help/html - -# Click-Once directory -publish/ - -# Publish Web Output -*.[Pp]ublish.xml -*.azurePubxml -# TODO: Comment the next line if you want to checkin your web deploy settings -# but database connection strings (with potential passwords) will be unencrypted -*.pubxml -*.publishproj - -# NuGet Packages -*.nupkg -# The packages folder can be ignored because of Package Restore -**/packages/* -# except build/, which is used as an MSBuild target. -!**/packages/build/ -# Uncomment if necessary however generally it will be regenerated when needed -#!**/packages/repositories.config - -# Microsoft Azure Build Output -csx/ -*.build.csdef - -# Microsoft Azure Emulator -ecf/ -rcf/ - -# Microsoft Azure ApplicationInsights config file -ApplicationInsights.config - -# Windows Store app package directory -AppPackages/ -BundleArtifacts/ - -# Visual Studio cache files -# files ending in .cache can be ignored -*.[Cc]ache -# but keep track of directories ending in .cache -!*.[Cc]ache/ - -# Others -ClientBin/ -~$* -*~ -*.dbmdl -*.dbproj.schemaview -*.pfx -*.publishsettings -node_modules/ -orleans.codegen.cs - -# RIA/Silverlight projects -Generated_Code/ - -# Backup & report files from converting an old project file -# to a newer Visual Studio version. Backup files are not needed, -# because we have git ;-) -_UpgradeReport_Files/ -Backup*/ -UpgradeLog*.XML -UpgradeLog*.htm - -# SQL Server files -*.mdf -*.ldf - -# Business Intelligence projects -*.rdl.data -*.bim.layout -*.bim_*.settings - -# Microsoft Fakes -FakesAssemblies/ - -# GhostDoc plugin setting file -*.GhostDoc.xml - -# Node.js Tools for Visual Studio -.ntvs_analysis.dat - -# Visual Studio 6 build log -*.plg - -# Visual Studio 6 workspace options file -*.opt - -# Visual Studio LightSwitch build output -**/*.HTMLClient/GeneratedArtifacts -**/*.DesktopClient/GeneratedArtifacts -**/*.DesktopClient/ModelManifest.xml -**/*.Server/GeneratedArtifacts -**/*.Server/ModelManifest.xml -_Pvt_Extensions - -# Paket dependency manager -.paket/paket.exe - -# FAKE - F# Make -.fake/ diff --git a/dotnet-core-boilerplate/src/JB.WebApi/Controllers/ValuesController.cs b/dotnet-core-boilerplate/src/JB.WebApi/Controllers/ValuesController.cs deleted file mode 100644 index df30a72..0000000 --- a/dotnet-core-boilerplate/src/JB.WebApi/Controllers/ValuesController.cs +++ /dev/null @@ -1,44 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -using Microsoft.AspNet.Mvc; - -namespace JB.WebApi.Controllers -{ - [Route("api/[controller]")] - public class ValuesController : Controller - { - // GET: api/values - [HttpGet] - public IEnumerable Get() - { - return new string[] { "value1", "value2" }; - } - - // GET api/values/5 - [HttpGet("{id}")] - public string Get(int id) - { - return "value"; - } - - // POST api/values - [HttpPost] - public void Post([FromBody]string value) - { - } - - // PUT api/values/5 - [HttpPut("{id}")] - public void Put(int id, [FromBody]string value) - { - } - - // DELETE api/values/5 - [HttpDelete("{id}")] - public void Delete(int id) - { - } - } -} diff --git a/dotnet-core-boilerplate/src/JB.WebApi/Dockerfile b/dotnet-core-boilerplate/src/JB.WebApi/Dockerfile deleted file mode 100644 index 63d7c45..0000000 --- a/dotnet-core-boilerplate/src/JB.WebApi/Dockerfile +++ /dev/null @@ -1,11 +0,0 @@ -FROM microsoft/aspnet:1.0.0-rc1-update1 - -RUN printf "deb http://ftp.us.debian.org/debian jessie main\n" >> /etc/apt/sources.list -RUN apt-get -qq update && apt-get install -qqy sqlite3 libsqlite3-dev && rm -rf /var/lib/apt/lists/* - -COPY . /app -WORKDIR /app -RUN ["dnu", "restore"] - -EXPOSE 5000/tcp -ENTRYPOINT ["dnx", "-p", "project.json", "web"] diff --git a/dotnet-core-boilerplate/src/JB.WebApi/NuGet.config b/dotnet-core-boilerplate/src/JB.WebApi/NuGet.config deleted file mode 100644 index 8fcde76..0000000 --- a/dotnet-core-boilerplate/src/JB.WebApi/NuGet.config +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/dotnet-core-boilerplate/src/JB.WebApi/Properties/launchSettings.json b/dotnet-core-boilerplate/src/JB.WebApi/Properties/launchSettings.json deleted file mode 100644 index 9576cd3..0000000 --- a/dotnet-core-boilerplate/src/JB.WebApi/Properties/launchSettings.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "profiles": { - "IIS Express": { - "commandName": "IISExpress", - "launchBrowser": true, - "launchUrl": "api/values", - "environmentVariables": { - "ASPNET_ENV": "Development" - } - } - } -} diff --git a/dotnet-core-boilerplate/src/JB.WebApi/Startup.cs b/dotnet-core-boilerplate/src/JB.WebApi/Startup.cs deleted file mode 100644 index a8ac0e4..0000000 --- a/dotnet-core-boilerplate/src/JB.WebApi/Startup.cs +++ /dev/null @@ -1,49 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -using Microsoft.AspNet.Builder; -using Microsoft.AspNet.Hosting; -using Microsoft.Extensions.Configuration; -using Microsoft.Extensions.DependencyInjection; -using Microsoft.Extensions.Logging; - -namespace JB.WebApi -{ - public class Startup - { - public Startup(IHostingEnvironment env) - { - // Set up configuration sources. - var builder = new ConfigurationBuilder() - .AddJsonFile("appsettings.json") - .AddEnvironmentVariables(); - Configuration = builder.Build(); - } - - public IConfigurationRoot Configuration { get; set; } - - // This method gets called by the runtime. Use this method to add services to the container. - public void ConfigureServices(IServiceCollection services) - { - // Add framework services. - services.AddMvc(); - } - - // This method gets called by the runtime. Use this method to configure the HTTP request pipeline. - public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory) - { - loggerFactory.AddConsole(Configuration.GetSection("Logging")); - loggerFactory.AddDebug(); - - app.UseIISPlatformHandler(); - - app.UseStaticFiles(); - - app.UseMvc(); - } - - // Entry point for the application. - public static void Main(string[] args) => Microsoft.AspNet.Hosting.WebApplication.Run(args); - } -} diff --git a/dotnet-core-boilerplate/src/JB.WebApi/appsettings.json b/dotnet-core-boilerplate/src/JB.WebApi/appsettings.json deleted file mode 100644 index f9a8f2e..0000000 --- a/dotnet-core-boilerplate/src/JB.WebApi/appsettings.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "Logging": { - "IncludeScopes": false, - "LogLevel": { - "Default": "Verbose", - "System": "Information", - "Microsoft": "Information" - } - } -} diff --git a/dotnet-core-boilerplate/src/JB.WebApi/project.json b/dotnet-core-boilerplate/src/JB.WebApi/project.json deleted file mode 100644 index 1b734f0..0000000 --- a/dotnet-core-boilerplate/src/JB.WebApi/project.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "version": "1.0.0-*", - "compilationOptions": { - "emitEntryPoint": true - }, - "tooling": { - "defaultNamespace": "JB.WebApi" - }, - - "dependencies": { - "Microsoft.AspNet.IISPlatformHandler": "1.0.0-rc1-final", - "Microsoft.AspNet.Mvc": "6.0.0-rc1-final", - "Microsoft.AspNet.Server.Kestrel": "1.0.0-rc1-final", - "Microsoft.AspNet.StaticFiles": "1.0.0-rc1-final", - "Microsoft.Extensions.Configuration.FileProviderExtensions" : "1.0.0-rc1-final", - "Microsoft.Extensions.Logging": "1.0.0-rc1-final", - "Microsoft.Extensions.Logging.Console": "1.0.0-rc1-final", - "Microsoft.Extensions.Logging.Debug" : "1.0.0-rc1-final" - }, - - "commands": { - "web": "Microsoft.AspNet.Server.Kestrel" - }, - - "frameworks": { - "dnx451": { }, - "dnxcore50": { } - }, - - "exclude": [ - "wwwroot", - "node_modules", - "bower_components" - ], - "publishExclude": [ - "**.user", - "**.vspscc" - ] -} diff --git a/dotnet-core-boilerplate/src/JB.WebApi/wwwroot/README.md b/dotnet-core-boilerplate/src/JB.WebApi/wwwroot/README.md deleted file mode 100644 index 4e494c9..0000000 --- a/dotnet-core-boilerplate/src/JB.WebApi/wwwroot/README.md +++ /dev/null @@ -1,40 +0,0 @@ -# Welcome to ASP.NET 5 - -We've made some big updates in this release, so it’s **important** that you spend a few minutes to learn what’s new. - -You've created a new ASP.NET 5 project. [Learn what's new](http://go.microsoft.com/fwlink/?LinkId=518016) - -## This application consists of: - -* Sample pages using ASP.NET MVC 6 -* [Gulp](http://go.microsoft.com/fwlink/?LinkId=518007) and [Bower](http://go.microsoft.com/fwlink/?LinkId=518004) for managing client-side libraries -* Theming using [Bootstrap](http://go.microsoft.com/fwlink/?LinkID=398939) - -## How to - -* [Add a Controller and View](http://go.microsoft.com/fwlink/?LinkID=398600) -* [Add an appsetting in config and access it in app.](http://go.microsoft.com/fwlink/?LinkID=699562) -* [Manage User Secrets using Secret Manager.](http://go.microsoft.com/fwlink/?LinkId=699315) -* [Use logging to log a message.](http://go.microsoft.com/fwlink/?LinkId=699316) -* [Add packages using NuGet.](http://go.microsoft.com/fwlink/?LinkId=699317) -* [Add client packages using Bower.](http://go.microsoft.com/fwlink/?LinkId=699318) -* [Target development, staging or production environment.](http://go.microsoft.com/fwlink/?LinkId=699319) - -## Overview - -* [Conceptual overview of what is ASP.NET 5](http://go.microsoft.com/fwlink/?LinkId=518008) -* [Fundamentals of ASP.NET 5 such as Startup and middleware.](http://go.microsoft.com/fwlink/?LinkId=699320) -* [Working with Data](http://go.microsoft.com/fwlink/?LinkId=398602) -* [Security](http://go.microsoft.com/fwlink/?LinkId=398603) -* [Client side development](http://go.microsoft.com/fwlink/?LinkID=699321) -* [Develop on different platforms](http://go.microsoft.com/fwlink/?LinkID=699322) -* [Read more on the documentation site](http://go.microsoft.com/fwlink/?LinkID=699323) - -## Run & Deploy - -* [Run your app](http://go.microsoft.com/fwlink/?LinkID=517851) -* [Run your app on .NET Core](http://go.microsoft.com/fwlink/?LinkID=517852) -* [Run commands in your project.json](http://go.microsoft.com/fwlink/?LinkID=517853) -* [Publish to Microsoft Azure Web Apps](http://go.microsoft.com/fwlink/?LinkID=398609) - -We would love to hear your [feedback](http://go.microsoft.com/fwlink/?LinkId=518015) diff --git a/dotnet-core-boilerplate/src/JB.WebApi/wwwroot/web.config b/dotnet-core-boilerplate/src/JB.WebApi/wwwroot/web.config deleted file mode 100644 index db6e6f4..0000000 --- a/dotnet-core-boilerplate/src/JB.WebApi/wwwroot/web.config +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/dotnet-core-boilerplate/src/JB.WebApp/.bowerrc b/dotnet-core-boilerplate/src/JB.WebApp/.bowerrc deleted file mode 100644 index 78d4e9d..0000000 --- a/dotnet-core-boilerplate/src/JB.WebApp/.bowerrc +++ /dev/null @@ -1,3 +0,0 @@ -{ - "directory": "wwwroot/lib" -} diff --git a/dotnet-core-boilerplate/src/JB.WebApp/.gitignore b/dotnet-core-boilerplate/src/JB.WebApp/.gitignore deleted file mode 100644 index 0ca27f0..0000000 --- a/dotnet-core-boilerplate/src/JB.WebApp/.gitignore +++ /dev/null @@ -1,234 +0,0 @@ -## Ignore Visual Studio temporary files, build results, and -## files generated by popular Visual Studio add-ons. - -# User-specific files -*.suo -*.user -*.userosscache -*.sln.docstates - -# User-specific files (MonoDevelop/Xamarin Studio) -*.userprefs - -# Build results -[Dd]ebug/ -[Dd]ebugPublic/ -[Rr]elease/ -[Rr]eleases/ -x64/ -x86/ -build/ -bld/ -[Bb]in/ -[Oo]bj/ - -# Visual Studio 2015 cache/options directory -.vs/ -# Uncomment if you have tasks that create the project's static files in wwwroot -#wwwroot/ - -# MSTest test Results -[Tt]est[Rr]esult*/ -[Bb]uild[Ll]og.* - -# NUNIT -*.VisualState.xml -TestResult.xml - -# Build Results of an ATL Project -[Dd]ebugPS/ -[Rr]eleasePS/ -dlldata.c - -# DNX -project.lock.json -artifacts/ - -*_i.c -*_p.c -*_i.h -*.ilk -*.meta -*.obj -*.pch -*.pdb -*.pgc -*.pgd -*.rsp -*.sbr -*.tlb -*.tli -*.tlh -*.tmp -*.tmp_proj -*.log -*.vspscc -*.vssscc -.builds -*.pidb -*.svclog -*.scc - -# Chutzpah Test files -_Chutzpah* - -# Visual C++ cache files -ipch/ -*.aps -*.ncb -*.opendb -*.opensdf -*.sdf -*.cachefile - -# Visual Studio profiler -*.psess -*.vsp -*.vspx -*.sap - -# TFS 2012 Local Workspace -$tf/ - -# Guidance Automation Toolkit -*.gpState - -# ReSharper is a .NET coding add-in -_ReSharper*/ -*.[Rr]e[Ss]harper -*.DotSettings.user - -# JustCode is a .NET coding add-in -.JustCode - -# TeamCity is a build add-in -_TeamCity* - -# DotCover is a Code Coverage Tool -*.dotCover - -# NCrunch -_NCrunch_* -.*crunch*.local.xml -nCrunchTemp_* - -# MightyMoose -*.mm.* -AutoTest.Net/ - -# Web workbench (sass) -.sass-cache/ - -# Installshield output folder -[Ee]xpress/ - -# DocProject is a documentation generator add-in -DocProject/buildhelp/ -DocProject/Help/*.HxT -DocProject/Help/*.HxC -DocProject/Help/*.hhc -DocProject/Help/*.hhk -DocProject/Help/*.hhp -DocProject/Help/Html2 -DocProject/Help/html - -# Click-Once directory -publish/ - -# Publish Web Output -*.[Pp]ublish.xml -*.azurePubxml -# TODO: Comment the next line if you want to checkin your web deploy settings -# but database connection strings (with potential passwords) will be unencrypted -*.pubxml -*.publishproj - -# NuGet Packages -*.nupkg -# The packages folder can be ignored because of Package Restore -**/packages/* -# except build/, which is used as an MSBuild target. -!**/packages/build/ -# Uncomment if necessary however generally it will be regenerated when needed -#!**/packages/repositories.config - -# Microsoft Azure Build Output -csx/ -*.build.csdef - -# Microsoft Azure Emulator -ecf/ -rcf/ - -# Microsoft Azure ApplicationInsights config file -ApplicationInsights.config - -# Windows Store app package directory -AppPackages/ -BundleArtifacts/ - -# Visual Studio cache files -# files ending in .cache can be ignored -*.[Cc]ache -# but keep track of directories ending in .cache -!*.[Cc]ache/ - -# Others -ClientBin/ -~$* -*~ -*.dbmdl -*.dbproj.schemaview -*.pfx -*.publishsettings -node_modules/ -orleans.codegen.cs - -# RIA/Silverlight projects -Generated_Code/ - -# Backup & report files from converting an old project file -# to a newer Visual Studio version. Backup files are not needed, -# because we have git ;-) -_UpgradeReport_Files/ -Backup*/ -UpgradeLog*.XML -UpgradeLog*.htm - -# SQL Server files -*.mdf -*.ldf - -# Business Intelligence projects -*.rdl.data -*.bim.layout -*.bim_*.settings - -# Microsoft Fakes -FakesAssemblies/ - -# GhostDoc plugin setting file -*.GhostDoc.xml - -# Node.js Tools for Visual Studio -.ntvs_analysis.dat - -# Visual Studio 6 build log -*.plg - -# Visual Studio 6 workspace options file -*.opt - -# Visual Studio LightSwitch build output -**/*.HTMLClient/GeneratedArtifacts -**/*.DesktopClient/GeneratedArtifacts -**/*.DesktopClient/ModelManifest.xml -**/*.Server/GeneratedArtifacts -**/*.Server/ModelManifest.xml -_Pvt_Extensions - -# Paket dependency manager -.paket/paket.exe - -# FAKE - F# Make -.fake/ diff --git a/dotnet-core-boilerplate/src/JB.WebApp/Controllers/HomeController.cs b/dotnet-core-boilerplate/src/JB.WebApp/Controllers/HomeController.cs deleted file mode 100644 index c526518..0000000 --- a/dotnet-core-boilerplate/src/JB.WebApp/Controllers/HomeController.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -using Microsoft.AspNet.Mvc; - -namespace JB.WebApp.Controllers -{ - public class HomeController : Controller - { - public IActionResult Index() - { - return View(); - } - - public IActionResult About() - { - ViewData["Message"] = "Your application description page."; - - return View(); - } - - public IActionResult Contact() - { - ViewData["Message"] = "Your contact page."; - - return View(); - } - - public IActionResult Error() - { - return View(); - } - } -} diff --git a/dotnet-core-boilerplate/src/JB.WebApp/Dockerfile b/dotnet-core-boilerplate/src/JB.WebApp/Dockerfile deleted file mode 100644 index 63d7c45..0000000 --- a/dotnet-core-boilerplate/src/JB.WebApp/Dockerfile +++ /dev/null @@ -1,11 +0,0 @@ -FROM microsoft/aspnet:1.0.0-rc1-update1 - -RUN printf "deb http://ftp.us.debian.org/debian jessie main\n" >> /etc/apt/sources.list -RUN apt-get -qq update && apt-get install -qqy sqlite3 libsqlite3-dev && rm -rf /var/lib/apt/lists/* - -COPY . /app -WORKDIR /app -RUN ["dnu", "restore"] - -EXPOSE 5000/tcp -ENTRYPOINT ["dnx", "-p", "project.json", "web"] diff --git a/dotnet-core-boilerplate/src/JB.WebApp/NuGet.config b/dotnet-core-boilerplate/src/JB.WebApp/NuGet.config deleted file mode 100644 index 8fcde76..0000000 --- a/dotnet-core-boilerplate/src/JB.WebApp/NuGet.config +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/dotnet-core-boilerplate/src/JB.WebApp/README.md b/dotnet-core-boilerplate/src/JB.WebApp/README.md deleted file mode 100644 index 4e494c9..0000000 --- a/dotnet-core-boilerplate/src/JB.WebApp/README.md +++ /dev/null @@ -1,40 +0,0 @@ -# Welcome to ASP.NET 5 - -We've made some big updates in this release, so it’s **important** that you spend a few minutes to learn what’s new. - -You've created a new ASP.NET 5 project. [Learn what's new](http://go.microsoft.com/fwlink/?LinkId=518016) - -## This application consists of: - -* Sample pages using ASP.NET MVC 6 -* [Gulp](http://go.microsoft.com/fwlink/?LinkId=518007) and [Bower](http://go.microsoft.com/fwlink/?LinkId=518004) for managing client-side libraries -* Theming using [Bootstrap](http://go.microsoft.com/fwlink/?LinkID=398939) - -## How to - -* [Add a Controller and View](http://go.microsoft.com/fwlink/?LinkID=398600) -* [Add an appsetting in config and access it in app.](http://go.microsoft.com/fwlink/?LinkID=699562) -* [Manage User Secrets using Secret Manager.](http://go.microsoft.com/fwlink/?LinkId=699315) -* [Use logging to log a message.](http://go.microsoft.com/fwlink/?LinkId=699316) -* [Add packages using NuGet.](http://go.microsoft.com/fwlink/?LinkId=699317) -* [Add client packages using Bower.](http://go.microsoft.com/fwlink/?LinkId=699318) -* [Target development, staging or production environment.](http://go.microsoft.com/fwlink/?LinkId=699319) - -## Overview - -* [Conceptual overview of what is ASP.NET 5](http://go.microsoft.com/fwlink/?LinkId=518008) -* [Fundamentals of ASP.NET 5 such as Startup and middleware.](http://go.microsoft.com/fwlink/?LinkId=699320) -* [Working with Data](http://go.microsoft.com/fwlink/?LinkId=398602) -* [Security](http://go.microsoft.com/fwlink/?LinkId=398603) -* [Client side development](http://go.microsoft.com/fwlink/?LinkID=699321) -* [Develop on different platforms](http://go.microsoft.com/fwlink/?LinkID=699322) -* [Read more on the documentation site](http://go.microsoft.com/fwlink/?LinkID=699323) - -## Run & Deploy - -* [Run your app](http://go.microsoft.com/fwlink/?LinkID=517851) -* [Run your app on .NET Core](http://go.microsoft.com/fwlink/?LinkID=517852) -* [Run commands in your project.json](http://go.microsoft.com/fwlink/?LinkID=517853) -* [Publish to Microsoft Azure Web Apps](http://go.microsoft.com/fwlink/?LinkID=398609) - -We would love to hear your [feedback](http://go.microsoft.com/fwlink/?LinkId=518015) diff --git a/dotnet-core-boilerplate/src/JB.WebApp/Startup.cs b/dotnet-core-boilerplate/src/JB.WebApp/Startup.cs deleted file mode 100644 index 85990ae..0000000 --- a/dotnet-core-boilerplate/src/JB.WebApp/Startup.cs +++ /dev/null @@ -1,63 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -using Microsoft.AspNet.Builder; -using Microsoft.AspNet.Hosting; -using Microsoft.Extensions.Configuration; -using Microsoft.Extensions.DependencyInjection; -using Microsoft.Extensions.Logging; - -namespace JB.WebApp -{ - public class Startup - { - public Startup(IHostingEnvironment env) - { - // Set up configuration sources. - var builder = new ConfigurationBuilder() - .AddJsonFile("appsettings.json") - .AddEnvironmentVariables(); - Configuration = builder.Build(); - } - - public IConfigurationRoot Configuration { get; set; } - - // This method gets called by the runtime. Use this method to add services to the container. - public void ConfigureServices(IServiceCollection services) - { - // Add framework services. - services.AddMvc(); - } - - // This method gets called by the runtime. Use this method to configure the HTTP request pipeline. - public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory) - { - loggerFactory.AddConsole(Configuration.GetSection("Logging")); - loggerFactory.AddDebug(); - - if (env.IsDevelopment()) - { - app.UseDeveloperExceptionPage(); - } - else - { - app.UseExceptionHandler("/Home/Error"); - } - - app.UseIISPlatformHandler(); - - app.UseStaticFiles(); - - app.UseMvc(routes => - { - routes.MapRoute( - name: "default", - template: "{controller=Home}/{action=Index}/{id?}"); - }); - } - - // Entry point for the application. - public static void Main(string[] args) => Microsoft.AspNet.Hosting.WebApplication.Run(args); - } -} diff --git a/dotnet-core-boilerplate/src/JB.WebApp/Views/Home/About.cshtml b/dotnet-core-boilerplate/src/JB.WebApp/Views/Home/About.cshtml deleted file mode 100644 index 74e97d9..0000000 --- a/dotnet-core-boilerplate/src/JB.WebApp/Views/Home/About.cshtml +++ /dev/null @@ -1,7 +0,0 @@ -@{ - ViewData["Title"] = "About"; -} -

@ViewData["Title"].

-

@ViewData["Message"]

- -

Use this area to provide additional information.

diff --git a/dotnet-core-boilerplate/src/JB.WebApp/Views/Home/Contact.cshtml b/dotnet-core-boilerplate/src/JB.WebApp/Views/Home/Contact.cshtml deleted file mode 100644 index cddb37e..0000000 --- a/dotnet-core-boilerplate/src/JB.WebApp/Views/Home/Contact.cshtml +++ /dev/null @@ -1,17 +0,0 @@ -@{ - ViewData["Title"] = "Contact"; -} -

@ViewData["Title"].

-

@ViewData["Message"]

- -
- One Microsoft Way
- Redmond, WA 98052-6399
- P: - 425.555.0100 -
- -
- Support: Support@example.com
- Marketing: Marketing@example.com -
diff --git a/dotnet-core-boilerplate/src/JB.WebApp/Views/Home/Index.cshtml b/dotnet-core-boilerplate/src/JB.WebApp/Views/Home/Index.cshtml deleted file mode 100644 index 7528409..0000000 --- a/dotnet-core-boilerplate/src/JB.WebApp/Views/Home/Index.cshtml +++ /dev/null @@ -1,110 +0,0 @@ -@{ - ViewData["Title"] = "Home Page"; -} - - - - diff --git a/dotnet-core-boilerplate/src/JB.WebApp/Views/Shared/Error.cshtml b/dotnet-core-boilerplate/src/JB.WebApp/Views/Shared/Error.cshtml deleted file mode 100644 index a288cb0..0000000 --- a/dotnet-core-boilerplate/src/JB.WebApp/Views/Shared/Error.cshtml +++ /dev/null @@ -1,6 +0,0 @@ -@{ - ViewData["Title"] = "Error"; -} - -

Error.

-

An error occurred while processing your request.

diff --git a/dotnet-core-boilerplate/src/JB.WebApp/Views/Shared/_Layout.cshtml b/dotnet-core-boilerplate/src/JB.WebApp/Views/Shared/_Layout.cshtml deleted file mode 100644 index 5763f8f..0000000 --- a/dotnet-core-boilerplate/src/JB.WebApp/Views/Shared/_Layout.cshtml +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - @ViewData["Title"] - JB.WebApp - - - - - - - - - - - - -
- @RenderBody() -
-
-

© 2016 - JB.WebApp

-
-
- - - - - - - - - - - - - @RenderSection("scripts", required: false) - - diff --git a/dotnet-core-boilerplate/src/JB.WebApp/Views/_ViewImports.cshtml b/dotnet-core-boilerplate/src/JB.WebApp/Views/_ViewImports.cshtml deleted file mode 100644 index 29f82a5..0000000 --- a/dotnet-core-boilerplate/src/JB.WebApp/Views/_ViewImports.cshtml +++ /dev/null @@ -1,2 +0,0 @@ -@using JB.WebApp -@addTagHelper "*, Microsoft.AspNet.Mvc.TagHelpers" diff --git a/dotnet-core-boilerplate/src/JB.WebApp/Views/_ViewStart.cshtml b/dotnet-core-boilerplate/src/JB.WebApp/Views/_ViewStart.cshtml deleted file mode 100644 index 66b5da2..0000000 --- a/dotnet-core-boilerplate/src/JB.WebApp/Views/_ViewStart.cshtml +++ /dev/null @@ -1,3 +0,0 @@ -@{ - Layout = "_Layout"; -} diff --git a/dotnet-core-boilerplate/src/JB.WebApp/appsettings.json b/dotnet-core-boilerplate/src/JB.WebApp/appsettings.json deleted file mode 100644 index e5472e5..0000000 --- a/dotnet-core-boilerplate/src/JB.WebApp/appsettings.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "Logging": { - "IncludeScopes": false, - "LogLevel": { - "Default": "Verbose", - "System": "Information", - "Microsoft": "Information" - } - } -} diff --git a/dotnet-core-boilerplate/src/JB.WebApp/bower.json b/dotnet-core-boilerplate/src/JB.WebApp/bower.json deleted file mode 100644 index 49cf0d7..0000000 --- a/dotnet-core-boilerplate/src/JB.WebApp/bower.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "name": "JB.WebApp", - "private": true, - "dependencies": { - "bootstrap": "3.3.5", - "jquery": "2.1.4", - "jquery-validation": "1.14.0", - "jquery-validation-unobtrusive": "3.2.4" - } -} diff --git a/dotnet-core-boilerplate/src/JB.WebApp/gulpfile.js b/dotnet-core-boilerplate/src/JB.WebApp/gulpfile.js deleted file mode 100644 index 207899c..0000000 --- a/dotnet-core-boilerplate/src/JB.WebApp/gulpfile.js +++ /dev/null @@ -1,47 +0,0 @@ -/// -"use strict"; - -var gulp = require("gulp"), - rimraf = require("rimraf"), - concat = require("gulp-concat"), - cssmin = require("gulp-cssmin"), - uglify = require("gulp-uglify"); - -var webroot = "./wwwroot/"; - -var paths = { - js: webroot + "js/**/*.js", - minJs: webroot + "js/**/*.min.js", - css: webroot + "css/**/*.css", - minCss: webroot + "css/**/*.min.css", - concatJsDest: webroot + "js/site.min.js", - concatCssDest: webroot + "css/site.min.css" -}; - -gulp.task("clean:js", function (cb) { - rimraf(paths.concatJsDest, cb); -}); - -gulp.task("clean:css", function (cb) { - rimraf(paths.concatCssDest, cb); -}); - -gulp.task("clean", ["clean:js", "clean:css"]); - -gulp.task("min:js", function () { - return gulp.src([paths.js, "!" + paths.minJs], { - base: "." - }) - .pipe(concat(paths.concatJsDest)) - .pipe(uglify()) - .pipe(gulp.dest(".")); -}); - -gulp.task("min:css", function () { - return gulp.src([paths.css, "!" + paths.minCss]) - .pipe(concat(paths.concatCssDest)) - .pipe(cssmin()) - .pipe(gulp.dest(".")); -}); - -gulp.task("min", ["min:js", "min:css"]); diff --git a/dotnet-core-boilerplate/src/JB.WebApp/package.json b/dotnet-core-boilerplate/src/JB.WebApp/package.json deleted file mode 100644 index e8491b5..0000000 --- a/dotnet-core-boilerplate/src/JB.WebApp/package.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "name": "JB.WebApp", - "version": "0.0.0", - "devDependencies": { - "gulp": "^3.9.0", - "gulp-concat": "2.5.2", - "gulp-cssmin": "0.1.7", - "gulp-uglify": "1.2.0", - "rimraf": "2.2.8" - } -} diff --git a/dotnet-core-boilerplate/src/JB.WebApp/project.json b/dotnet-core-boilerplate/src/JB.WebApp/project.json deleted file mode 100644 index 41924fd..0000000 --- a/dotnet-core-boilerplate/src/JB.WebApp/project.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "version": "1.0.0-*", - "compilationOptions": { - "emitEntryPoint": true - }, - "tooling": { - "defaultNamespace": "JB.WebApp" - }, - - "dependencies": { - "Microsoft.AspNet.Diagnostics": "1.0.0-*", - "Microsoft.AspNet.IISPlatformHandler": "1.0.0-*", - "Microsoft.AspNet.Mvc": "6.0.0-*", - "Microsoft.AspNet.Mvc.TagHelpers": "6.0.0-*", - "Microsoft.AspNet.Server.Kestrel": "1.0.0-*", - "Microsoft.AspNet.StaticFiles": "1.0.0-*", - "Microsoft.AspNet.Tooling.Razor": "1.0.0-*", - "Microsoft.Extensions.Configuration.FileProviderExtensions" : "1.0.0-*", - "Microsoft.Extensions.Configuration.Json": "1.0.0-*", - "Microsoft.Extensions.Logging": "1.0.0-*", - "Microsoft.Extensions.Logging.Console": "1.0.0-*", - "Microsoft.Extensions.Logging.Debug": "1.0.0-*" - }, - - "commands": { - "web": "Microsoft.AspNet.Server.Kestrel" - }, - - "frameworks": { - "dnx451": {}, - "dnxcore50": {} - }, - - "exclude": [ - "wwwroot", - "node_modules", - "bower_components" - ], - "publishExclude": [ - "node_modules", - "bower_components", - "**.xproj", - "**.user", - "**.vspscc" - ], - "scripts": { - "prepublish": [ - "npm install", - "bower install", - "gulp clean", - "gulp min" - ] - } -} diff --git a/dotnet-core-boilerplate/src/JB.WebApp/wwwroot/css/site.css b/dotnet-core-boilerplate/src/JB.WebApp/wwwroot/css/site.css deleted file mode 100644 index b67b92c..0000000 --- a/dotnet-core-boilerplate/src/JB.WebApp/wwwroot/css/site.css +++ /dev/null @@ -1,24 +0,0 @@ -body { - padding-top: 50px; - padding-bottom: 20px; -} - -/* Wrapping element */ -/* Set some basic padding to keep content from hitting the edges */ -.body-content { - padding-left: 15px; - padding-right: 15px; -} - -/* Set widths on the form inputs since otherwise they're 100% wide */ -input, -select, -textarea { - max-width: 280px; -} - -/* Carousel */ -.carousel-caption p { - font-size: 20px; - line-height: 1.4; -} diff --git a/dotnet-core-boilerplate/src/JB.WebApp/wwwroot/css/site.min.css b/dotnet-core-boilerplate/src/JB.WebApp/wwwroot/css/site.min.css deleted file mode 100644 index 1547cbc..0000000 --- a/dotnet-core-boilerplate/src/JB.WebApp/wwwroot/css/site.min.css +++ /dev/null @@ -1 +0,0 @@ -body{padding-top:50px;padding-bottom:20px}.body-content{padding-left:15px;padding-right:15px}input,select,textarea{max-width:280px}.carousel-caption p{font-size:20px;line-height:1.4} diff --git a/dotnet-core-boilerplate/src/JB.WebApp/wwwroot/favicon.ico b/dotnet-core-boilerplate/src/JB.WebApp/wwwroot/favicon.ico deleted file mode 100644 index a3a7999..0000000 Binary files a/dotnet-core-boilerplate/src/JB.WebApp/wwwroot/favicon.ico and /dev/null differ diff --git a/dotnet-core-boilerplate/src/JB.WebApp/wwwroot/images/ASP-NET-Banners-01.png b/dotnet-core-boilerplate/src/JB.WebApp/wwwroot/images/ASP-NET-Banners-01.png deleted file mode 100644 index ad3c267..0000000 Binary files a/dotnet-core-boilerplate/src/JB.WebApp/wwwroot/images/ASP-NET-Banners-01.png and /dev/null differ diff --git a/dotnet-core-boilerplate/src/JB.WebApp/wwwroot/images/ASP-NET-Banners-02.png b/dotnet-core-boilerplate/src/JB.WebApp/wwwroot/images/ASP-NET-Banners-02.png deleted file mode 100644 index 16c37fc..0000000 Binary files a/dotnet-core-boilerplate/src/JB.WebApp/wwwroot/images/ASP-NET-Banners-02.png and /dev/null differ diff --git a/dotnet-core-boilerplate/src/JB.WebApp/wwwroot/images/Banner-01-Azure.png b/dotnet-core-boilerplate/src/JB.WebApp/wwwroot/images/Banner-01-Azure.png deleted file mode 100644 index 59fb923..0000000 Binary files a/dotnet-core-boilerplate/src/JB.WebApp/wwwroot/images/Banner-01-Azure.png and /dev/null differ diff --git a/dotnet-core-boilerplate/src/JB.WebApp/wwwroot/images/Banner-02-VS.png b/dotnet-core-boilerplate/src/JB.WebApp/wwwroot/images/Banner-02-VS.png deleted file mode 100644 index c9f4611..0000000 Binary files a/dotnet-core-boilerplate/src/JB.WebApp/wwwroot/images/Banner-02-VS.png and /dev/null differ diff --git a/dotnet-core-boilerplate/src/JB.WebApp/wwwroot/js/site.js b/dotnet-core-boilerplate/src/JB.WebApp/wwwroot/js/site.js deleted file mode 100644 index 1dacbec..0000000 --- a/dotnet-core-boilerplate/src/JB.WebApp/wwwroot/js/site.js +++ /dev/null @@ -1 +0,0 @@ -// Write your Javascript code. diff --git a/dotnet-core-boilerplate/src/JB.WebApp/wwwroot/js/site.min.js b/dotnet-core-boilerplate/src/JB.WebApp/wwwroot/js/site.min.js deleted file mode 100644 index e69de29..0000000 diff --git a/dotnet-core-boilerplate/src/JB.WebApp/wwwroot/web.config b/dotnet-core-boilerplate/src/JB.WebApp/wwwroot/web.config deleted file mode 100644 index db6e6f4..0000000 --- a/dotnet-core-boilerplate/src/JB.WebApp/wwwroot/web.config +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - -