From f2175e6c238280a05d2c77c576d4163a5313a6a8 Mon Sep 17 00:00:00 2001
From: Steve Sanderson
Date: Thu, 16 Nov 2017 10:17:14 +0000
Subject: [PATCH] Remove all samples from SpaServices.Extensions OOB release
branch, since we only want to build the one package
---
JavaScriptServices.sln | 28 +--
samples/misc/LatencyTest/LatencyTest.csproj | 18 --
samples/misc/LatencyTest/Program.cs | 52 ----
samples/misc/LatencyTest/latencyTest.js | 4 -
samples/misc/NodeServicesExamples/.gitignore | 2 -
.../Controllers/HomeController.cs | 57 -----
.../Node/prerenderPage.js | 14 --
.../NodeServicesExamples/Node/renderChart.js | 8 -
.../Node/transpilation.js | 12 -
.../NodeServicesExamples.csproj | 27 --
samples/misc/NodeServicesExamples/Startup.cs | 70 ------
.../Views/Home/Chart.cshtml | 12 -
.../Views/Home/ES2015Transpilation.cshtml | 16 --
.../Views/Home/Index.cshtml | 13 -
.../Views/Home/Prerendering.cshtml | 21 --
.../Views/Shared/Error.cshtml | 6 -
.../Views/Shared/_Layout.cshtml | 12 -
.../Views/_ViewImports.cshtml | 2 -
.../Views/_ViewStart.cshtml | 3 -
.../NodeServicesExamples/appsettings.json | 1 -
.../misc/NodeServicesExamples/jsconfig.json | 6 -
.../misc/NodeServicesExamples/package.json | 10 -
.../wwwroot/css/chartist.min.css | 1 -
.../NodeServicesExamples/wwwroot/favicon.ico | Bin 32038 -> 0 bytes
.../NodeServicesExamples/wwwroot/js/main.js | 7 -
.../NodeServicesExamples/wwwroot/web.config | 9 -
samples/misc/Webpack/.gitignore | 233 ------------------
.../Webpack/ActionResults/PrerenderResult.cs | 51 ----
.../PrerenderResultExtensions.cs | 13 -
samples/misc/Webpack/Clientside/App.ts | 4 -
samples/misc/Webpack/Clientside/HelloWorld.ts | 5 -
.../misc/Webpack/Clientside/styles/main.less | 5 -
.../Webpack/Controllers/HomeController.cs | 16 --
.../Webpack/Properties/launchSettings.json | 25 --
samples/misc/Webpack/Startup.cs | 60 -----
samples/misc/Webpack/Views/Home/Index.cshtml | 10 -
.../misc/Webpack/Views/Shared/Error.cshtml | 6 -
.../misc/Webpack/Views/Shared/_Layout.cshtml | 14 --
.../misc/Webpack/Views/_ViewImports.cshtml | 2 -
samples/misc/Webpack/Views/_ViewStart.cshtml | 3 -
samples/misc/Webpack/Webpack.csproj | 27 --
samples/misc/Webpack/appsettings.json | 10 -
samples/misc/Webpack/package.json | 20 --
samples/misc/Webpack/tsconfig.json | 13 -
samples/misc/Webpack/webpack.config.dev.js | 8 -
samples/misc/Webpack/webpack.config.js | 25 --
samples/misc/Webpack/webpack.config.prod.js | 15 --
samples/misc/Webpack/wwwroot/favicon.ico | Bin 32038 -> 0 bytes
samples/misc/Webpack/wwwroot/web.config | 9 -
49 files changed, 1 insertion(+), 984 deletions(-)
delete mode 100644 samples/misc/LatencyTest/LatencyTest.csproj
delete mode 100755 samples/misc/LatencyTest/Program.cs
delete mode 100644 samples/misc/LatencyTest/latencyTest.js
delete mode 100644 samples/misc/NodeServicesExamples/.gitignore
delete mode 100755 samples/misc/NodeServicesExamples/Controllers/HomeController.cs
delete mode 100644 samples/misc/NodeServicesExamples/Node/prerenderPage.js
delete mode 100644 samples/misc/NodeServicesExamples/Node/renderChart.js
delete mode 100644 samples/misc/NodeServicesExamples/Node/transpilation.js
delete mode 100644 samples/misc/NodeServicesExamples/NodeServicesExamples.csproj
delete mode 100755 samples/misc/NodeServicesExamples/Startup.cs
delete mode 100644 samples/misc/NodeServicesExamples/Views/Home/Chart.cshtml
delete mode 100755 samples/misc/NodeServicesExamples/Views/Home/ES2015Transpilation.cshtml
delete mode 100644 samples/misc/NodeServicesExamples/Views/Home/Index.cshtml
delete mode 100644 samples/misc/NodeServicesExamples/Views/Home/Prerendering.cshtml
delete mode 100755 samples/misc/NodeServicesExamples/Views/Shared/Error.cshtml
delete mode 100755 samples/misc/NodeServicesExamples/Views/Shared/_Layout.cshtml
delete mode 100755 samples/misc/NodeServicesExamples/Views/_ViewImports.cshtml
delete mode 100755 samples/misc/NodeServicesExamples/Views/_ViewStart.cshtml
delete mode 100755 samples/misc/NodeServicesExamples/appsettings.json
delete mode 100644 samples/misc/NodeServicesExamples/jsconfig.json
delete mode 100644 samples/misc/NodeServicesExamples/package.json
delete mode 100644 samples/misc/NodeServicesExamples/wwwroot/css/chartist.min.css
delete mode 100755 samples/misc/NodeServicesExamples/wwwroot/favicon.ico
delete mode 100644 samples/misc/NodeServicesExamples/wwwroot/js/main.js
delete mode 100644 samples/misc/NodeServicesExamples/wwwroot/web.config
delete mode 100644 samples/misc/Webpack/.gitignore
delete mode 100644 samples/misc/Webpack/ActionResults/PrerenderResult.cs
delete mode 100644 samples/misc/Webpack/ActionResults/PrerenderResultExtensions.cs
delete mode 100644 samples/misc/Webpack/Clientside/App.ts
delete mode 100644 samples/misc/Webpack/Clientside/HelloWorld.ts
delete mode 100644 samples/misc/Webpack/Clientside/styles/main.less
delete mode 100755 samples/misc/Webpack/Controllers/HomeController.cs
delete mode 100644 samples/misc/Webpack/Properties/launchSettings.json
delete mode 100755 samples/misc/Webpack/Startup.cs
delete mode 100755 samples/misc/Webpack/Views/Home/Index.cshtml
delete mode 100755 samples/misc/Webpack/Views/Shared/Error.cshtml
delete mode 100755 samples/misc/Webpack/Views/Shared/_Layout.cshtml
delete mode 100755 samples/misc/Webpack/Views/_ViewImports.cshtml
delete mode 100755 samples/misc/Webpack/Views/_ViewStart.cshtml
delete mode 100644 samples/misc/Webpack/Webpack.csproj
delete mode 100755 samples/misc/Webpack/appsettings.json
delete mode 100644 samples/misc/Webpack/package.json
delete mode 100644 samples/misc/Webpack/tsconfig.json
delete mode 100644 samples/misc/Webpack/webpack.config.dev.js
delete mode 100644 samples/misc/Webpack/webpack.config.js
delete mode 100644 samples/misc/Webpack/webpack.config.prod.js
delete mode 100755 samples/misc/Webpack/wwwroot/favicon.ico
delete mode 100644 samples/misc/Webpack/wwwroot/web.config
diff --git a/JavaScriptServices.sln b/JavaScriptServices.sln
index f01aa1a..dc3a3c3 100644
--- a/JavaScriptServices.sln
+++ b/JavaScriptServices.sln
@@ -1,7 +1,7 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
-VisualStudioVersion = 15.0.26730.16
+VisualStudioVersion = 15.0.27019.1
MinimumVisualStudioVersion = 15.0.26730.03
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{27304DDE-AFB2-4F8B-B765-E3E2F11E886C}"
ProjectSection(SolutionItems) = preProject
@@ -21,16 +21,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "misc", "misc", "{99EAF1FE-2
README.md = README.md
EndProjectSection
EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{23836492-E7F4-4376-85BF-A635C304AC46}"
-EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "misc", "misc", "{E6A161EA-646C-4033-9090-95BE809AB8D9}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LatencyTest", "samples\misc\LatencyTest\LatencyTest.csproj", "{1931B19A-EC42-4D56-B2D0-FB06D17244DA}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Webpack", "samples\misc\Webpack\Webpack.csproj", "{DE479DC3-1461-4EAD-A188-4AF7AA4AE344}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NodeServicesExamples", "samples\misc\NodeServicesExamples\NodeServicesExamples.csproj", "{93EFCC5F-C6EE-4623-894F-A42B22C0B6FE}"
-EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{645F7363-1240-4FB6-9422-B32A327C979F}"
ProjectSection(SolutionItems) = preProject
Directory.Build.props = Directory.Build.props
@@ -57,18 +47,6 @@ Global
{66B071A8-EFC8-4A06-BEF6-06B99AE27EEC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{66B071A8-EFC8-4A06-BEF6-06B99AE27EEC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{66B071A8-EFC8-4A06-BEF6-06B99AE27EEC}.Release|Any CPU.Build.0 = Release|Any CPU
- {1931B19A-EC42-4D56-B2D0-FB06D17244DA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {1931B19A-EC42-4D56-B2D0-FB06D17244DA}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {1931B19A-EC42-4D56-B2D0-FB06D17244DA}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {1931B19A-EC42-4D56-B2D0-FB06D17244DA}.Release|Any CPU.Build.0 = Release|Any CPU
- {DE479DC3-1461-4EAD-A188-4AF7AA4AE344}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {DE479DC3-1461-4EAD-A188-4AF7AA4AE344}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {DE479DC3-1461-4EAD-A188-4AF7AA4AE344}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {DE479DC3-1461-4EAD-A188-4AF7AA4AE344}.Release|Any CPU.Build.0 = Release|Any CPU
- {93EFCC5F-C6EE-4623-894F-A42B22C0B6FE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {93EFCC5F-C6EE-4623-894F-A42B22C0B6FE}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {93EFCC5F-C6EE-4623-894F-A42B22C0B6FE}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {93EFCC5F-C6EE-4623-894F-A42B22C0B6FE}.Release|Any CPU.Build.0 = Release|Any CPU
{D40BD1C4-6A6F-4213-8535-1057F3EB3400}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D40BD1C4-6A6F-4213-8535-1057F3EB3400}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D40BD1C4-6A6F-4213-8535-1057F3EB3400}.Release|Any CPU.ActiveCfg = Release|Any CPU
@@ -81,10 +59,6 @@ Global
{66B77203-1469-41DF-92F2-2BE6900BD36F} = {27304DDE-AFB2-4F8B-B765-E3E2F11E886C}
{F46DEF99-6FAA-4406-B5D8-6FF34EF669E3} = {27304DDE-AFB2-4F8B-B765-E3E2F11E886C}
{66B071A8-EFC8-4A06-BEF6-06B99AE27EEC} = {27304DDE-AFB2-4F8B-B765-E3E2F11E886C}
- {E6A161EA-646C-4033-9090-95BE809AB8D9} = {23836492-E7F4-4376-85BF-A635C304AC46}
- {1931B19A-EC42-4D56-B2D0-FB06D17244DA} = {E6A161EA-646C-4033-9090-95BE809AB8D9}
- {DE479DC3-1461-4EAD-A188-4AF7AA4AE344} = {E6A161EA-646C-4033-9090-95BE809AB8D9}
- {93EFCC5F-C6EE-4623-894F-A42B22C0B6FE} = {E6A161EA-646C-4033-9090-95BE809AB8D9}
{D40BD1C4-6A6F-4213-8535-1057F3EB3400} = {27304DDE-AFB2-4F8B-B765-E3E2F11E886C}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
diff --git a/samples/misc/LatencyTest/LatencyTest.csproj b/samples/misc/LatencyTest/LatencyTest.csproj
deleted file mode 100644
index af95fb2..0000000
--- a/samples/misc/LatencyTest/LatencyTest.csproj
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
- netcoreapp2.0;net461
- false
- exe
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/samples/misc/LatencyTest/Program.cs b/samples/misc/LatencyTest/Program.cs
deleted file mode 100755
index bafe4b9..0000000
--- a/samples/misc/LatencyTest/Program.cs
+++ /dev/null
@@ -1,52 +0,0 @@
-using System;
-using System.Diagnostics;
-using System.IO;
-using System.Threading.Tasks;
-using Microsoft.AspNetCore.NodeServices;
-using Microsoft.AspNetCore.NodeServices.Sockets;
-using Microsoft.Extensions.DependencyInjection;
-
-namespace ConsoleApplication
-{
- // This project is a micro-benchmark for .NET->Node RPC via NodeServices. It doesn't reflect
- // real-world usage patterns (you're not likely to make hundreds of sequential calls like this),
- // but is a starting point for comparing the overhead of different hosting models and transports.
- public class Program
- {
- public static void Main(string[] args) {
- // Set up the DI system
- var services = new ServiceCollection();
- services.AddNodeServices(options => {
- // To compare with Socket hosting, uncomment the following line
- // Since .NET Core 1.1, the HTTP hosting model has become basically as fast as the Socket hosting model
- //options.UseSocketHosting();
-
- options.WatchFileExtensions = new string[] {}; // Don't watch anything
- });
- var serviceProvider = services.BuildServiceProvider();
-
- // Now instantiate an INodeServices and use it
- using (var nodeServices = serviceProvider.GetRequiredService()) {
- MeasureLatency(nodeServices).Wait();
- }
- }
-
- private static async Task MeasureLatency(INodeServices nodeServices) {
- // Ensure the connection is open, so we can measure per-request timings below
- var response = await nodeServices.InvokeAsync("latencyTest", "C#");
- Console.WriteLine(response);
-
- // Now perform a series of requests, capturing the time taken
- const int requestCount = 100;
- var watch = Stopwatch.StartNew();
- for (var i = 0; i < requestCount; i++) {
- await nodeServices.InvokeAsync("latencyTest", "C#");
- }
-
- // Display results
- var elapsedSeconds = (float)watch.ElapsedTicks / Stopwatch.Frequency;
- Console.WriteLine("\nTotal time: {0:F2} milliseconds", 1000 * elapsedSeconds);
- Console.WriteLine("\nTime per invocation: {0:F2} milliseconds", 1000 * elapsedSeconds / requestCount);
- }
- }
-}
diff --git a/samples/misc/LatencyTest/latencyTest.js b/samples/misc/LatencyTest/latencyTest.js
deleted file mode 100644
index 9feb344..0000000
--- a/samples/misc/LatencyTest/latencyTest.js
+++ /dev/null
@@ -1,4 +0,0 @@
-module.exports = function(callback, incomingParam1) {
- var result = 'Hello, ' + incomingParam1 + '!';
- callback(/* error */ null, result);
-}
diff --git a/samples/misc/NodeServicesExamples/.gitignore b/samples/misc/NodeServicesExamples/.gitignore
deleted file mode 100644
index 6330d42..0000000
--- a/samples/misc/NodeServicesExamples/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-/node_modules/
-/Properties/launchSettings.json
diff --git a/samples/misc/NodeServicesExamples/Controllers/HomeController.cs b/samples/misc/NodeServicesExamples/Controllers/HomeController.cs
deleted file mode 100755
index d9f3241..0000000
--- a/samples/misc/NodeServicesExamples/Controllers/HomeController.cs
+++ /dev/null
@@ -1,57 +0,0 @@
-using System.Threading.Tasks;
-using Microsoft.AspNetCore.Mvc;
-using Microsoft.AspNetCore.NodeServices;
-using Microsoft.AspNetCore.SpaServices.Prerendering;
-
-namespace NodeServicesExamples.Controllers
-{
- public class HomeController : Controller
- {
- public IActionResult Index(int pageIndex)
- {
- return View();
- }
-
- public IActionResult ES2015Transpilation()
- {
- return View();
- }
-
- public async Task Chart([FromServices] INodeServices nodeServices)
- {
- var options = new { width = 400, height = 200, showArea = true, showPoint = true, fullWidth = true };
- var data = new
- {
- labels = new[] { "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" },
- series = new[] {
- new[] { 1, 5, 2, 5, 4, 3 },
- new[] { 2, 3, 4, 8, 1, 2 },
- new[] { 5, 4, 3, 2, 1, 0 }
- }
- };
-
- ViewData["ChartMarkup"] = await nodeServices.InvokeAsync("./Node/renderChart", "line", options, data);
-
- return View();
- }
-
- public async Task Prerendering([FromServices] ISpaPrerenderer prerenderer)
- {
- var result = await prerenderer.RenderToString("./Node/prerenderPage");
-
- if (!string.IsNullOrEmpty(result.RedirectUrl))
- {
- return Redirect(result.RedirectUrl);
- }
-
- ViewData["PrerenderedHtml"] = result.Html;
- ViewData["PrerenderedGlobals"] = result.CreateGlobalsAssignmentScript();
- return View();
- }
-
- public IActionResult Error()
- {
- return View("~/Views/Shared/Error.cshtml");
- }
- }
-}
diff --git a/samples/misc/NodeServicesExamples/Node/prerenderPage.js b/samples/misc/NodeServicesExamples/Node/prerenderPage.js
deleted file mode 100644
index 7912a6f..0000000
--- a/samples/misc/NodeServicesExamples/Node/prerenderPage.js
+++ /dev/null
@@ -1,14 +0,0 @@
-var createServerRenderer = require('aspnet-prerendering').createServerRenderer;
-
-module.exports = createServerRenderer(function(params) {
- return new Promise(function (resolve, reject) {
- var message = 'The HTML was returned by the prerendering boot function. '
- + 'The boot function received the following params:'
- + '
' + JSON.stringify(params, null, 4) + '
';
-
- resolve({
- html: '
Hello, world!
' + message,
- globals: { sampleData: { nodeVersion: process.version } }
- });
- });
-});
diff --git a/samples/misc/NodeServicesExamples/Node/renderChart.js b/samples/misc/NodeServicesExamples/Node/renderChart.js
deleted file mode 100644
index 370df76..0000000
--- a/samples/misc/NodeServicesExamples/Node/renderChart.js
+++ /dev/null
@@ -1,8 +0,0 @@
-var generate = require('node-chartist');
-
-module.exports = function (callback, type, options, data) {
- generate(type, options, data).then(
- result => callback(null, result), // Success case
- error => callback(error) // Error case
- );
-};
diff --git a/samples/misc/NodeServicesExamples/Node/transpilation.js b/samples/misc/NodeServicesExamples/Node/transpilation.js
deleted file mode 100644
index 86f605a..0000000
--- a/samples/misc/NodeServicesExamples/Node/transpilation.js
+++ /dev/null
@@ -1,12 +0,0 @@
-var fs = require('fs');
-var babelCore = require('babel-core');
-
-module.exports = function(cb, physicalPath, requestPath) {
- var originalContents = fs.readFileSync(physicalPath);
- var result = babelCore.transform(originalContents, {
- presets: ['es2015'],
- sourceMaps: 'inline',
- sourceFileName: '/sourcemapped' + requestPath
- });
- cb(null, result.code);
-}
diff --git a/samples/misc/NodeServicesExamples/NodeServicesExamples.csproj b/samples/misc/NodeServicesExamples/NodeServicesExamples.csproj
deleted file mode 100644
index 6256916..0000000
--- a/samples/misc/NodeServicesExamples/NodeServicesExamples.csproj
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
- netcoreapp2.0;net461
- true
- false
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/samples/misc/NodeServicesExamples/Startup.cs b/samples/misc/NodeServicesExamples/Startup.cs
deleted file mode 100755
index 26f2ae8..0000000
--- a/samples/misc/NodeServicesExamples/Startup.cs
+++ /dev/null
@@ -1,70 +0,0 @@
-using Microsoft.AspNetCore.Builder;
-using Microsoft.AspNetCore.Hosting;
-using Microsoft.AspNetCore.Http;
-using Microsoft.AspNetCore.NodeServices;
-using Microsoft.Extensions.DependencyInjection;
-using Microsoft.Extensions.Logging;
-using System.IO;
-
-namespace NodeServicesExamples
-{
- public class Startup
- {
- // This method gets called by the runtime. Use this method to add services to the container.
- public void ConfigureServices(IServiceCollection services)
- {
- services.AddMvc();
-
- // Enable Node Services
- services.AddNodeServices();
- services.AddSpaPrerenderer();
- }
-
- // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
- public void Configure(IApplicationBuilder app, ILoggerFactory loggerFactory, IHostingEnvironment env, INodeServices nodeServices)
- {
- app.UseDeveloperExceptionPage();
-
- // Dynamically transpile any .js files under the '/js/' directory
- app.Use(next => async context => {
- var requestPath = context.Request.Path.Value;
- if (requestPath.StartsWith("/js/") && requestPath.EndsWith(".js")) {
- var fileInfo = env.WebRootFileProvider.GetFileInfo(requestPath);
- if (fileInfo.Exists) {
- var transpiled = await nodeServices.InvokeAsync("./Node/transpilation.js", fileInfo.PhysicalPath, requestPath);
- await context.Response.WriteAsync(transpiled);
- return;
- }
- }
-
- // Not a JS file, or doesn't exist - let some other middleware handle it
- await next.Invoke(context);
- });
-
- app.UseStaticFiles();
- app.UseMvc(routes =>
- {
- routes.MapRoute(
- name: "default",
- template: "{controller=Home}/{action=Index}/{id?}");
- });
- }
-
- public static void Main(string[] args)
- {
- var host = new WebHostBuilder()
- .ConfigureLogging(factory =>
- {
- factory.AddConsole();
- factory.AddDebug();
- })
- .UseContentRoot(Directory.GetCurrentDirectory())
- .UseIISIntegration()
- .UseKestrel()
- .UseStartup()
- .Build();
-
- host.Run();
- }
- }
-}
diff --git a/samples/misc/NodeServicesExamples/Views/Home/Chart.cshtml b/samples/misc/NodeServicesExamples/Views/Home/Chart.cshtml
deleted file mode 100644
index 2775261..0000000
--- a/samples/misc/NodeServicesExamples/Views/Home/Chart.cshtml
+++ /dev/null
@@ -1,12 +0,0 @@
-
Server-rendered chart
-
-
- This sample demonstrates how arbitrary NPM modules can be invoked from .NET code.
-
-
- In this case, we use node-chartist to render the following chart on the server. The output is
- identical to what you'd get if you used chartist.js
- on the client, except that in this example, we're not executing any client-side code at all.
-
- This sample demonstrates a way of intercepting requests for .js files and dynamically transpiling them
- from ES2015 code to browser-compatible ES5 code using the Babel library.
-
-
-
- To see that it's working, open your browser's 'Debug' console and look for the log message. This is
- produced by the file /js/main.js, which is transpiled from ES2015 dynamically
- when requested.
-
- These examples demonstrate the direct use of the NodeServices package, independently of the usual SPA scenarios.
- In general, NodeServices offers an efficient way to use Node-provided functionality (e.g., NPM modules) from inside
- a .NET application.
-
- This sample demonstrates how you can invoke a JavaScript module that contains
- prerendering logic for a Single-Page Application framework.
-
-
- Your prerendering boot function will receive parameters that describe the page
- being rendered and any data supplied by the .NET code. The return value should be
- a promise that resolves with data to be injected into the page, such as the
- rendered HTML and any global data that should be made available to client-side code.
-
-
-@Html.Raw(ViewData["PrerenderedHtml"])
-
-
-
-
diff --git a/samples/misc/NodeServicesExamples/Views/Shared/Error.cshtml b/samples/misc/NodeServicesExamples/Views/Shared/Error.cshtml
deleted file mode 100755
index 473b35d..0000000
--- a/samples/misc/NodeServicesExamples/Views/Shared/Error.cshtml
+++ /dev/null
@@ -1,6 +0,0 @@
-@{
- ViewData["Title"] = "Error";
-}
-
-
Error.
-
An error occurred while processing your request.
diff --git a/samples/misc/NodeServicesExamples/Views/Shared/_Layout.cshtml b/samples/misc/NodeServicesExamples/Views/Shared/_Layout.cshtml
deleted file mode 100755
index 9331431..0000000
--- a/samples/misc/NodeServicesExamples/Views/Shared/_Layout.cshtml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
- NodeServices Examples
-
-
-
- @RenderBody()
- @RenderSection("scripts", required: false)
-
-
diff --git a/samples/misc/NodeServicesExamples/Views/_ViewImports.cshtml b/samples/misc/NodeServicesExamples/Views/_ViewImports.cshtml
deleted file mode 100755
index 340f37c..0000000
--- a/samples/misc/NodeServicesExamples/Views/_ViewImports.cshtml
+++ /dev/null
@@ -1,2 +0,0 @@
-@using NodeServicesExamples
-@addTagHelper "*, Microsoft.AspNetCore.Mvc.TagHelpers"
diff --git a/samples/misc/NodeServicesExamples/Views/_ViewStart.cshtml b/samples/misc/NodeServicesExamples/Views/_ViewStart.cshtml
deleted file mode 100755
index 820a2f6..0000000
--- a/samples/misc/NodeServicesExamples/Views/_ViewStart.cshtml
+++ /dev/null
@@ -1,3 +0,0 @@
-@{
- Layout = "_Layout";
-}
diff --git a/samples/misc/NodeServicesExamples/appsettings.json b/samples/misc/NodeServicesExamples/appsettings.json
deleted file mode 100755
index 0967ef4..0000000
--- a/samples/misc/NodeServicesExamples/appsettings.json
+++ /dev/null
@@ -1 +0,0 @@
-{}
diff --git a/samples/misc/NodeServicesExamples/jsconfig.json b/samples/misc/NodeServicesExamples/jsconfig.json
deleted file mode 100644
index 875bb90..0000000
--- a/samples/misc/NodeServicesExamples/jsconfig.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "compilerOptions": {
- "target": "ES6",
- "module": "commonjs"
- }
-}
diff --git a/samples/misc/NodeServicesExamples/package.json b/samples/misc/NodeServicesExamples/package.json
deleted file mode 100644
index 9787758..0000000
--- a/samples/misc/NodeServicesExamples/package.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "name": "nodeservicesexamples",
- "version": "0.0.0",
- "dependencies": {
- "aspnet-prerendering": "^2.0.6",
- "babel-core": "^6.7.4",
- "babel-preset-es2015": "^6.6.0",
- "node-chartist": "^1.0.2"
- }
-}
diff --git a/samples/misc/NodeServicesExamples/wwwroot/css/chartist.min.css b/samples/misc/NodeServicesExamples/wwwroot/css/chartist.min.css
deleted file mode 100644
index 9f9b908..0000000
--- a/samples/misc/NodeServicesExamples/wwwroot/css/chartist.min.css
+++ /dev/null
@@ -1 +0,0 @@
-.ct-double-octave:after,.ct-major-eleventh:after,.ct-major-second:after,.ct-major-seventh:after,.ct-major-sixth:after,.ct-major-tenth:after,.ct-major-third:after,.ct-major-twelfth:after,.ct-minor-second:after,.ct-minor-seventh:after,.ct-minor-sixth:after,.ct-minor-third:after,.ct-octave:after,.ct-perfect-fifth:after,.ct-perfect-fourth:after,.ct-square:after{content:"";clear:both}.ct-label{fill:rgba(0,0,0,.4);color:rgba(0,0,0,.4);font-size:.75rem;line-height:1}.ct-grid-background,.ct-line{fill:none}.ct-chart-bar .ct-label,.ct-chart-line .ct-label{display:block;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.ct-chart-donut .ct-label,.ct-chart-pie .ct-label{dominant-baseline:central}.ct-label.ct-horizontal.ct-start{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-label.ct-horizontal.ct-end{-webkit-box-align:flex-start;-webkit-align-items:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-label.ct-vertical.ct-start{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:flex-end;-webkit-justify-content:flex-end;-ms-flex-pack:flex-end;justify-content:flex-end;text-align:right;text-anchor:end}.ct-label.ct-vertical.ct-end{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-chart-bar .ct-label.ct-horizontal.ct-start{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;text-align:center;text-anchor:start}.ct-chart-bar .ct-label.ct-horizontal.ct-end{-webkit-box-align:flex-start;-webkit-align-items:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;text-align:center;text-anchor:start}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-horizontal.ct-start{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-horizontal.ct-end{-webkit-box-align:flex-start;-webkit-align-items:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-vertical.ct-start{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:flex-end;-webkit-justify-content:flex-end;-ms-flex-pack:flex-end;justify-content:flex-end;text-align:right;text-anchor:end}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-vertical.ct-end{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:end}.ct-grid{stroke:rgba(0,0,0,.2);stroke-width:1px;stroke-dasharray:2px}.ct-point{stroke-width:10px;stroke-linecap:round}.ct-line{stroke-width:4px}.ct-area{stroke:none;fill-opacity:.1}.ct-bar{fill:none;stroke-width:10px}.ct-slice-donut{fill:none;stroke-width:60px}.ct-series-a .ct-bar,.ct-series-a .ct-line,.ct-series-a .ct-point,.ct-series-a .ct-slice-donut{stroke:#d70206}.ct-series-a .ct-area,.ct-series-a .ct-slice-pie{fill:#d70206}.ct-series-b .ct-bar,.ct-series-b .ct-line,.ct-series-b .ct-point,.ct-series-b .ct-slice-donut{stroke:#f05b4f}.ct-series-b .ct-area,.ct-series-b .ct-slice-pie{fill:#f05b4f}.ct-series-c .ct-bar,.ct-series-c .ct-line,.ct-series-c .ct-point,.ct-series-c .ct-slice-donut{stroke:#f4c63d}.ct-series-c .ct-area,.ct-series-c .ct-slice-pie{fill:#f4c63d}.ct-series-d .ct-bar,.ct-series-d .ct-line,.ct-series-d .ct-point,.ct-series-d .ct-slice-donut{stroke:#d17905}.ct-series-d .ct-area,.ct-series-d .ct-slice-pie{fill:#d17905}.ct-series-e .ct-bar,.ct-series-e .ct-line,.ct-series-e .ct-point,.ct-series-e .ct-slice-donut{stroke:#453d3f}.ct-series-e .ct-area,.ct-series-e .ct-slice-pie{fill:#453d3f}.ct-series-f .ct-bar,.ct-series-f .ct-line,.ct-series-f .ct-point,.ct-series-f .ct-slice-donut{stroke:#59922b}.ct-series-f .ct-area,.ct-series-f .ct-slice-pie{fill:#59922b}.ct-series-g .ct-bar,.ct-series-g .ct-line,.ct-series-g .ct-point,.ct-series-g .ct-slice-donut{stroke:#0544d3}.ct-series-g .ct-area,.ct-series-g .ct-slice-pie{fill:#0544d3}.ct-series-h .ct-bar,.ct-series-h .ct-line,.ct-series-h .ct-point,.ct-series-h .ct-slice-donut{stroke:#6b0392}.ct-series-h .ct-area,.ct-series-h .ct-slice-pie{fill:#6b0392}.ct-series-i .ct-bar,.ct-series-i .ct-line,.ct-series-i .ct-point,.ct-series-i .ct-slice-donut{stroke:#f05b4f}.ct-series-i .ct-area,.ct-series-i .ct-slice-pie{fill:#f05b4f}.ct-series-j .ct-bar,.ct-series-j .ct-line,.ct-series-j .ct-point,.ct-series-j .ct-slice-donut{stroke:#dda458}.ct-series-j .ct-area,.ct-series-j .ct-slice-pie{fill:#dda458}.ct-series-k .ct-bar,.ct-series-k .ct-line,.ct-series-k .ct-point,.ct-series-k .ct-slice-donut{stroke:#eacf7d}.ct-series-k .ct-area,.ct-series-k .ct-slice-pie{fill:#eacf7d}.ct-series-l .ct-bar,.ct-series-l .ct-line,.ct-series-l .ct-point,.ct-series-l .ct-slice-donut{stroke:#86797d}.ct-series-l .ct-area,.ct-series-l .ct-slice-pie{fill:#86797d}.ct-series-m .ct-bar,.ct-series-m .ct-line,.ct-series-m .ct-point,.ct-series-m .ct-slice-donut{stroke:#b2c326}.ct-series-m .ct-area,.ct-series-m .ct-slice-pie{fill:#b2c326}.ct-series-n .ct-bar,.ct-series-n .ct-line,.ct-series-n .ct-point,.ct-series-n .ct-slice-donut{stroke:#6188e2}.ct-series-n .ct-area,.ct-series-n .ct-slice-pie{fill:#6188e2}.ct-series-o .ct-bar,.ct-series-o .ct-line,.ct-series-o .ct-point,.ct-series-o .ct-slice-donut{stroke:#a748ca}.ct-series-o .ct-area,.ct-series-o .ct-slice-pie{fill:#a748ca}.ct-square{display:block;position:relative;width:100%}.ct-square:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:100%}.ct-square:after{display:table}.ct-square>svg{display:block;position:absolute;top:0;left:0}.ct-minor-second{display:block;position:relative;width:100%}.ct-minor-second:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:93.75%}.ct-minor-second:after{display:table}.ct-minor-second>svg{display:block;position:absolute;top:0;left:0}.ct-major-second{display:block;position:relative;width:100%}.ct-major-second:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:88.8888888889%}.ct-major-second:after{display:table}.ct-major-second>svg{display:block;position:absolute;top:0;left:0}.ct-minor-third{display:block;position:relative;width:100%}.ct-minor-third:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:83.3333333333%}.ct-minor-third:after{display:table}.ct-minor-third>svg{display:block;position:absolute;top:0;left:0}.ct-major-third{display:block;position:relative;width:100%}.ct-major-third:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:80%}.ct-major-third:after{display:table}.ct-major-third>svg{display:block;position:absolute;top:0;left:0}.ct-perfect-fourth{display:block;position:relative;width:100%}.ct-perfect-fourth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:75%}.ct-perfect-fourth:after{display:table}.ct-perfect-fourth>svg{display:block;position:absolute;top:0;left:0}.ct-perfect-fifth{display:block;position:relative;width:100%}.ct-perfect-fifth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:66.6666666667%}.ct-perfect-fifth:after{display:table}.ct-perfect-fifth>svg{display:block;position:absolute;top:0;left:0}.ct-minor-sixth{display:block;position:relative;width:100%}.ct-minor-sixth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:62.5%}.ct-minor-sixth:after{display:table}.ct-minor-sixth>svg{display:block;position:absolute;top:0;left:0}.ct-golden-section{display:block;position:relative;width:100%}.ct-golden-section:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:61.804697157%}.ct-golden-section:after{content:"";display:table;clear:both}.ct-golden-section>svg{display:block;position:absolute;top:0;left:0}.ct-major-sixth{display:block;position:relative;width:100%}.ct-major-sixth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:60%}.ct-major-sixth:after{display:table}.ct-major-sixth>svg{display:block;position:absolute;top:0;left:0}.ct-minor-seventh{display:block;position:relative;width:100%}.ct-minor-seventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:56.25%}.ct-minor-seventh:after{display:table}.ct-minor-seventh>svg{display:block;position:absolute;top:0;left:0}.ct-major-seventh{display:block;position:relative;width:100%}.ct-major-seventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:53.3333333333%}.ct-major-seventh:after{display:table}.ct-major-seventh>svg{display:block;position:absolute;top:0;left:0}.ct-octave{display:block;position:relative;width:100%}.ct-octave:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:50%}.ct-octave:after{display:table}.ct-octave>svg{display:block;position:absolute;top:0;left:0}.ct-major-tenth{display:block;position:relative;width:100%}.ct-major-tenth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:40%}.ct-major-tenth:after{display:table}.ct-major-tenth>svg{display:block;position:absolute;top:0;left:0}.ct-major-eleventh{display:block;position:relative;width:100%}.ct-major-eleventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:37.5%}.ct-major-eleventh:after{display:table}.ct-major-eleventh>svg{display:block;position:absolute;top:0;left:0}.ct-major-twelfth{display:block;position:relative;width:100%}.ct-major-twelfth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:33.3333333333%}.ct-major-twelfth:after{display:table}.ct-major-twelfth>svg{display:block;position:absolute;top:0;left:0}.ct-double-octave{display:block;position:relative;width:100%}.ct-double-octave:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:25%}.ct-double-octave:after{display:table}.ct-double-octave>svg{display:block;position:absolute;top:0;left:0}
\ No newline at end of file
diff --git a/samples/misc/NodeServicesExamples/wwwroot/favicon.ico b/samples/misc/NodeServicesExamples/wwwroot/favicon.ico
deleted file mode 100755
index a3a799985c43bc7309d701b2cad129023377dc71..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 32038
zcmeHwX>eTEbtY7aYbrGrkNjgie?1jXjZ#zP%3n{}GObKv$BxI7Sl;Bwl5E+Qtj&t8
z*p|m4DO#HoJC-FyvNnp8NP<{Na0LMnTtO21(rBP}?EAiNjWgeO?z`{3ZoURUQlV2d
zY1Pqv{m|X_oO91|?^z!6@@~od!@OH>&BN;>c@O+yUfy5w>LccTKJJ&`-k<%M^Zvi(
z<$dKp=jCnNX5Qa+M_%6g|IEv~4R84q9|7E=|Ho(Wz3f-0wPjaRL;W*N^>q%^KGRr7
zxbjSORb_c&eO;oV_DZ7ua!sPH=0c+W;`vzJ#j~-x3uj};50#vqo*0w4!LUqs*UCh9
zvy2S%$#8$K4EOa&e@~aBS65_hc~Mpu=454VT2^KzWqEpBA=ME|O;1cn?8p<+{MKJf
zbK#@1wzL44m$k(?85=Obido7=C|xWKe%66$z)NrzRwR>?hK?_bbwT
z@Da?lBrBL}Zemo1@!9pYRau&!ld17h{f+UV0sY(R{ET$PBB|-=Nr@l-nY6w8HEAw*
zRMIQU`24Jl_IFEPcS=_HdrOP5yf81z_?@M>83Vv65$QFr9nPg(wr`Ke8
zaY4ogdnMA*F7a4Q1_uXadTLUpCk;$ZPRRJ^sMOch;rlbvUGc1R9=u;dr9YANbQ<4Z
z#P|Cp9BP$FXNPolgyr1XGt$^lFPF}rmBF5rj1Kh5%dforrP8W}_qJL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-
-
-
diff --git a/samples/misc/Webpack/.gitignore b/samples/misc/Webpack/.gitignore
deleted file mode 100644
index 1363491..0000000
--- a/samples/misc/Webpack/.gitignore
+++ /dev/null
@@ -1,233 +0,0 @@
-## Ignore Visual Studio temporary files, build results, and
-## files generated by popular Visual Studio add-ons.
-
-yarn.lock
-wwwroot/dist
-
-# 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
-
-*_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/samples/misc/Webpack/ActionResults/PrerenderResult.cs b/samples/misc/Webpack/ActionResults/PrerenderResult.cs
deleted file mode 100644
index 4f2c8f5..0000000
--- a/samples/misc/Webpack/ActionResults/PrerenderResult.cs
+++ /dev/null
@@ -1,51 +0,0 @@
-using System.Threading.Tasks;
-using Microsoft.AspNetCore.Hosting;
-using Microsoft.AspNetCore.Http;
-using Microsoft.AspNetCore.Http.Extensions;
-using Microsoft.AspNetCore.Mvc;
-using Microsoft.AspNetCore.NodeServices;
-using Microsoft.AspNetCore.SpaServices.Prerendering;
-using Microsoft.Extensions.DependencyInjection;
-
-namespace Webpack.ActionResults
-{
- // This is an example of how you could invoke the prerendering API from an ActionResult, so as to
- // prerender a SPA component as the entire response page (instead of injecting the SPA component
- // into a Razor view's output)
- public class PrerenderResult : ActionResult
- {
- private JavaScriptModuleExport _moduleExport;
- private object _dataToSupply;
-
- public PrerenderResult(JavaScriptModuleExport moduleExport, object dataToSupply = null)
- {
- _moduleExport = moduleExport;
- _dataToSupply = dataToSupply;
- }
-
- public override async Task ExecuteResultAsync(ActionContext context)
- {
- var nodeServices = context.HttpContext.RequestServices.GetRequiredService();
- var hostEnv = context.HttpContext.RequestServices.GetRequiredService();
- var applicationLifetime = context.HttpContext.RequestServices.GetRequiredService();
- var applicationBasePath = hostEnv.ContentRootPath;
- var request = context.HttpContext.Request;
- var response = context.HttpContext.Response;
-
- var prerenderedHtml = await Prerenderer.RenderToString(
- applicationBasePath,
- nodeServices,
- applicationLifetime.ApplicationStopping,
- _moduleExport,
- request.GetEncodedUrl(),
- request.Path + request.QueryString.Value,
- _dataToSupply,
- /* timeoutMilliseconds */ 30000,
- /* requestPathBase */ "/"
- );
-
- response.ContentType = "text/html";
- await response.WriteAsync(prerenderedHtml.Html);
- }
- }
-}
\ No newline at end of file
diff --git a/samples/misc/Webpack/ActionResults/PrerenderResultExtensions.cs b/samples/misc/Webpack/ActionResults/PrerenderResultExtensions.cs
deleted file mode 100644
index 926e114..0000000
--- a/samples/misc/Webpack/ActionResults/PrerenderResultExtensions.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-using Microsoft.AspNetCore.Mvc;
-using Microsoft.AspNetCore.SpaServices.Prerendering;
-
-namespace Webpack.ActionResults
-{
- public static class PrerenderResultExtensions
- {
- public static PrerenderResult Prerender(this ControllerBase controller, JavaScriptModuleExport exportToPrerender, object dataToSupply = null)
- {
- return new PrerenderResult(exportToPrerender, dataToSupply);
- }
- }
-}
diff --git a/samples/misc/Webpack/Clientside/App.ts b/samples/misc/Webpack/Clientside/App.ts
deleted file mode 100644
index 07a4e77..0000000
--- a/samples/misc/Webpack/Clientside/App.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-import { HelloWorld } from './HelloWorld';
-import './styles/main.less';
-
-new HelloWorld().doIt();
diff --git a/samples/misc/Webpack/Clientside/HelloWorld.ts b/samples/misc/Webpack/Clientside/HelloWorld.ts
deleted file mode 100644
index 512dcf9..0000000
--- a/samples/misc/Webpack/Clientside/HelloWorld.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-export class HelloWorld {
- public doIt() {
- console.log('Hello from MyApp');
- }
-}
diff --git a/samples/misc/Webpack/Clientside/styles/main.less b/samples/misc/Webpack/Clientside/styles/main.less
deleted file mode 100644
index ea61843..0000000
--- a/samples/misc/Webpack/Clientside/styles/main.less
+++ /dev/null
@@ -1,5 +0,0 @@
-@headerColor: red;
-
-h1 {
- color: @headerColor;
-}
diff --git a/samples/misc/Webpack/Controllers/HomeController.cs b/samples/misc/Webpack/Controllers/HomeController.cs
deleted file mode 100755
index 136e94e..0000000
--- a/samples/misc/Webpack/Controllers/HomeController.cs
+++ /dev/null
@@ -1,16 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Threading.Tasks;
-using Microsoft.AspNetCore.Mvc;
-
-namespace Webpack.Controllers
-{
- public class HomeController : Controller
- {
- public IActionResult Index()
- {
- return View();
- }
- }
-}
diff --git a/samples/misc/Webpack/Properties/launchSettings.json b/samples/misc/Webpack/Properties/launchSettings.json
deleted file mode 100644
index f2904dc..0000000
--- a/samples/misc/Webpack/Properties/launchSettings.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "iisSettings": {
- "windowsAuthentication": false,
- "anonymousAuthentication": true,
- "iisExpress": {
- "applicationUrl": "http://localhost:51463/",
- "sslPort": 0
- }
- },
- "profiles": {
- "IIS Express": {
- "commandName": "IISExpress",
- "launchBrowser": true,
- "environmentVariables": {
- "ASPNETCORE_ENVIRONMENT": "Development"
- }
- },
- "dotnet cli": {
- "commandName": "Project",
- "environmentVariables": {
- "ASPNETCORE_ENVIRONMENT": "Development"
- }
- }
- }
-}
\ No newline at end of file
diff --git a/samples/misc/Webpack/Startup.cs b/samples/misc/Webpack/Startup.cs
deleted file mode 100755
index a471781..0000000
--- a/samples/misc/Webpack/Startup.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-using Microsoft.AspNetCore.Builder;
-using Microsoft.AspNetCore.Hosting;
-using Microsoft.AspNetCore.Http;
-using Microsoft.AspNetCore.SpaServices.Webpack;
-using Microsoft.Extensions.DependencyInjection;
-using Microsoft.Extensions.Logging;
-using System.IO;
-using Microsoft.AspNetCore.NodeServices;
-
-namespace Webpack
-{
- public class Startup
- {
- // This method gets called by the runtime. Use this method to add services to the container.
- public void ConfigureServices(IServiceCollection services)
- {
- services.AddMvc();
- services.AddNodeServices();
- }
-
- // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
- public void Configure(IApplicationBuilder app, ILoggerFactory loggerFactory, IHostingEnvironment env)
- {
- app.UseDeveloperExceptionPage();
-
- // For real apps, you should only use Webpack Dev Middleware at development time. For production,
- // you'll get better performance and reliability if you precompile the webpack output and simply
- // serve the resulting static files. For examples of setting up this automatic switch between
- // development-style and production-style webpack usage, see the 'templates' dir in this repo.
- app.UseWebpackDevMiddleware(new WebpackDevMiddlewareOptions {
- HotModuleReplacement = true
- });
-
- app.UseStaticFiles();
- app.UseMvc(routes =>
- {
- routes.MapRoute(
- name: "default",
- template: "{controller=Home}/{action=Index}/{id?}");
- });
- }
-
- public static void Main(string[] args)
- {
- var host = new WebHostBuilder()
- .ConfigureLogging(factory =>
- {
- factory.AddConsole();
- factory.AddDebug();
- })
- .UseContentRoot(Directory.GetCurrentDirectory())
- .UseIISIntegration()
- .UseKestrel()
- .UseStartup()
- .Build();
-
- host.Run();
- }
- }
-}
diff --git a/samples/misc/Webpack/Views/Home/Index.cshtml b/samples/misc/Webpack/Views/Home/Index.cshtml
deleted file mode 100755
index 7828ec1..0000000
--- a/samples/misc/Webpack/Views/Home/Index.cshtml
+++ /dev/null
@@ -1,10 +0,0 @@
-@{
- ViewData["Title"] = "Home Page";
-}
-
-