diff --git a/src/AuthSamples/samples/DynamicSchemes/Pages/About.cshtml.cs b/src/AuthSamples/samples/DynamicSchemes/Pages/About.cshtml.cs new file mode 100644 index 0000000000..8660b12440 --- /dev/null +++ b/src/AuthSamples/samples/DynamicSchemes/Pages/About.cshtml.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using Microsoft.AspNetCore.Mvc.RazorPages; + +namespace DynamicSchemes.Pages +{ + public class AboutModel : PageModel + { + public string Message { get; set; } + + public void OnGet() + { + Message = "Your application description page."; + } + } +} diff --git a/src/Templating/src/Microsoft.DotNet.Web.ProjectTemplates/content/RazorPagesWeb-CSharp/wwwroot/lib/jquery-validation-unobtrusive/.bower.json b/src/Templating/src/Microsoft.DotNet.Web.ProjectTemplates/content/RazorPagesWeb-CSharp/wwwroot/lib/jquery-validation-unobtrusive/.bower.json deleted file mode 100644 index 4f4ad9756f..0000000000 --- a/src/Templating/src/Microsoft.DotNet.Web.ProjectTemplates/content/RazorPagesWeb-CSharp/wwwroot/lib/jquery-validation-unobtrusive/.bower.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "name": "jquery-validation-unobtrusive", - "homepage": "https://github.com/aspnet/jquery-validation-unobtrusive", - "version": "3.2.9", - "_release": "3.2.9", - "_resolution": { - "type": "version", - "tag": "v3.2.9", - "commit": "a91f5401898e125f10771c5f5f0909d8c4c82396" - }, - "_source": "https://github.com/aspnet/jquery-validation-unobtrusive.git", - "_target": "^3.2.9", - "_originalSource": "jquery-validation-unobtrusive", - "_direct": true -} \ No newline at end of file diff --git a/src/Templating/src/Microsoft.DotNet.Web.ProjectTemplates/content/RazorPagesWeb-CSharp/wwwroot/lib/jquery-validation/.bower.json b/src/Templating/src/Microsoft.DotNet.Web.ProjectTemplates/content/RazorPagesWeb-CSharp/wwwroot/lib/jquery-validation/.bower.json deleted file mode 100644 index 79824166a0..0000000000 --- a/src/Templating/src/Microsoft.DotNet.Web.ProjectTemplates/content/RazorPagesWeb-CSharp/wwwroot/lib/jquery-validation/.bower.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "name": "jquery-validation", - "homepage": "https://jqueryvalidation.org/", - "repository": { - "type": "git", - "url": "git://github.com/jquery-validation/jquery-validation.git" - }, - "authors": [ - "Jörn Zaefferer " - ], - "description": "Form validation made easy", - "main": "dist/jquery.validate.js", - "keywords": [ - "forms", - "validation", - "validate" - ], - "license": "MIT", - "ignore": [ - "**/.*", - "node_modules", - "bower_components", - "test", - "demo", - "lib" - ], - "dependencies": { - "jquery": ">= 1.7.2" - }, - "version": "1.17.0", - "_release": "1.17.0", - "_resolution": { - "type": "version", - "tag": "1.17.0", - "commit": "fc9b12d3bfaa2d0c04605855b896edb2934c0772" - }, - "_source": "https://github.com/jzaefferer/jquery-validation.git", - "_target": "^1.17.0", - "_originalSource": "jquery-validation", - "_direct": true -} \ No newline at end of file diff --git a/src/Templating/src/Microsoft.DotNet.Web.ProjectTemplates/content/RazorPagesWeb-CSharp/wwwroot/lib/jquery/.bower.json b/src/Templating/src/Microsoft.DotNet.Web.ProjectTemplates/content/RazorPagesWeb-CSharp/wwwroot/lib/jquery/.bower.json deleted file mode 100644 index 959ddb7137..0000000000 --- a/src/Templating/src/Microsoft.DotNet.Web.ProjectTemplates/content/RazorPagesWeb-CSharp/wwwroot/lib/jquery/.bower.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "name": "jquery", - "main": "dist/jquery.js", - "license": "MIT", - "ignore": [ - "package.json" - ], - "keywords": [ - "jquery", - "javascript", - "browser", - "library" - ], - "homepage": "https://github.com/jquery/jquery-dist", - "version": "3.3.1", - "_release": "3.3.1", - "_resolution": { - "type": "version", - "tag": "3.3.1", - "commit": "9e8ec3d10fad04748176144f108d7355662ae75e" - }, - "_source": "https://github.com/jquery/jquery-dist.git", - "_target": "^3.3.1", - "_originalSource": "jquery", - "_direct": true -} \ No newline at end of file diff --git a/src/Templating/src/Microsoft.DotNet.Web.ProjectTemplates/content/StarterWeb-CSharp/wwwroot/lib/bootstrap/.bower.json b/src/Templating/src/Microsoft.DotNet.Web.ProjectTemplates/content/StarterWeb-CSharp/wwwroot/lib/bootstrap/.bower.json deleted file mode 100644 index 1e99b62994..0000000000 --- a/src/Templating/src/Microsoft.DotNet.Web.ProjectTemplates/content/StarterWeb-CSharp/wwwroot/lib/bootstrap/.bower.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "name": "bootstrap", - "description": "The most popular front-end framework for developing responsive, mobile first projects on the web.", - "keywords": [ - "css", - "js", - "less", - "mobile-first", - "responsive", - "front-end", - "framework", - "web" - ], - "homepage": "http://getbootstrap.com", - "license": "MIT", - "moduleType": "globals", - "main": [ - "less/bootstrap.less", - "dist/js/bootstrap.js" - ], - "ignore": [ - "/.*", - "_config.yml", - "CNAME", - "composer.json", - "CONTRIBUTING.md", - "docs", - "js/tests", - "test-infra" - ], - "dependencies": { - "jquery": "1.9.1 - 3" - }, - "version": "3.3.7", - "_release": "3.3.7", - "_resolution": { - "type": "version", - "tag": "v3.3.7", - "commit": "0b9c4a4007c44201dce9a6cc1a38407005c26c86" - }, - "_source": "https://github.com/twbs/bootstrap.git", - "_target": "v3.3.7", - "_originalSource": "bootstrap", - "_direct": true -} \ No newline at end of file diff --git a/src/Templating/src/Microsoft.DotNet.Web.ProjectTemplates/content/StarterWeb-CSharp/wwwroot/lib/jquery-validation-unobtrusive/.bower.json b/src/Templating/src/Microsoft.DotNet.Web.ProjectTemplates/content/StarterWeb-CSharp/wwwroot/lib/jquery-validation-unobtrusive/.bower.json deleted file mode 100644 index 4f4ad9756f..0000000000 --- a/src/Templating/src/Microsoft.DotNet.Web.ProjectTemplates/content/StarterWeb-CSharp/wwwroot/lib/jquery-validation-unobtrusive/.bower.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "name": "jquery-validation-unobtrusive", - "homepage": "https://github.com/aspnet/jquery-validation-unobtrusive", - "version": "3.2.9", - "_release": "3.2.9", - "_resolution": { - "type": "version", - "tag": "v3.2.9", - "commit": "a91f5401898e125f10771c5f5f0909d8c4c82396" - }, - "_source": "https://github.com/aspnet/jquery-validation-unobtrusive.git", - "_target": "^3.2.9", - "_originalSource": "jquery-validation-unobtrusive", - "_direct": true -} \ No newline at end of file diff --git a/src/Templating/src/Microsoft.DotNet.Web.ProjectTemplates/content/StarterWeb-CSharp/wwwroot/lib/jquery/.bower.json b/src/Templating/src/Microsoft.DotNet.Web.ProjectTemplates/content/StarterWeb-CSharp/wwwroot/lib/jquery/.bower.json deleted file mode 100644 index 959ddb7137..0000000000 --- a/src/Templating/src/Microsoft.DotNet.Web.ProjectTemplates/content/StarterWeb-CSharp/wwwroot/lib/jquery/.bower.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "name": "jquery", - "main": "dist/jquery.js", - "license": "MIT", - "ignore": [ - "package.json" - ], - "keywords": [ - "jquery", - "javascript", - "browser", - "library" - ], - "homepage": "https://github.com/jquery/jquery-dist", - "version": "3.3.1", - "_release": "3.3.1", - "_resolution": { - "type": "version", - "tag": "3.3.1", - "commit": "9e8ec3d10fad04748176144f108d7355662ae75e" - }, - "_source": "https://github.com/jquery/jquery-dist.git", - "_target": "^3.3.1", - "_originalSource": "jquery", - "_direct": true -} \ No newline at end of file diff --git a/src/Templating/src/Microsoft.DotNet.Web.ProjectTemplates/content/StarterWeb-FSharp/wwwroot/lib/bootstrap/.bower.json b/src/Templating/src/Microsoft.DotNet.Web.ProjectTemplates/content/StarterWeb-FSharp/wwwroot/lib/bootstrap/.bower.json deleted file mode 100644 index 1e99b62994..0000000000 --- a/src/Templating/src/Microsoft.DotNet.Web.ProjectTemplates/content/StarterWeb-FSharp/wwwroot/lib/bootstrap/.bower.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "name": "bootstrap", - "description": "The most popular front-end framework for developing responsive, mobile first projects on the web.", - "keywords": [ - "css", - "js", - "less", - "mobile-first", - "responsive", - "front-end", - "framework", - "web" - ], - "homepage": "http://getbootstrap.com", - "license": "MIT", - "moduleType": "globals", - "main": [ - "less/bootstrap.less", - "dist/js/bootstrap.js" - ], - "ignore": [ - "/.*", - "_config.yml", - "CNAME", - "composer.json", - "CONTRIBUTING.md", - "docs", - "js/tests", - "test-infra" - ], - "dependencies": { - "jquery": "1.9.1 - 3" - }, - "version": "3.3.7", - "_release": "3.3.7", - "_resolution": { - "type": "version", - "tag": "v3.3.7", - "commit": "0b9c4a4007c44201dce9a6cc1a38407005c26c86" - }, - "_source": "https://github.com/twbs/bootstrap.git", - "_target": "v3.3.7", - "_originalSource": "bootstrap", - "_direct": true -} \ No newline at end of file diff --git a/src/Templating/src/Microsoft.DotNet.Web.ProjectTemplates/content/StarterWeb-FSharp/wwwroot/lib/jquery-validation-unobtrusive/.bower.json b/src/Templating/src/Microsoft.DotNet.Web.ProjectTemplates/content/StarterWeb-FSharp/wwwroot/lib/jquery-validation-unobtrusive/.bower.json deleted file mode 100644 index 4f4ad9756f..0000000000 --- a/src/Templating/src/Microsoft.DotNet.Web.ProjectTemplates/content/StarterWeb-FSharp/wwwroot/lib/jquery-validation-unobtrusive/.bower.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "name": "jquery-validation-unobtrusive", - "homepage": "https://github.com/aspnet/jquery-validation-unobtrusive", - "version": "3.2.9", - "_release": "3.2.9", - "_resolution": { - "type": "version", - "tag": "v3.2.9", - "commit": "a91f5401898e125f10771c5f5f0909d8c4c82396" - }, - "_source": "https://github.com/aspnet/jquery-validation-unobtrusive.git", - "_target": "^3.2.9", - "_originalSource": "jquery-validation-unobtrusive", - "_direct": true -} \ No newline at end of file diff --git a/src/Templating/src/Microsoft.DotNet.Web.ProjectTemplates/content/StarterWeb-FSharp/wwwroot/lib/jquery-validation/.bower.json b/src/Templating/src/Microsoft.DotNet.Web.ProjectTemplates/content/StarterWeb-FSharp/wwwroot/lib/jquery-validation/.bower.json deleted file mode 100644 index 79824166a0..0000000000 --- a/src/Templating/src/Microsoft.DotNet.Web.ProjectTemplates/content/StarterWeb-FSharp/wwwroot/lib/jquery-validation/.bower.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "name": "jquery-validation", - "homepage": "https://jqueryvalidation.org/", - "repository": { - "type": "git", - "url": "git://github.com/jquery-validation/jquery-validation.git" - }, - "authors": [ - "Jörn Zaefferer " - ], - "description": "Form validation made easy", - "main": "dist/jquery.validate.js", - "keywords": [ - "forms", - "validation", - "validate" - ], - "license": "MIT", - "ignore": [ - "**/.*", - "node_modules", - "bower_components", - "test", - "demo", - "lib" - ], - "dependencies": { - "jquery": ">= 1.7.2" - }, - "version": "1.17.0", - "_release": "1.17.0", - "_resolution": { - "type": "version", - "tag": "1.17.0", - "commit": "fc9b12d3bfaa2d0c04605855b896edb2934c0772" - }, - "_source": "https://github.com/jzaefferer/jquery-validation.git", - "_target": "^1.17.0", - "_originalSource": "jquery-validation", - "_direct": true -} \ No newline at end of file