Skip to content

Commit b8b0347

Browse files
vnbaaijdvoituron
andauthored
[Templates] Updates and add .NET 10 versions (#4025)
* - Split out different .NET versions per template for Web App and WebAssembly. - Add .NET 10 versions of Web App and WebAssembly templates - Fix adding AddFluentUIComponents in Web App * .NET 10 template changes (still need to make Passkey pages fluent) --------- Co-authored-by: Denis Voituron <dvoituron@outlook.com>
1 parent ca59650 commit b8b0347

File tree

450 files changed

+18674
-84
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

450 files changed

+18674
-84
lines changed

src/Templates/Microsoft.FluentUI.AspNetCore.Templates.csproj

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,11 @@
2424

2525
<PropertyGroup>
2626
<!-- for templates -->
27-
<AspirePackageVersion>9.3.1</AspirePackageVersion>
28-
<MicrosoftExtensionsHttpResiliencePackageVersion>9.6.0</MicrosoftExtensionsHttpResiliencePackageVersion>
29-
<MicrosoftAspNetCorePackageVersionForNet8>8.0.17</MicrosoftAspNetCorePackageVersionForNet8>
30-
<MicrosoftAspNetCorePackageVersionForNet9>9.0.6</MicrosoftAspNetCorePackageVersionForNet9>
27+
<AspirePackageVersion>9.3.2</AspirePackageVersion>
28+
<MicrosoftExtensionsHttpResiliencePackageVersion>9.7.0</MicrosoftExtensionsHttpResiliencePackageVersion>
29+
<MicrosoftAspNetCorePackageVersionForNet8>8.0.18</MicrosoftAspNetCorePackageVersionForNet8>
30+
<MicrosoftAspNetCorePackageVersionForNet9>9.0.7</MicrosoftAspNetCorePackageVersionForNet9>
31+
<MicrosoftAspNetCorePackageVersionForNet10>10.0.0-preview.6.25358.103</MicrosoftAspNetCorePackageVersionForNet10>
3132
<OpenTelemetryLTSVersion>1.9.0</OpenTelemetryLTSVersion>
3233
<OpenTelemetryInstrumentationAspNetCoreVersion>1.12.0</OpenTelemetryInstrumentationAspNetCoreVersion>
3334
<OpenTelemetryInstrumentationHttpVersion>1.12.0</OpenTelemetryInstrumentationHttpVersion>
@@ -77,7 +78,7 @@
7778
<_TemplatesForPackage Include="$(IntermediateOutputPath)\content\templates\**\*" />
7879
</ItemGroup>
7980
<ItemGroup>
80-
<Content Include="%(_TemplatesForPackage.Identity)" PackagePath="content/content/%(_TemplatesForPackage.RecursiveDir)" />
81+
<Content Include="%(_TemplatesForPackage.Identity)" PackagePath="content/%(_TemplatesForPackage.RecursiveDir)" />
8182
</ItemGroup>
8283
</Target>
8384

@@ -97,14 +98,14 @@
9798
.Replace('!!REPLACE_WITH_LATEST_ASPIRE_VERSION!!', '$(AspirePackageVersion)')
9899
.Replace('!!REPLACE_WITH_ASPNETCORE_8_VERSION!!', '$(MicrosoftAspNetCorePackageVersionForNet8)')
99100
.Replace('!!REPLACE_WITH_ASPNETCORE_9_VERSION!!', '$(MicrosoftAspNetCorePackageVersionForNet9)')
101+
.Replace('!!REPLACE_WITH_ASPNETCORE_10_VERSION!!', '$(MicrosoftAspNetCorePackageVersionForNet10)')
100102
.Replace('!!REPLACE_WITH_DOTNET_EXTENSIONS_VERSION!!', '$(MicrosoftExtensionsHttpResiliencePackageVersion)')
101103
.Replace('!!REPLACE_WITH_OTEL_LTS_VERSION!!', '$(OpenTelemetryLTSVersion)')
102104
.Replace('!!REPLACE_WITH_OTEL_EXPORTER_VERSION!!', '$(OpenTelemetryExporterOpenTelemetryProtocolVersion)')
103105
.Replace('!!REPLACE_WITH_OTEL_HOSTING_VERSION!!', '$(OpenTelemetryInstrumentationExtensionsHostingVersion)')
104106
.Replace('!!REPLACE_WITH_OTEL_ASPNETCORE_VERSION!!', '$(OpenTelemetryInstrumentationAspNetCoreVersion)')
105107
.Replace('!!REPLACE_WITH_OTEL_HTTP_VERSION!!', '$(OpenTelemetryInstrumentationHttpVersion)')
106108
.Replace('!!REPLACE_WITH_OTEL_RUNTIME_VERSION!!', '$(OpenTelemetryInstrumentationRuntimeVersion)') )"
107-
108109
Overwrite="true" />
109110
</Target>
110111

