Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
8 changes: 8 additions & 0 deletions eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,9 @@
<GrpcNetClientVersion>2.64.0</GrpcNetClientVersion>
<GrpcToolsVersion>2.64.0</GrpcToolsVersion>
<MessagePackVersion>2.5.187</MessagePackVersion>
<!-- Extensions packages for Blazor WASM Service Defaults -->
<MicrosoftExtensionsHttpResilienceVersion>10.0.0</MicrosoftExtensionsHttpResilienceVersion>
<MicrosoftExtensionsServiceDiscoveryVersion>10.0.0</MicrosoftExtensionsServiceDiscoveryVersion>
<MicrosoftIdentityWebVersion>3.14.1</MicrosoftIdentityWebVersion>
<MicrosoftIdentityWebGraphServiceClientVersion>3.14.1</MicrosoftIdentityWebGraphServiceClientVersion>
<MicrosoftIdentityWebUIVersion>3.14.1</MicrosoftIdentityWebUIVersion>
Expand All @@ -168,6 +171,11 @@
<NewtonsoftJsonBsonVersion>1.0.2</NewtonsoftJsonBsonVersion>
<NewtonsoftJsonVersion>13.0.3</NewtonsoftJsonVersion>
<NSwagApiDescriptionClientVersion>13.0.4</NSwagApiDescriptionClientVersion>
<!-- OpenTelemetry packages for Blazor WASM Service Defaults -->
<OpenTelemetryExporterOpenTelemetryProtocolVersion>1.10.0</OpenTelemetryExporterOpenTelemetryProtocolVersion>
<OpenTelemetryExtensionsHostingVersion>1.10.0</OpenTelemetryExtensionsHostingVersion>
<OpenTelemetryInstrumentationHttpVersion>1.10.0</OpenTelemetryInstrumentationHttpVersion>
<OpenTelemetryInstrumentationRuntimeVersion>1.10.0</OpenTelemetryInstrumentationRuntimeVersion>
<PhotinoNETVersion>2.5.2</PhotinoNETVersion>
<MicrosoftPlaywrightVersion>1.56.0</MicrosoftPlaywrightVersion>
<PollyExtensionsHttpVersion>3.0.0</PollyExtensionsHttpVersion>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">

<PropertyGroup>
<TargetFramework>${DefaultNetCoreTargetFramework}</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<RootNamespace Condition="'$(name)' != '$(name{-VALUE-FORMS-}safe_namespace)'">BlazorWasm.ServiceDefaults1</RootNamespace>
</PropertyGroup>

