Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty Blazor WebAssembly Project Template #42215

Merged
merged 42 commits into from
Jun 22, 2022
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
bf569bb
Duplicated required files
cerasamson Jun 14, 2022
9627fd8
Removed authentication, pages, formatting
cerasamson Jun 14, 2022
0aca1b6
Fix namespaces
cerasamson Jun 14, 2022
766e946
Remove readme / auth template options
cerasamson Jun 15, 2022
4a6e9b0
Update Index.razor
cerasamson Jun 15, 2022
10c9c40
Remove auth options from templatestrings
cerasamson Jun 15, 2022
5cb350f
Update launchSettings.json
cerasamson Jun 15, 2022
7884d75
Merge branch 'dotnet:main' into t-samsoncera/empty-wasm
cerasamson Jun 16, 2022
b51e9c7
Remove auth (cont.), rename files
cerasamson Jun 16, 2022
f8a30dd
Added .csproj.in files
cerasamson Jun 16, 2022
020fc43
Update templatestrings.json
cerasamson Jun 16, 2022
b93749e
Update templatestrings.cs.json
cerasamson Jun 16, 2022
5575cfb
Update Program.cs
cerasamson Jun 16, 2022
52e3807
Modify to reflect changes in http/https launch profiles
cerasamson Jun 17, 2022
84c26e8
Merge branch 'main' into t-samsoncera/empty-wasm
cerasamson Jun 17, 2022
e48887e
Add template test; remove RequiresHttps logic
cerasamson Jun 17, 2022
1cc0911
Added blazorwasm-empty template baseline tests
cerasamson Jun 17, 2022
0a3ec04
Merge branch 'main' into t-samsoncera/empty-wasm
cerasamson Jun 20, 2022
8ae18a8
Changes from code review; fix failing test
cerasamson Jun 20, 2022
9702889
Add empty file to Shared folder
cerasamson Jun 20, 2022
450c3ae
Merge branch 'main' into t-samsoncera/empty-wasm
cerasamson Jun 20, 2022
d20c638
Merge branch 'dotnet:main' into t-samsoncera/empty-wasm
cerasamson Jun 20, 2022
de700d1
Update src/ProjectTemplates/test/Templates.Blazor.Tests/EmptyBlazorWa…
cerasamson Jun 20, 2022
22f4998
Fix issues with launchBrowser and missing PWA install app
cerasamson Jun 21, 2022
25132ba
Update src/ProjectTemplates/Web.ProjectTemplates/content/EmptyCompone…
cerasamson Jun 21, 2022
5ce1f32
Update EmptyComponentsWebAssembly-CSharp.sln
cerasamson Jun 21, 2022
9ee7e71
Merge branch 't-samsoncera/empty-wasm' of https://github.com/cerasams…
cerasamson Jun 21, 2022
ef4078f
Merge branch 'dotnet:main' into t-samsoncera/empty-wasm
cerasamson Jun 21, 2022
28e94cf
Fix missing Server project
cerasamson Jun 21, 2022
e31a381
Update .json files
cerasamson Jun 21, 2022
95119a3
Update template-baselines.json
cerasamson Jun 21, 2022
c9a1168
Move icon.png into ide/
cerasamson Jun 21, 2022
fed1120
Update ide.host.json
cerasamson Jun 21, 2022
acc7d53
Fix template-baselines, template.json
cerasamson Jun 21, 2022
fa76595
Fix templates-baselines, remove icon-192.png
cerasamson Jun 21, 2022
a35c985
Revert "Fix templates-baselines, remove icon-192.png"
cerasamson Jun 21, 2022
46ac431
Delete icon-192.png
cerasamson Jun 21, 2022
6e0262a
Update src/ProjectTemplates/Web.ProjectTemplates/content/EmptyCompone…
cerasamson Jun 21, 2022
8423016
Add ExcludeLaunchSettings to template.json
cerasamson Jun 21, 2022
3ff7385
Merge branch 't-samsoncera/empty-wasm' of https://github.com/cerasams…
cerasamson Jun 21, 2022
6de517a
Move tags into ide.host.json
cerasamson Jun 21, 2022
4a1a6d9
Fix closing brace appsettings.json
cerasamson Jun 22, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"$schema": "http://json.schemastore.org/dotnetcli.host",
"symbolInfo": {
"skipRestore": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just confirming whether you've had a chance to test out these options on the CLI? Notably, the Hosted option is working appropriately (ie. creating empty blazor hosted vs empty blazor standalone).

"longName": "no-restore",
"shortName": ""
},
"Hosted": {
"longName": "hosted"
},
"PWA": {
"longName": "pwa"
},
"Framework": {
"longName": "framework"
},
"kestrelHttpPort": {
"isHidden": true
},
"kestrelHttpsPort": {
"isHidden": true
},
"iisHttpPort": {
"isHidden": true
},
"iisHttpsPort": {
"isHidden": true
},
"ExcludeLaunchSettings": {
"longName": "exclude-launch-settings",
"shortName": ""
},
"UserSecretsId": {
"isHidden": true
},
"NoHttps": {
"longName": "no-https",
"shortName": ""
},
"CalledApiUrl": {
"longName": "called-api-url",
"shortName": ""
}
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"$schema": "http://json.schemastore.org/vs-2017.3.host",
"order": 610,
"icon": "icon.png",
"ports": [
{
"name": "HttpPort",
"useHttps": false
},
{
"name": "HttpsPort",
"useHttps": true
}
],
"disableHttpsSymbol": "NoHttps",
"symbolInfo": [
{
"id": "Hosted",
"isVisible": "true"
},
{
"id": "PWA",
"isVisible": "true"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"author": "Microsoft",
"name": "Blazor WebAssembly App Empty",
"description": "An empty project template for creating a Blazor app that runs on WebAssembly and is optionally hosted by an ASP.NET Core app. This template does not have any content in it.",
"symbols/Framework/description": "The target framework for the project.",
"symbols/Framework/choices/net7.0/description": "Target net7.0",
"symbols/skipRestore/description": "If specified, skips the automatic restore of the project on create.",
"symbols/Hosted/displayName": "ASP.NET Core Hosted",
"symbols/Hosted/description": "If specified, includes an ASP.NET Core host for the Blazor WebAssembly app.",
"symbols/ExcludeLaunchSettings/description": "Whether to exclude launchSettings.json from the generated template.",
"symbols/kestrelHttpPort/description": "Port number to use for the HTTP endpoint in launchSettings.json.",
"symbols/kestrelHttpsPort/description": "Port number to use for the HTTPS endpoint in launchSettings.json. This option is only applicable when the parameter no-https is not used.",
"symbols/iisHttpPort/description": "Port number to use for the IIS Express HTTP endpoint in launchSettings.json.",
"symbols/iisHttpsPort/description": "Port number to use for the IIS Express HTTPS endpoint in launchSettings.json. This option is only applicable when the parameter no-https is not used.",
"symbols/PWA/displayName": "_Progressive Web Application",
"symbols/PWA/description": "If specified, produces a Progressive Web Application (PWA) supporting installation and offline use.",
"symbols/NoHttps/description": "Whether to turn off HTTPS.",
"postActions/restore/description": "Restore NuGet packages required by this project.",
"postActions/restore/manualInstructions/default/text": "Run 'dotnet restore'",
"postActions/restoreClient/description": "Restore NuGet packages required by this project.",
"postActions/restoreClient/manualInstructions/default/text": "Run 'dotnet restore'"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"author": "Microsoft",
"name": "Blazor WebAssembly App Empty",
"description": "An empty project template for creating a Blazor app that runs on WebAssembly and is optionally hosted by an ASP.NET Core app. This template does not have any content in it.",
"symbols/Framework/description": "The target framework for the project.",
"symbols/Framework/choices/net7.0/description": "Target net7.0",
"symbols/skipRestore/description": "If specified, skips the automatic restore of the project on create.",
"symbols/Hosted/displayName": "ASP.NET Core Hosted",
"symbols/Hosted/description": "If specified, includes an ASP.NET Core host for the Blazor WebAssembly app.",
"symbols/ExcludeLaunchSettings/description": "Whether to exclude launchSettings.json from the generated template.",
"symbols/kestrelHttpPort/description": "Port number to use for the HTTP endpoint in launchSettings.json.",
"symbols/kestrelHttpsPort/description": "Port number to use for the HTTPS endpoint in launchSettings.json. This option is only applicable when the parameter no-https is not used.",
"symbols/iisHttpPort/description": "Port number to use for the IIS Express HTTP endpoint in launchSettings.json.",
"symbols/iisHttpsPort/description": "Port number to use for the IIS Express HTTPS endpoint in launchSettings.json. This option is only applicable when the parameter no-https is not used.",
"symbols/PWA/displayName": "_Progressive Web Application",
"symbols/PWA/description": "If specified, produces a Progressive Web Application (PWA) supporting installation and offline use.",
"symbols/NoHttps/description": "Whether to turn off HTTPS.",
"postActions/restore/description": "Restore NuGet packages required by this project.",
"postActions/restore/manualInstructions/default/text": "Run 'dotnet restore'",
"postActions/restoreClient/description": "Restore NuGet packages required by this project.",
"postActions/restoreClient/manualInstructions/default/text": "Run 'dotnet restore'"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"author": "Microsoft",
"name": "Blazor WebAssembly App Empty",
"description": "An empty project template for creating a Blazor app that runs on WebAssembly and is optionally hosted by an ASP.NET Core app. This template does not have any content in it.",
"symbols/Framework/description": "The target framework for the project.",
"symbols/Framework/choices/net7.0/description": "Target net7.0",
"symbols/skipRestore/description": "If specified, skips the automatic restore of the project on create.",
"symbols/Hosted/displayName": "ASP.NET Core Hosted",
"symbols/Hosted/description": "If specified, includes an ASP.NET Core host for the Blazor WebAssembly app.",
"symbols/ExcludeLaunchSettings/description": "Whether to exclude launchSettings.json from the generated template.",
"symbols/kestrelHttpPort/description": "Port number to use for the HTTP endpoint in launchSettings.json.",
"symbols/kestrelHttpsPort/description": "Port number to use for the HTTPS endpoint in launchSettings.json. This option is only applicable when the parameter no-https is not used.",
"symbols/iisHttpPort/description": "Port number to use for the IIS Express HTTP endpoint in launchSettings.json.",
"symbols/iisHttpsPort/description": "Port number to use for the IIS Express HTTPS endpoint in launchSettings.json. This option is only applicable when the parameter no-https is not used.",
"symbols/PWA/displayName": "_Progressive Web Application",
"symbols/PWA/description": "If specified, produces a Progressive Web Application (PWA) supporting installation and offline use.",
"symbols/NoHttps/description": "Whether to turn off HTTPS.",
"postActions/restore/description": "Restore NuGet packages required by this project.",
"postActions/restore/manualInstructions/default/text": "Run 'dotnet restore'",
"postActions/restoreClient/description": "Restore NuGet packages required by this project.",
"postActions/restoreClient/manualInstructions/default/text": "Run 'dotnet restore'"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"author": "Microsoft",
"name": "Blazor WebAssembly App Empty",
"description": "An empty project template for creating a Blazor app that runs on WebAssembly and is optionally hosted by an ASP.NET Core app. This template does not have any content in it.",
"symbols/Framework/description": "The target framework for the project.",
"symbols/Framework/choices/net7.0/description": "Target net7.0",
"symbols/skipRestore/description": "If specified, skips the automatic restore of the project on create.",
"symbols/Hosted/displayName": "ASP.NET Core Hosted",
"symbols/Hosted/description": "If specified, includes an ASP.NET Core host for the Blazor WebAssembly app.",
"symbols/ExcludeLaunchSettings/description": "Whether to exclude launchSettings.json from the generated template.",
"symbols/kestrelHttpPort/description": "Port number to use for the HTTP endpoint in launchSettings.json.",
"symbols/kestrelHttpsPort/description": "Port number to use for the HTTPS endpoint in launchSettings.json. This option is only applicable when the parameter no-https is not used.",
"symbols/iisHttpPort/description": "Port number to use for the IIS Express HTTP endpoint in launchSettings.json.",
"symbols/iisHttpsPort/description": "Port number to use for the IIS Express HTTPS endpoint in launchSettings.json. This option is only applicable when the parameter no-https is not used.",
"symbols/PWA/displayName": "_Progressive Web Application",
"symbols/PWA/description": "If specified, produces a Progressive Web Application (PWA) supporting installation and offline use.",
"symbols/NoHttps/description": "Whether to turn off HTTPS.",
"postActions/restore/description": "Restore NuGet packages required by this project.",
"postActions/restore/manualInstructions/default/text": "Run 'dotnet restore'",
"postActions/restoreClient/description": "Restore NuGet packages required by this project.",
"postActions/restoreClient/manualInstructions/default/text": "Run 'dotnet restore'"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"author": "Microsoft",
"name": "Blazor WebAssembly App Empty",
"description": "An empty project template for creating a Blazor app that runs on WebAssembly and is optionally hosted by an ASP.NET Core app. This template does not have any content in it.",
"symbols/Framework/description": "The target framework for the project.",
"symbols/Framework/choices/net7.0/description": "Target net7.0",
"symbols/skipRestore/description": "If specified, skips the automatic restore of the project on create.",
"symbols/Hosted/displayName": "ASP.NET Core Hosted",
"symbols/Hosted/description": "If specified, includes an ASP.NET Core host for the Blazor WebAssembly app.",
"symbols/ExcludeLaunchSettings/description": "Whether to exclude launchSettings.json from the generated template.",
"symbols/kestrelHttpPort/description": "Port number to use for the HTTP endpoint in launchSettings.json.",
"symbols/kestrelHttpsPort/description": "Port number to use for the HTTPS endpoint in launchSettings.json. This option is only applicable when the parameter no-https is not used.",
"symbols/iisHttpPort/description": "Port number to use for the IIS Express HTTP endpoint in launchSettings.json.",
"symbols/iisHttpsPort/description": "Port number to use for the IIS Express HTTPS endpoint in launchSettings.json. This option is only applicable when the parameter no-https is not used.",
"symbols/PWA/displayName": "_Progressive Web Application",
"symbols/PWA/description": "If specified, produces a Progressive Web Application (PWA) supporting installation and offline use.",
"symbols/NoHttps/description": "Whether to turn off HTTPS.",
"postActions/restore/description": "Restore NuGet packages required by this project.",
"postActions/restore/manualInstructions/default/text": "Run 'dotnet restore'",
"postActions/restoreClient/description": "Restore NuGet packages required by this project.",
"postActions/restoreClient/manualInstructions/default/text": "Run 'dotnet restore'"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"author": "Microsoft",
"name": "Blazor WebAssembly App Empty",
"description": "An empty project template for creating a Blazor app that runs on WebAssembly and is optionally hosted by an ASP.NET Core app. This template does not have any content in it.",
"symbols/Framework/description": "The target framework for the project.",
"symbols/Framework/choices/net7.0/description": "Target net7.0",
"symbols/skipRestore/description": "If specified, skips the automatic restore of the project on create.",
"symbols/Hosted/displayName": "ASP.NET Core Hosted",
"symbols/Hosted/description": "If specified, includes an ASP.NET Core host for the Blazor WebAssembly app.",
"symbols/ExcludeLaunchSettings/description": "Whether to exclude launchSettings.json from the generated template.",
"symbols/kestrelHttpPort/description": "Port number to use for the HTTP endpoint in launchSettings.json.",
"symbols/kestrelHttpsPort/description": "Port number to use for the HTTPS endpoint in launchSettings.json. This option is only applicable when the parameter no-https is not used.",
"symbols/iisHttpPort/description": "Port number to use for the IIS Express HTTP endpoint in launchSettings.json.",
"symbols/iisHttpsPort/description": "Port number to use for the IIS Express HTTPS endpoint in launchSettings.json. This option is only applicable when the parameter no-https is not used.",
"symbols/PWA/displayName": "_Progressive Web Application",
"symbols/PWA/description": "If specified, produces a Progressive Web Application (PWA) supporting installation and offline use.",
"symbols/NoHttps/description": "Whether to turn off HTTPS.",
"postActions/restore/description": "Restore NuGet packages required by this project.",
"postActions/restore/manualInstructions/default/text": "Run 'dotnet restore'",
"postActions/restoreClient/description": "Restore NuGet packages required by this project.",
"postActions/restoreClient/manualInstructions/default/text": "Run 'dotnet restore'"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"author": "Microsoft",
"name": "Blazor WebAssembly App Empty",
"description": "An empty project template for creating a Blazor app that runs on WebAssembly and is optionally hosted by an ASP.NET Core app. This template does not have any content in it.",
"symbols/Framework/description": "The target framework for the project.",
"symbols/Framework/choices/net7.0/description": "Target net7.0",
"symbols/skipRestore/description": "If specified, skips the automatic restore of the project on create.",
"symbols/Hosted/displayName": "ASP.NET Core Hosted",
"symbols/Hosted/description": "If specified, includes an ASP.NET Core host for the Blazor WebAssembly app.",
"symbols/ExcludeLaunchSettings/description": "Whether to exclude launchSettings.json from the generated template.",
"symbols/kestrelHttpPort/description": "Port number to use for the HTTP endpoint in launchSettings.json.",
"symbols/kestrelHttpsPort/description": "Port number to use for the HTTPS endpoint in launchSettings.json. This option is only applicable when the parameter no-https is not used.",
"symbols/iisHttpPort/description": "Port number to use for the IIS Express HTTP endpoint in launchSettings.json.",
"symbols/iisHttpsPort/description": "Port number to use for the IIS Express HTTPS endpoint in launchSettings.json. This option is only applicable when the parameter no-https is not used.",
"symbols/PWA/displayName": "_Progressive Web Application",
"symbols/PWA/description": "If specified, produces a Progressive Web Application (PWA) supporting installation and offline use.",
"symbols/NoHttps/description": "Whether to turn off HTTPS.",
"postActions/restore/description": "Restore NuGet packages required by this project.",
"postActions/restore/manualInstructions/default/text": "Run 'dotnet restore'",
"postActions/restoreClient/description": "Restore NuGet packages required by this project.",
"postActions/restoreClient/manualInstructions/default/text": "Run 'dotnet restore'"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"author": "Microsoft",
"name": "Blazor WebAssembly App Empty",
"description": "An empty project template for creating a Blazor app that runs on WebAssembly and is optionally hosted by an ASP.NET Core app. This template does not have any content in it.",
"symbols/Framework/description": "The target framework for the project.",
"symbols/Framework/choices/net7.0/description": "Target net7.0",
"symbols/skipRestore/description": "If specified, skips the automatic restore of the project on create.",
"symbols/Hosted/displayName": "ASP.NET Core Hosted",
"symbols/Hosted/description": "If specified, includes an ASP.NET Core host for the Blazor WebAssembly app.",
"symbols/ExcludeLaunchSettings/description": "Whether to exclude launchSettings.json from the generated template.",
"symbols/kestrelHttpPort/description": "Port number to use for the HTTP endpoint in launchSettings.json.",
"symbols/kestrelHttpsPort/description": "Port number to use for the HTTPS endpoint in launchSettings.json. This option is only applicable when the parameter no-https is not used.",
"symbols/iisHttpPort/description": "Port number to use for the IIS Express HTTP endpoint in launchSettings.json.",
"symbols/iisHttpsPort/description": "Port number to use for the IIS Express HTTPS endpoint in launchSettings.json. This option is only applicable when the parameter no-https is not used.",
"symbols/PWA/displayName": "_Progressive Web Application",
"symbols/PWA/description": "If specified, produces a Progressive Web Application (PWA) supporting installation and offline use.",
"symbols/NoHttps/description": "Whether to turn off HTTPS.",
"postActions/restore/description": "Restore NuGet packages required by this project.",
"postActions/restore/manualInstructions/default/text": "Run 'dotnet restore'",
"postActions/restoreClient/description": "Restore NuGet packages required by this project.",
"postActions/restoreClient/manualInstructions/default/text": "Run 'dotnet restore'"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"author": "Microsoft",
"name": "Blazor WebAssembly App Empty",
"description": "An empty project template for creating a Blazor app that runs on WebAssembly and is optionally hosted by an ASP.NET Core app. This template does not have any content in it.",
"symbols/Framework/description": "The target framework for the project.",
"symbols/Framework/choices/net7.0/description": "Target net7.0",
"symbols/skipRestore/description": "If specified, skips the automatic restore of the project on create.",
"symbols/Hosted/displayName": "ASP.NET Core Hosted",
"symbols/Hosted/description": "If specified, includes an ASP.NET Core host for the Blazor WebAssembly app.",
"symbols/ExcludeLaunchSettings/description": "Whether to exclude launchSettings.json from the generated template.",
"symbols/kestrelHttpPort/description": "Port number to use for the HTTP endpoint in launchSettings.json.",
"symbols/kestrelHttpsPort/description": "Port number to use for the HTTPS endpoint in launchSettings.json. This option is only applicable when the parameter no-https is not used.",
"symbols/iisHttpPort/description": "Port number to use for the IIS Express HTTP endpoint in launchSettings.json.",
"symbols/iisHttpsPort/description": "Port number to use for the IIS Express HTTPS endpoint in launchSettings.json. This option is only applicable when the parameter no-https is not used.",
"symbols/PWA/displayName": "_Progressive Web Application",
"symbols/PWA/description": "If specified, produces a Progressive Web Application (PWA) supporting installation and offline use.",
"symbols/NoHttps/description": "Whether to turn off HTTPS.",
"postActions/restore/description": "Restore NuGet packages required by this project.",
"postActions/restore/manualInstructions/default/text": "Run 'dotnet restore'",
"postActions/restoreClient/description": "Restore NuGet packages required by this project.",
"postActions/restoreClient/manualInstructions/default/text": "Run 'dotnet restore'"
}
Loading