src/Templates/Properties/launchSettings.json

Lines changed: 0 additions & 12 deletions
This file was deleted.
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"$schema": "https://json.schemastore.org/ide.host",
3+
"order": 610,
4+
"icon": "icon.png",
5+
"disableHttpsSymbol": "NoHttps",
6+
"symbolInfo": [
7+
{
8+
"id": "InteractivityPlatform",
9+
"isVisible": true,
10+
"persistenceScope": "templateGroup"
11+
},
12+
{
13+
"id": "InteractivityLocation",
14+
"isVisible": true,
15+
"persistenceScope": "templateGroup"
16+
},
17+
{
18+
"id": "IncludeSampleContent",
19+
"isVisible": true,
20+
"persistenceScope": "shared",
21+
"persistenceScopeName": "Microsoft"
22+
},
23+
{
24+
"id": "UseProgramMain",
25+
"isVisible": true,
26+
"persistenceScope": "shared",
27+
"persistenceScopeName": "Microsoft"
28+
}
29+
]
30+
}
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"author": "Microsoft",
3+
"name": "Webová aplikace Fluent Blazor",
4+
"description": "Šablona projektu pro vytvoření webové aplikace Blazor, která podporuje vykreslování na straně serveru i interaktivitu klienta. Tato šablona se dá použít pro webové aplikace s bohatými dynamickými uživatelskými rozhraními (UI).",
5+
"symbols/Framework/description": "Cílová architektura pro projekt",
6+
"symbols/Framework/choices/net10.0/description": "Cíl net10.0",
7+
"symbols/UserSecretsId/description": "ID, které se má použít pro tajné kódy (používá se s individuálním ověřováním).",
8+
"symbols/skipRestore/description": "Pokud se tato možnost zadá, přeskočí automatické obnovení projektu při vytvoření.",
9+
"symbols/ExcludeLaunchSettings/description": "Určuje, jestli se má z vygenerované šablony vyloučit soubor launchSettings.json.",
10+
"symbols/kestrelHttpPort/description": "Číslo portu, který se má použít pro koncový bod HTTP v souboru launchSettings.json.",
11+
"symbols/kestrelHttpsPort/description": "Číslo portu, který se má použít pro koncový bod HTTPS v souboru launchSettings.json. Tato možnost se dá použít jenom v případě, že se nepoužije parametr no-https (no-https se bude ignorovat, pokud se použije individuální ověřování).",
12+
"symbols/iisHttpPort/description": "Číslo portu, který se má použít pro koncový bod IIS Express HTTP v souboru launchSettings.json.",
13+
"symbols/iisHttpsPort/description": "Číslo portu, který se má použít pro koncový bod IIS Express HTTPS v souboru launchSettings.json. Tato možnost se dá použít jenom v případě, že se nepoužije parametr no-https (no-https se bude ignorovat, pokud se použije individuální ověřování).",
14+
"symbols/InteractivityPlatform/displayName": "_Interaktivní režim vykreslování",
15+
"symbols/InteractivityPlatform/description": "Umožňuje zvolit, který interaktivní režim vykreslování se má použít pro interaktivní komponenty.",
16+
"symbols/InteractivityPlatform/choices/None/displayName": "Žádné",
17+
"symbols/InteractivityPlatform/choices/None/description": "Žádná interaktivita (pouze vykreslování statického serveru)",
18+
"symbols/InteractivityPlatform/choices/Server/displayName": "Server",
19+
"symbols/InteractivityPlatform/choices/Server/description": "Spouští se na serveru.",
20+
"symbols/InteractivityPlatform/choices/WebAssembly/displayName": "WebAssembly",
21+
"symbols/InteractivityPlatform/choices/WebAssembly/description": "Spustí se v prohlížeči pomocí WebAssembly.",
22+
"symbols/InteractivityPlatform/choices/Auto/displayName": "Automaticky (Server a WebAssembly)",
23+
"symbols/InteractivityPlatform/choices/Auto/description": "Při stahování prostředků WebAssembly používá Server a pak WebAssembly.",
24+
"symbols/InteractivityLocation/displayName": "U_místění interaktivity",
25+
"symbols/InteractivityLocation/description": "Zvolí, které komponenty budou mít povolené interaktivní vykreslování.",
26+
"symbols/InteractivityLocation/choices/InteractivePerPage/displayName": "Na stránku nebo komponentu",
27+
"symbols/InteractivityLocation/choices/InteractivePerPage/description": "Interaktivita se používá pro jednotlivé stránky nebo jednotlivé komponenty.",
28+
"symbols/InteractivityLocation/choices/InteractiveGlobal/displayName": "Globální",
29+
"symbols/InteractivityLocation/choices/InteractiveGlobal/description": "Interaktivita se používá na kořenové úrovni.",
30+
"symbols/IncludeSampleContent/displayName": "Zahrnout _ukázkové stránky",
31+
"symbols/IncludeSampleContent/description": "Nastavuje, jestli se mají přidávat ukázkové stránky a styly pro demonstraci základních vzorů použití.",
32+
"symbols/Empty/description": "Nastavuje, jestli se mají vynechat ukázkové stránky a styly, které demonstrují základní vzory použití.",
33+
"symbols/auth/choices/None/description": "Bez ověřování",
34+
"symbols/auth/choices/Individual/description": "Ověřování Individual",
35+
"symbols/auth/description": "Typ ověřování, který se má použít",
36+
"symbols/UseLocalDB/description": "Určuje, jestli se má použít LocalDB namísto SQLite. Tato možnost platí jenom v případě, že je zadaná možnost --auth Individual.",
37+
"symbols/AllInteractive/displayName": "_Povolit interaktivní vykreslování globálně na celém webu",
38+
"symbols/AllInteractive/description": "Konfiguruje, jestli se má každá stránka nastavit jako interaktivní, a to použitím interaktivního režimu vykreslování na nejvyšší úrovni. Pokud se nastaví na false, stránky budou ve výchozím nastavení používat vykreslování statického serveru a dají se označit jako interaktivní pro jednotlivé stránky nebo komponenty.",
39+
"symbols/NoHttps/description": "Určuje, jestli se má vypnout protokol HTTPS. Tato možnost platí jenom v případě, že se pro --auth nepoužívá jednotlivec.",
40+
"symbols/UseProgramMain/displayName": "Nepoužívat _příkazy nejvyšší úrovně",
41+
"symbols/UseProgramMain/description": "Určuje, jestli se má místo příkazů nejvyšší úrovně generovat explicitní třída Program a metoda Main.",
42+
"postActions/restore/description": "Obnoví balíčky NuGet vyžadované tímto projektem.",
43+
"postActions/restore/manualInstructions/default/text": "Spustit dotnet restore"
44+
}
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"author": "Microsoft",
3+
"name": "Fluent Blazor Web App",
4+
"description": "Eine Projektvorlage zum Erstellen einer Blazor-Web-App, die sowohl serverseitiges Rendering als auch Clientinteraktivität unterstützt. Diese Vorlage kann für Web-Apps mit umfangreichen dynamischen Benutzeroberflächen (UIs) verwendet werden.",
5+
"symbols/Framework/description": "Das Zielframework für das Projekt.",
6+
"symbols/Framework/choices/net10.0/description": "Ziel.-NET10.0",
7+
"symbols/UserSecretsId/description": "Die für Geheimnisse zu verwendende ID (Verwendung mit individueller Authentifizierung).",
8+
"symbols/skipRestore/description": "Wenn angegeben, wird die automatische Wiederherstellung des Projekts beim Erstellen übersprungen.",
9+
"symbols/ExcludeLaunchSettings/description": "Ob launchSettings.json aus der generierten Vorlage ausgeschlossen werden soll.",
10+
"symbols/kestrelHttpPort/description": "Portnummer, die für den HTTP Endpunkt in launchSettings.json verwendet werden soll.",
11+
"symbols/kestrelHttpsPort/description": "Portnummer, die für den HTTPS Endpunkt in launchSettings.json verwendet werden soll. Diese Option ist nur anwendbar, wenn der Parameter no-https nicht verwendet wird (no-https wird ignoriert, wenn die individuelle Authentifizierung verwendet wird).",
12+
"symbols/iisHttpPort/description": "Portnummer, die für den IIS Express HTTP Endpunkt in launchSettings.json verwendet werden soll.",
13+
"symbols/iisHttpsPort/description": "Portnummer, die für den IIS Express-HTTPS-Endpunkt in launchSettings.json verwendet werden soll. Diese Option ist nur anwendbar, wenn der Parameter no-https nicht verwendet wird (no-https wird ignoriert, wenn die individuelle Authentifizierung verwendet wird).",
14+
"symbols/InteractivityPlatform/displayName": "_Interaktiver Rendermodus",
15+
"symbols/InteractivityPlatform/description": "Wählt aus, welcher interaktive Rendermodus für interaktive Komponenten verwendet werden soll",
16+
"symbols/InteractivityPlatform/choices/None/displayName": "Keine",
17+
"symbols/InteractivityPlatform/choices/None/description": "Keine Interaktivität (nur statisches Serverrendering)",
18+
"symbols/InteractivityPlatform/choices/Server/displayName": "Server",
19+
"symbols/InteractivityPlatform/choices/Server/description": "Wird auf dem Server ausgeführt",
20+
"symbols/InteractivityPlatform/choices/WebAssembly/displayName": "WebAssembly",
21+
"symbols/InteractivityPlatform/choices/WebAssembly/description": "Wird im Browser mithilfe von WebAssembly ausgeführt",
22+
"symbols/InteractivityPlatform/choices/Auto/displayName": "Automatisch (Server und WebAssembly)",
23+
"symbols/InteractivityPlatform/choices/Auto/description": "Verwendet Server beim Herunterladen von WebAssembly-Ressourcen und dann WebAssembly",
24+
"symbols/InteractivityLocation/displayName": "Interaktivitäts_location",
25+
"symbols/InteractivityLocation/description": "Wählt aus, für welche Komponenten das interaktive Rendering aktiviert werden soll",
26+
"symbols/InteractivityLocation/choices/InteractivePerPage/displayName": "Pro Seite/ Komponente",
27+
"symbols/InteractivityLocation/choices/InteractivePerPage/description": "Interaktivität wird auf Seiten- oder Komponentenbasis angewendet",
28+
"symbols/InteractivityLocation/choices/InteractiveGlobal/displayName": "Global",
29+
"symbols/InteractivityLocation/choices/InteractiveGlobal/description": "Interaktivität wird auf Stammebene angewendet",
30+
"symbols/IncludeSampleContent/displayName": "_Beispielseiten einschließen",
31+
"symbols/IncludeSampleContent/description": "Konfiguriert, ob Beispielseiten und Stile hinzugefügt werden, um grundlegende Verwendungsmuster zu veranschaulichen.",
32+
"symbols/Empty/description": "Konfiguriert, ob Beispielseiten und Formatierungen weggelassen werden sollen, die grundlegende Verwendungsmuster veranschaulichen.",
33+
"symbols/auth/choices/None/description": "Keine Authentifizierung",
34+
"symbols/auth/choices/Individual/description": "Individuelle Authentifizierung",
35+
"symbols/auth/description": "Der zu verwendende Authentifizierungstyp",
36+
"symbols/UseLocalDB/description": "Ob LocalDB anstelle von SQLite verwendet werden soll. Diese Option gilt nur, wenn \"--auth Individual\" angegeben ist.",
37+
"symbols/AllInteractive/displayName": "_Aktivieren des interaktiven Renderings global auf der gesamten Website",
38+
"symbols/AllInteractive/description": "Konfiguriert, ob jede Seite interaktiv werden soll, indem ein interaktiver Rendermodus auf der obersten Ebene angewendet wird. False gibt an, dass Seiten standardmäßig statisches Serverrendering verwenden und auf Seiten- oder Komponentenbasis als interaktiv markiert werden können.",
39+
"symbols/NoHttps/description": "Ob HTTPS deaktiviert werden soll. Diese Option gilt nur, wenn \"Individual\" nicht für \"--auth\" verwendet wird.",
40+
"symbols/UseProgramMain/displayName": "Keine Anweisungen_der obersten Ebene verwenden",
41+
"symbols/UseProgramMain/description": "Gibt an, ob anstelle von Anweisungen der obersten Ebene eine explizite Programmklasse und eine Main-Methode generiert werden soll.",
42+
"postActions/restore/description": "„NuGet-Pakete“ wiederherstellen, die für dieses Projekt erforderlich sind.",
43+
"postActions/restore/manualInstructions/default/text": "„dotnet restore“ ausführen"
44+
}
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"author": "Microsoft",
3+
"name": "Fluent Blazor Web App",
4+
"description": "A project template for creating a Blazor web app that supports both server-side rendering and client interactivity and uses the Fluent components library. This template can be used for web apps with rich dynamic user interfaces (UIs).",
5+
"symbols/Framework/description": "The target framework for the project.",
6+
"symbols/Framework/choices/net10.0/description": "Target net10.0",
7+
"symbols/UserSecretsId/description": "The ID to use for secrets (use with Individual auth).",
8+
"symbols/skipRestore/description": "If specified, skips the automatic restore of the project on create.",
9+
"symbols/ExcludeLaunchSettings/description": "Whether to exclude launchSettings.json from the generated template.",
10+
"symbols/kestrelHttpPort/description": "Port number to use for the HTTP endpoint in launchSettings.json.",
11+
"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 (no-https will be ignored if Individual auth is used).",
12+
"symbols/iisHttpPort/description": "Port number to use for the IIS Express HTTP endpoint in launchSettings.json.",
13+
"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 (no-https will be ignored if Individual auth is used).",
14+
"symbols/InteractivityPlatform/displayName": "_Interactive render mode",
15+
"symbols/InteractivityPlatform/description": "Chooses which interactive render mode to use for interactive components",
16+
"symbols/InteractivityPlatform/choices/None/displayName": "None",
17+
"symbols/InteractivityPlatform/choices/None/description": "No interactivity (static server rendering only)",
18+
"symbols/InteractivityPlatform/choices/Server/displayName": "Server",
19+
"symbols/InteractivityPlatform/choices/Server/description": "Runs on the server",
20+
"symbols/InteractivityPlatform/choices/WebAssembly/displayName": "WebAssembly",
21+
"symbols/InteractivityPlatform/choices/WebAssembly/description": "Runs in the browser using WebAssembly",
22+
"symbols/InteractivityPlatform/choices/Auto/displayName": "Auto (Server and WebAssembly)",
23+
"symbols/InteractivityPlatform/choices/Auto/description": "Uses Server while downloading WebAssembly assets, then uses WebAssembly",
24+
"symbols/InteractivityLocation/displayName": "Interactivity _location",
25+
"symbols/InteractivityLocation/description": "Chooses which components will have interactive rendering enabled",
26+
"symbols/InteractivityLocation/choices/InteractivePerPage/displayName": "Per page/component",
27+
"symbols/InteractivityLocation/choices/InteractivePerPage/description": "Interactivity is applied on a per-page or per-component basis",
28+
"symbols/InteractivityLocation/choices/InteractiveGlobal/displayName": "Global",
29+
"symbols/InteractivityLocation/choices/InteractiveGlobal/description": "Interactivity is applied at the root level",
30+
"symbols/IncludeSampleContent/displayName": "Include _sample pages",
31+
"symbols/IncludeSampleContent/description": "Configures whether to add sample pages and styling to demonstrate basic usage patterns.",
32+
"symbols/Empty/description": "Configures whether to omit sample pages and styling that demonstrate basic usage patterns.",
33+
"symbols/auth/choices/None/description": "No authentication",
34+
"symbols/auth/choices/Individual/description": "Individual authentication",
35+
"symbols/auth/description": "The type of authentication to use",
36+
"symbols/UseLocalDB/description": "Whether to use LocalDB instead of SQLite. This option only applies if --auth Individual is specified.",
37+
"symbols/AllInteractive/displayName": "_Enable interactive rendering globally throughout the site",
38+
"symbols/AllInteractive/description": "Configures whether to make every page interactive by applying an interactive render mode at the top level. If false, pages will use static server rendering by default, and can be marked interactive on a per-page or per-component basis.",
39+
"symbols/NoHttps/description": "Whether to turn off HTTPS. This option only applies if Individual isn't used for --auth.",
40+
"symbols/UseProgramMain/displayName": "Do not use _top-level statements",
41+
"symbols/UseProgramMain/description": "Whether to generate an explicit Program class and Main method instead of top-level statements.",
42+
"postActions/restore/description": "Restore NuGet packages required by this project.",
43+
"postActions/restore/manualInstructions/default/text": "Run 'dotnet restore'"
44+
}

0 commit comments

Comments
 (0)