40 instantiations of UserSecretsIdAttribute
AzureContainerApps.AppHost (1)
artifacts\obj\AzureContainerApps.AppHost\Debug\net8.0\AzureContainerApps.AppHost.AssemblyInfo.cs (1)
13[assembly: Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute("9dc69458-f2b4-4306-9dc5-f7b8e398a3a9")]
AzureFunctionsEndToEnd.AppHost (1)
artifacts\obj\AzureFunctionsEndToEnd.AppHost\Debug\net8.0\AzureFunctionsEndToEnd.AppHost.AssemblyInfo.cs (1)
13[assembly: Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute("d824db17-effc-4f8c-aa80-f0ae6aba93eb")]
AzureSearch.AppHost (1)
artifacts\obj\AzureSearch.AppHost\Debug\net8.0\AzureSearch.AppHost.AssemblyInfo.cs (1)
13[assembly: Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute("5698624b-26e2-4368-a334-3cc4807a9363")]
AzureStorageEndToEnd.AppHost (1)
artifacts\obj\AzureStorageEndToEnd.AppHost\Debug\net8.0\AzureStorageEndToEnd.AppHost.AssemblyInfo.cs (1)
13[assembly: Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute("9dc69458-f2b4-4306-9dc5-f7b8e398a3a9")]
BasketService (1)
artifacts\obj\BasketService\Debug\net8.0\BasketService.AssemblyInfo.cs (1)
13[assembly: Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute("f0611710-1eab-4ff6-a476-9610bb7a8416")]
BicepSample.AppHost (1)
artifacts\obj\BicepSample.AppHost\Debug\net8.0\BicepSample.AppHost.AssemblyInfo.cs (1)
13[assembly: Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute("dafae173-3ac0-4100-8cab-602852cb28dd")]
CatalogService (1)
artifacts\obj\CatalogService\Debug\net8.0\CatalogService.AssemblyInfo.cs (1)
13[assembly: Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute("16965dbf-c1f8-4682-b7d8-e250ac520544")]
CdkSample.AppHost (1)
artifacts\obj\CdkSample.AppHost\Debug\net8.0\CdkSample.AppHost.AssemblyInfo.cs (1)
13[assembly: Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute("44b9bf37-1892-4852-8b5f-153e3ac5d24c")]
CosmosEndToEnd.AppHost (1)
artifacts\obj\CosmosEndToEnd.AppHost\Debug\net8.0\CosmosEndToEnd.AppHost.AssemblyInfo.cs (1)
13[assembly: Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute("1a175a29-0f72-4d3d-85fb-3b8930c8cf7d")]
CreateDefaultBuilderApp (1)
artifacts\obj\CreateDefaultBuilderApp\Release\net10.0\CreateDefaultBuilderApp.AssemblyInfo.cs (1)
13[assembly: Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute("aspnetcore-CreateDefaultBuilder-20170424224131")]
CreateDefaultBuilderOfTApp (1)
artifacts\obj\CreateDefaultBuilderOfTApp\Release\net10.0\CreateDefaultBuilderOfTApp.AssemblyInfo.cs (1)
13[assembly: Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute("aspnetcore-CreateDefaultBuilderOfT-20170424224131")]
DefaultBuilder.SampleApp (1)
artifacts\obj\DefaultBuilder.SampleApp\Release\net10.0\DefaultBuilder.SampleApp.AssemblyInfo.cs (1)
13[assembly: Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute("aspnetcore-MetaPackagesSampleApp-20170406180413")]
Elasticsearch.AppHost (1)
artifacts\obj\Elasticsearch.AppHost\Debug\net8.0\Elasticsearch.AppHost.AssemblyInfo.cs (1)
13[assembly: Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute("76c9a20b-a2cc-4874-8d26-6fbe827d11bf")]
EventHubs.AppHost (1)
artifacts\obj\EventHubs.AppHost\Debug\net8.0\EventHubs.AppHost.AssemblyInfo.cs (1)
13[assembly: Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute("c12f723f-2545-4f8f-8c3b-fb7bdeadbd55")]
EventHubsApi (1)
artifacts\obj\EventHubsApi\Debug\net8.0\EventHubsApi.AssemblyInfo.cs (1)
13[assembly: Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute("10988975-8943-45bd-8598-a455ff9dd597")]
EventHubsConsumer (1)
artifacts\obj\EventHubsConsumer\Debug\net8.0\EventHubsConsumer.AssemblyInfo.cs (1)
13[assembly: Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute("9c946452-f682-49a4-9209-29ed63174447")]
HealthChecksSandbox.AppHost (1)
artifacts\obj\HealthChecksSandbox.AppHost\Debug\net8.0\HealthChecksSandbox.AppHost.AssemblyInfo.cs (1)
13[assembly: Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute("201304c2-b461-43a1-a1fa-6e1cc8b0be41")]
Identity.DefaultUI.WebSite (1)
artifacts\obj\Identity.DefaultUI.WebSite\Release\net10.0\Identity.DefaultUI.WebSite.AssemblyInfo.cs (1)
14[assembly: Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute("aspnet-Identity.DefaultUI.WebSite-80C658D8-CED7-467F-9B47-75DA3BC1A16D")]
Identity.ExternalClaims (1)
artifacts\obj\Identity.ExternalClaims\Release\net10.0\Identity.ExternalClaims.AssemblyInfo.cs (1)
13[assembly: Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute("aspnet-Identity.ExternalClaims-E95BE154-CB1B-4633-A2E0-B2DF12FE8BD3")]
IdentitySample.DefaultUI (1)
artifacts\obj\IdentitySample.DefaultUI\Release\net10.0\IdentitySample.DefaultUI.AssemblyInfo.cs (1)
14[assembly: Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute("aspnetcore-2ff9bc27-5e8c-4484-90ca-e3aace89b72a")]
IdentitySample.Mvc (1)
artifacts\obj\IdentitySample.Mvc\Release\net10.0\IdentitySample.Mvc.AssemblyInfo.cs (1)
13[assembly: Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute("aspnetcore-b3d20cbe-418e-4bf2-a0f4-57f91d067e07")]
JwtBearerSample (1)
artifacts\obj\JwtBearerSample\Release\net10.0\JwtBearerSample.AssemblyInfo.cs (1)
13[assembly: Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute("aspnet5-JwtBearerSample-20151210102827")]
Keycloak.AppHost (1)
artifacts\obj\Keycloak.AppHost\Debug\net8.0\Keycloak.AppHost.AssemblyInfo.cs (1)
13[assembly: Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute("230093c1-93fe-469d-bcdb-9c8a3c1f699c")]
Microsoft.AspNetCore.Tests (1)
WebApplicationTests.cs (1)
37[assembly: UserSecretsId("UserSecret-TestId")]
MilvusPlayground.AppHost (1)
artifacts\obj\MilvusPlayground.AppHost\Debug\net8.0\MilvusPlayground.AppHost.AssemblyInfo.cs (1)
13[assembly: Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute("232af89f-d4b7-4fc2-b60a-3dfbe06c11ef")]
MinimalJwtBearerSample (1)
artifacts\obj\MinimalJwtBearerSample\Release\net10.0\MinimalJwtBearerSample.AssemblyInfo.cs (1)
13[assembly: Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute("MinimalJwtBearerSample-20151210102827")]
OpenAIEndToEnd.AppHost (1)
artifacts\obj\OpenAIEndToEnd.AppHost\Debug\net8.0\OpenAIEndToEnd.AppHost.AssemblyInfo.cs (1)
13[assembly: Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute("55ef4430-77f1-4dfa-9af3-e2e39d665e2a")]
OpenIdConnectSample (1)
artifacts\obj\OpenIdConnectSample\Release\net10.0\OpenIdConnectSample.AssemblyInfo.cs (1)
13[assembly: Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute("aspnet5-OpenIdConnectSample-20151210110318")]
OrderProcessor (1)
artifacts\obj\OrderProcessor\Debug\net8.0\OrderProcessor.AssemblyInfo.cs (1)
13[assembly: Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute("dotnet-OrderProcessor-174b1029-6096-4b07-86b8-1b2d821d0830")]
Orleans.AppHost (1)
artifacts\obj\Orleans.AppHost\Debug\net8.0\Orleans.AppHost.AssemblyInfo.cs (1)
13[assembly: Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute("88427062-d086-46c2-b35e-171d742a6fe0")]
ParameterEndToEnd.AppHost (1)
artifacts\obj\ParameterEndToEnd.AppHost\Debug\net8.0\ParameterEndToEnd.AppHost.AssemblyInfo.cs (1)
13[assembly: Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute("9dc69458-f2b4-4306-9dc5-f7b8e398a3a9")]
Python.AppHost (1)
artifacts\obj\Python.AppHost\Debug\net8.0\Python.AppHost.AssemblyInfo.cs (1)
13[assembly: Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute("10c36641-05e0-4bfb-ad9d-a588431430f1")]
Qdrant.ApiService (1)
artifacts\obj\Qdrant.ApiService\Debug\net8.0\Qdrant.ApiService.AssemblyInfo.cs (1)
13[assembly: Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute("1e49caab-af46-4c24-8011-953ec12b4069")]
Qdrant.AppHost (1)
artifacts\obj\Qdrant.AppHost\Debug\net8.0\Qdrant.AppHost.AssemblyInfo.cs (1)
13[assembly: Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute("10c36641-05e0-4bfb-ad9d-a588431430f0")]
SocialSample (1)
artifacts\obj\SocialSample\Release\net10.0\SocialSample.AssemblyInfo.cs (1)
13[assembly: Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute("aspnet5-SocialSample-20151210111056")]
SqlServerEndToEnd.AppHost (1)
artifacts\obj\SqlServerEndToEnd.AppHost\Debug\net8.0\SqlServerEndToEnd.AppHost.AssemblyInfo.cs (1)
13[assembly: Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute("209ffcfc-80c8-470f-87d4-ef96525f2cdc")]
StaticFilesAuth (1)
artifacts\obj\StaticFilesAuth\Release\net10.0\StaticFilesAuth.AssemblyInfo.cs (1)
13[assembly: Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute("aspnet-StaticFilesAuth-AFE2BD9D-1575-4C3E-BE32-3F15C5BC9947")]
TestShop.AppHost (1)
artifacts\obj\TestShop.AppHost\Debug\net8.0\TestShop.AppHost.AssemblyInfo.cs (1)
13[assembly: Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute("1bf0740a-0dfc-45aa-9002-def9b2b17da0")]
WaitForSandbox.AppHost (1)
artifacts\obj\WaitForSandbox.AppHost\Debug\net8.0\WaitForSandbox.AppHost.AssemblyInfo.cs (1)
13[assembly: Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute("9776201d-1036-4111-8b0a-7e8a520ea26c")]
WebPubSub.AppHost (1)
artifacts\obj\WebPubSub.AppHost\Debug\net8.0\WebPubSub.AppHost.AssemblyInfo.cs (1)
13[assembly: Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute("b51e0e93-326b-4371-920f-d41742849af2")]
24 references to UserSecretsIdAttribute
Aspire.Hosting (1)
ApplicationModel\UserSecretsParameterDefault.cs (1)
41if (assembly.GetCustomAttribute<UserSecretsIdAttribute>()?.UserSecretsId is { } userSecretsId)
Aspire.Hosting.Azure (1)
Provisioning\Provisioners\AzureProvisioner.cs (1)
209return Assembly.GetEntryAssembly()?.GetCustomAttribute<UserSecretsIdAttribute>()?.UserSecretsId switch
Aspire.Hosting.Tests (1)
UserSecretsParameterDefaultTests.cs (1)
16private static readonly ConstructorInfo s_userSecretsIdAttrCtor = typeof(UserSecretsIdAttribute).GetConstructor([typeof(string)])!;
Microsoft.Extensions.Configuration.UserSecrets (21)
UserSecretsConfigurationExtensions.cs (20)
20/// for an instance of <see cref="UserSecretsIdAttribute"/>, which specifies a user secrets ID. 27/// <typeparam name="T">The type from the assembly to search for an instance of <see cref="UserSecretsIdAttribute"/>.</typeparam> 28/// <exception cref="InvalidOperationException">The assembly containing <typeparamref name="T"/> does not have <see cref="UserSecretsIdAttribute"/>.</exception> 37/// for an instance of <see cref="UserSecretsIdAttribute"/>, which specifies a user secrets ID. 45/// <exception cref="InvalidOperationException"><paramref name="optional"/> is false and the assembly containing <typeparamref name="T"/> does not have a valid <see cref="UserSecretsIdAttribute"/>.</exception> 46/// <typeparam name="T">The type from the assembly to search for an instance of <see cref="UserSecretsIdAttribute"/>.</typeparam> 55/// for an instance of <see cref="UserSecretsIdAttribute"/>, which specifies a user secrets ID. 64/// <exception cref="InvalidOperationException"><paramref name="optional"/> is <see langword="false"/> and the assembly containing <typeparamref name="T"/> does not have a valid <see cref="UserSecretsIdAttribute"/>.</exception> 65/// <typeparam name="T">The type from the assembly to search for an instance of <see cref="UserSecretsIdAttribute"/>.</typeparam> 74/// of <see cref="UserSecretsIdAttribute"/>, which specifies a user secrets ID. 81/// <param name="assembly">The assembly with the <see cref="UserSecretsIdAttribute" />.</param> 82/// <exception cref="InvalidOperationException"><paramref name="assembly"/> does not have a valid <see cref="UserSecretsIdAttribute"/>.</exception> 90/// of <see cref="UserSecretsIdAttribute"/>, which specifies a user secrets ID. 97/// <param name="assembly">The assembly with the <see cref="UserSecretsIdAttribute" />.</param> 99/// <exception cref="InvalidOperationException"><paramref name="optional"/> is false and <paramref name="assembly"/> does not have a valid <see cref="UserSecretsIdAttribute"/>.</exception> 107/// of <see cref="UserSecretsIdAttribute"/>, which specifies a user secrets ID. 114/// <param name="assembly">The assembly with the <see cref="UserSecretsIdAttribute" />.</param> 117/// <exception cref="InvalidOperationException"><paramref name="optional"/> is false and <paramref name="assembly"/> does not have a valid <see cref="UserSecretsIdAttribute"/>.</exception> 124UserSecretsIdAttribute? attribute = assembly.GetCustomAttribute<UserSecretsIdAttribute>();
UserSecretsIdAttribute.cs (1)
20/// Initializes an instance of <see cref="UserSecretsIdAttribute" />.