<ItemGroup>
<SupportedPlatform Include="browser" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="${MicrosoftAspNetCoreComponentsWebAssemblyVersion}" />
<PackageReference Include="Microsoft.Extensions.Http.Resilience" Version="${MicrosoftExtensionsHttpResilienceVersion}" />
<PackageReference Include="Microsoft.Extensions.ServiceDiscovery" Version="${MicrosoftExtensionsServiceDiscoveryVersion}" />
<PackageReference Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="${OpenTelemetryExporterOpenTelemetryProtocolVersion}" />
<PackageReference Include="OpenTelemetry.Extensions.Hosting" Version="${OpenTelemetryExtensionsHostingVersion}" />
<PackageReference Include="OpenTelemetry.Instrumentation.Http" Version="${OpenTelemetryInstrumentationHttpVersion}" />
<PackageReference Include="OpenTelemetry.Instrumentation.Runtime" Version="${OpenTelemetryInstrumentationRuntimeVersion}" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,16 @@
MicrosoftEntityFrameworkCoreToolsVersion=$(MicrosoftEntityFrameworkCoreToolsVersion);
MicrosoftExtensionsHostingVersion=$(MicrosoftExtensionsHostingVersion);
MicrosoftExtensionsHttpVersion=$(MicrosoftExtensionsHttpVersion);
MicrosoftExtensionsHttpResilienceVersion=$(MicrosoftExtensionsHttpResilienceVersion);
MicrosoftExtensionsServiceDiscoveryVersion=$(MicrosoftExtensionsServiceDiscoveryVersion);
MicrosoftIdentityWebVersion=$(MicrosoftIdentityWebVersion);
MicrosoftIdentityWebGraphServiceClientVersion=$(MicrosoftIdentityWebGraphServiceClientVersion);
MicrosoftIdentityWebUIVersion=$(MicrosoftIdentityWebUIVersion);
MicrosoftIdentityWebDownstreamApiVersion=$(MicrosoftIdentityWebDownstreamApiVersion);
OpenTelemetryExporterOpenTelemetryProtocolVersion=$(OpenTelemetryExporterOpenTelemetryProtocolVersion);
OpenTelemetryExtensionsHostingVersion=$(OpenTelemetryExtensionsHostingVersion);
OpenTelemetryInstrumentationHttpVersion=$(OpenTelemetryInstrumentationHttpVersion);
OpenTelemetryInstrumentationRuntimeVersion=$(OpenTelemetryInstrumentationRuntimeVersion);
SystemNetHttpJsonVersion=$(SystemNetHttpJsonVersion);
MicrosoftGraphVersion=$(MicrosoftGraphVersion);
</GeneratedContentProperties>
Expand Down Expand Up @@ -62,6 +68,7 @@
<GeneratedContent Include="Worker-FSharp.fsproj.in" OutputPath="content/Worker-FSharp/Company.Application1.fsproj" />
<GeneratedContent Include="BlazorWebCSharp.csproj.in" OutputPath="content/BlazorWeb-CSharp/BlazorWebCSharp.1/BlazorWebCSharp.1.csproj" />
<GeneratedContent Include="BlazorWebCSharp.Client.csproj.in" OutputPath="content/BlazorWeb-CSharp/BlazorWebCSharp.1.Client/BlazorWebCSharp.1.Client.csproj" />
<GeneratedContent Include="BlazorWasmServiceDefaults-CSharp.csproj.in" OutputPath="content/BlazorWasmServiceDefaults-CSharp/BlazorWasm.ServiceDefaults1.csproj" />
<GeneratedContent Include="ComponentsWebAssembly-CSharp.csproj.in" OutputPath="content/ComponentsWebAssembly-CSharp/ComponentsWebAssembly-CSharp.csproj" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"author": "Microsoft",
"name": "Blazor WebAssembly Service Defaults",
"description": "A project template for creating a service defaults library for Blazor WebAssembly applications. Includes OpenTelemetry, service discovery, and resilience support for Aspire integration.",
"symbols/Framework/description": "The target framework for the project.",
"symbols/Framework/choices/net10.0/description": "Target net10.0",
"symbols/skipRestore/description": "If specified, skips the automatic restore of the project on create.",
"postActions/restore/description": "Restore NuGet packages required by this project.",
"postActions/restore/manualInstructions/default/text": "Run 'dotnet restore'"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"author": "Microsoft",
"name": "Blazor WebAssembly Service Defaults",
"description": "A project template for creating a service defaults library for Blazor WebAssembly applications. Includes OpenTelemetry, service discovery, and resilience support for Aspire integration.",
"symbols/Framework/description": "The target framework for the project.",
"symbols/Framework/choices/net10.0/description": "Target net10.0",
"symbols/skipRestore/description": "If specified, skips the automatic restore of the project on create.",
"postActions/restore/description": "Restore NuGet packages required by this project.",
"postActions/restore/manualInstructions/default/text": "Run 'dotnet restore'"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"author": "Microsoft",
"name": "Blazor WebAssembly Service Defaults",
"description": "A project template for creating a service defaults library for Blazor WebAssembly applications. Includes OpenTelemetry, service discovery, and resilience support for Aspire integration.",
"symbols/Framework/description": "The target framework for the project.",
"symbols/Framework/choices/net10.0/description": "Target net10.0",
"symbols/skipRestore/description": "If specified, skips the automatic restore of the project on create.",
"postActions/restore/description": "Restore NuGet packages required by this project.",
"postActions/restore/manualInstructions/default/text": "Run 'dotnet restore'"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"author": "Microsoft",
"name": "Blazor WebAssembly Service Defaults",
"description": "A project template for creating a service defaults library for Blazor WebAssembly applications. Includes OpenTelemetry, service discovery, and resilience support for Aspire integration.",
"symbols/Framework/description": "The target framework for the project.",
"symbols/Framework/choices/net10.0/description": "Target net10.0",
"symbols/skipRestore/description": "If specified, skips the automatic restore of the project on create.",
"postActions/restore/description": "Restore NuGet packages required by this project.",
"postActions/restore/manualInstructions/default/text": "Run 'dotnet restore'"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"author": "Microsoft",
"name": "Blazor WebAssembly Service Defaults",
"description": "A project template for creating a service defaults library for Blazor WebAssembly applications. Includes OpenTelemetry, service discovery, and resilience support for Aspire integration.",
"symbols/Framework/description": "The target framework for the project.",
"symbols/Framework/choices/net10.0/description": "Target net10.0",
"symbols/skipRestore/description": "If specified, skips the automatic restore of the project on create.",
"postActions/restore/description": "Restore NuGet packages required by this project.",
"postActions/restore/manualInstructions/default/text": "Run 'dotnet restore'"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"author": "Microsoft",
"name": "Blazor WebAssembly Service Defaults",
"description": "A project template for creating a service defaults library for Blazor WebAssembly applications. Includes OpenTelemetry, service discovery, and resilience support for Aspire integration.",
"symbols/Framework/description": "The target framework for the project.",
"symbols/Framework/choices/net10.0/description": "Target net10.0",
"symbols/skipRestore/description": "If specified, skips the automatic restore of the project on create.",
"postActions/restore/description": "Restore NuGet packages required by this project.",
"postActions/restore/manualInstructions/default/text": "Run 'dotnet restore'"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"author": "Microsoft",
"name": "Blazor WebAssembly Service Defaults",
"description": "A project template for creating a service defaults library for Blazor WebAssembly applications. Includes OpenTelemetry, service discovery, and resilience support for Aspire integration.",
"symbols/Framework/description": "The target framework for the project.",
"symbols/Framework/choices/net10.0/description": "Target net10.0",
"symbols/skipRestore/description": "If specified, skips the automatic restore of the project on create.",
"postActions/restore/description": "Restore NuGet packages required by this project.",
"postActions/restore/manualInstructions/default/text": "Run 'dotnet restore'"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"author": "Microsoft",
"name": "Blazor WebAssembly Service Defaults",
"description": "A project template for creating a service defaults library for Blazor WebAssembly applications. Includes OpenTelemetry, service discovery, and resilience support for Aspire integration.",
"symbols/Framework/description": "The target framework for the project.",
"symbols/Framework/choices/net10.0/description": "Target net10.0",
"symbols/skipRestore/description": "If specified, skips the automatic restore of the project on create.",
"postActions/restore/description": "Restore NuGet packages required by this project.",
"postActions/restore/manualInstructions/default/text": "Run 'dotnet restore'"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"author": "Microsoft",
"name": "Blazor WebAssembly Service Defaults",
"description": "A project template for creating a service defaults library for Blazor WebAssembly applications. Includes OpenTelemetry, service discovery, and resilience support for Aspire integration.",
"symbols/Framework/description": "The target framework for the project.",
"symbols/Framework/choices/net10.0/description": "Target net10.0",
"symbols/skipRestore/description": "If specified, skips the automatic restore of the project on create.",
"postActions/restore/description": "Restore NuGet packages required by this project.",
"postActions/restore/manualInstructions/default/text": "Run 'dotnet restore'"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"author": "Microsoft",
"name": "Blazor WebAssembly Service Defaults",
"description": "A project template for creating a service defaults library for Blazor WebAssembly applications. Includes OpenTelemetry, service discovery, and resilience support for Aspire integration.",
"symbols/Framework/description": "The target framework for the project.",
"symbols/Framework/choices/net10.0/description": "Target net10.0",
"symbols/skipRestore/description": "If specified, skips the automatic restore of the project on create.",
"postActions/restore/description": "Restore NuGet packages required by this project.",
"postActions/restore/manualInstructions/default/text": "Run 'dotnet restore'"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"author": "Microsoft",
"name": "Blazor WebAssembly Service Defaults",
"description": "A project template for creating a service defaults library for Blazor WebAssembly applications. Includes OpenTelemetry, service discovery, and resilience support for Aspire integration.",
"symbols/Framework/description": "The target framework for the project.",
"symbols/Framework/choices/net10.0/description": "Target net10.0",
"symbols/skipRestore/description": "If specified, skips the automatic restore of the project on create.",
"postActions/restore/description": "Restore NuGet packages required by this project.",
"postActions/restore/manualInstructions/default/text": "Run 'dotnet restore'"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"author": "Microsoft",
"name": "Blazor WebAssembly Service Defaults",
"description": "A project template for creating a service defaults library for Blazor WebAssembly applications. Includes OpenTelemetry, service discovery, and resilience support for Aspire integration.",
"symbols/Framework/description": "The target framework for the project.",
"symbols/Framework/choices/net10.0/description": "Target net10.0",
"symbols/skipRestore/description": "If specified, skips the automatic restore of the project on create.",
"postActions/restore/description": "Restore NuGet packages required by this project.",
"postActions/restore/manualInstructions/default/text": "Run 'dotnet restore'"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"author": "Microsoft",
"name": "Blazor WebAssembly Service Defaults",
"description": "A project template for creating a service defaults library for Blazor WebAssembly applications. Includes OpenTelemetry, service discovery, and resilience support for Aspire integration.",
"symbols/Framework/description": "The target framework for the project.",
"symbols/Framework/choices/net10.0/description": "Target net10.0",
"symbols/skipRestore/description": "If specified, skips the automatic restore of the project on create.",
"postActions/restore/description": "Restore NuGet packages required by this project.",
"postActions/restore/manualInstructions/default/text": "Run 'dotnet restore'"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"author": "Microsoft",
"name": "Blazor WebAssembly Service Defaults",
"description": "A project template for creating a service defaults library for Blazor WebAssembly applications. Includes OpenTelemetry, service discovery, and resilience support for Aspire integration.",
"symbols/Framework/description": "The target framework for the project.",
"symbols/Framework/choices/net10.0/description": "Target net10.0",
"symbols/skipRestore/description": "If specified, skips the automatic restore of the project on create.",
"postActions/restore/description": "Restore NuGet packages required by this project.",
"postActions/restore/manualInstructions/default/text": "Run 'dotnet restore'"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"$schema": "https://json.schemastore.org/template",
"author": "Microsoft",
"classifications": [
"Blazor",
"WebAssembly",
"Library",
"OpenTelemetry"
],
"name": "Blazor WebAssembly Service Defaults",
"generatorVersions": "[1.0.0.0-*)",
"description": "A project template for creating a service defaults library for Blazor WebAssembly applications. Includes OpenTelemetry, service discovery, and resilience support for Aspire integration.",
"groupIdentity": "Microsoft.Web.Blazor.Wasm.ServiceDefaults",
"precedence": "10000",
"identity": "Microsoft.Web.Blazor.Wasm.ServiceDefaults.CSharp.10.0",
"shortName": "blazor-wasm-servicedefaults",
"thirdPartyNotices": "https://aka.ms/aspnetcore/10.0-third-party-notices",
"tags": {
"language": "C#",
"type": "project"
},
"sourceName": "BlazorWasm.ServiceDefaults1",
"preferNameDirectory": true,
"symbols": {
"Framework": {
"type": "parameter",
"description": "The target framework for the project.",
"datatype": "choice",
"choices": [
{
"choice": "net10.0",
"description": "Target net10.0"
}
],
"replaces": "net10.0",
"defaultValue": "net10.0"
},
"skipRestore": {
"type": "parameter",
"datatype": "bool",
"description": "If specified, skips the automatic restore of the project on create.",
"defaultValue": "false"
}
},
"primaryOutputs": [
{
"path": "BlazorWasm.ServiceDefaults1.csproj"
}
],
"defaultName": "BlazorWasm.ServiceDefaults",
"postActions": [
{
"id": "restore",
"condition": "(!skipRestore)",
"description": "Restore NuGet packages required by this project.",
"manualInstructions": [
{
"text": "Run 'dotnet restore'"
}
],
"actionId": "210D431B-A78B-4D2F-B762-4ED3E3EA9025",
"continueOnError": true
}
]
}
Loading
Loading