Announcing .NET Aspire Preview 4! For the full announcement, see .NET Aspire preview 3 in docs. The packages are now available on NuGet. Checkout our README in the root of the repo to learn how you can get started with .NET Aspire.
What's Changed
- Playground app for SQL Server resources (uses EF). by @mitchdenny in #1895
- Branding changes for preview 4 by @joperezr in #1892
- Fix dashboard not working with two applicationUrls specified. by @mitchdenny in #1901
- Remove unnecessary code from AppHost in Orleans playground by @VincentH-Net in #1904
- Added a mongo playground project by @davidfowl in #1921
- Consistent resource type XML docs by @JamesNK in #1772
- Removed static web assets from aspire hosting by @davidfowl in #1923
- Transform outgoing address to try to find a resource match by @JamesNK in #1932
- Improve environment variable debugging in the app model by @JamesNK in #1746
- Move shared code to shared directory by @JamesNK in #1751
- Fixed build from shared code change by @JamesNK in #1937
- Allow collapsing operations in the trace view by @stbau04 in #1323
- [main] Update dependencies from dotnet/arcade by @dotnet-maestro in #1947
- Fix dotnet watch. by @mitchdenny in #1933
- Fix precondition in DcpHostService by @drewnoakes in #1943
- Fix histogram chart calculation by @JamesNK in #1968
- Fix exception when app host has no ASPNETCORE_URLS by @drewnoakes in #1970
- Revert state column badge changes by @adamint in #1955
- Update OpenTelemetry packages and use built-in metric methods by @martincostello in #1948
- Prevent ANE when resource state is null by @drewnoakes in #1975
- Remove PublishBuildArtifacts by @mmitche in #1990
- Design changes by @tlmii in #1882
- Fix presentation of resource exit code by @drewnoakes in #1994
- Fix rabbit mq bindings in manifest. by @mitchdenny in #1985
- Avoid Dashboard folder in dashboard project by @drewnoakes in #1995
- Add a known property for a resource's exit code by @drewnoakes in #1998
- Add CTRL-C and working directory messages. by @mitchdenny in #1983
- Map DCP's unknown container exit code to null in resource service by @drewnoakes in #2001
- Update to Mongo's AddDatabase() method by @Banovvv in #1987
- Use HashSet for constant time perf by @drewnoakes in #2002
- Add process metrics to service defaults by @martincostello in #1981
- Use IConfiguration by @drewnoakes in #2011
- Use the slim builder to avoid loading static assets by @davidfowl in #2013
- Update dashboard discovery to use .dll instead of executable by @danegsta in #2018
- Humanize resource state by @adamint in #1962
- Update IDE run session request doc by @karolz-ms in #2020
- Update to Unified Build controls by @mmitche in #1992
- Fix service resolution logic in the dashboard by @davidfowl in #2024
- Fix for unit tests failing. by @mitchdenny in #2028
- Publishing dashboard assets to blob storage in preparation of docker image generation by @joperezr in #1860
- Null is not true, but null is not false by @davidfowl in #2030
- Update Integration Tests by @eerhardt in #1540
- Move SB metadata to intermediates by @ellahathaway in #2023
- Fix Kafka Integration tests by @eerhardt in #2038
- Add AppInsights resource by @BrennanConroy in #2022
- AddParameter(...) by @mitchdenny in #2005
- Bump Microsoft.Data.SqlClient to 5.1.5 by @martincostello in #1950
- Fix publish of dashboard blobs by @joperezr in #2048
- Fix AppInsights dev time provisioning by @BrennanConroy in #2053
- Make ParameterEndToEnd use SQL Server. by @mitchdenny in #2061
- Adds phpMyAdmin to MySql component by @timheuer in #2055
- Generate metadata in manifest. by @mitchdenny in #1619
- Fix dapper package. by @mitchdenny in #2072
- Add ExcludeLaunchProfile method to model by @JamesNK in #1978
- Always show counts in span details by @JamesNK in #1966
- Remove RedisContainerResource and containerize RedisResource. by @mitchdenny in #2073
- Fix component governance alerts by @sebastienros in #2049
- Drop AccountKey in Azure OpenAI README by @eerhardt in #2086
- Refactor functional tests by @eerhardt in #2037
- Unit test ApplicationExecutor by @JamesNK in #2076
- Bump Polly to 8.3.0 by @martincostello in #1949
- Consolidate RabbitMQ resource types for P4. by @mitchdenny in #2078
- Fix missing uninstrumented peer icons in dashboard tracing for HTTP requests by @JamesNK in #2079
- [main] Update dependencies from microsoft/usvc-apiserver by @dotnet-maestro in #2088
- Postgres end to end. by @mitchdenny in #2063
- [main] Update dependencies from dotnet/arcade by @dotnet-maestro in #2082
- Adding bicep resource type by @davidfowl in #2056
- Update Microsoft.Extensions.Http.Resilience to 8.2 by @eerhardt in #2094
- Revert http resilience upgrade by @eerhardt in #2107
- Rename eShopLite to TestShop by @eerhardt in #2095
- Consolidation of Postgres resources. by @mitchdenny in #2097
- Avoid copying dependent projects output in AppHost by @BrennanConroy in #2108
- Fix mapping internal span kind by @JamesNK in #2112
- Consolidate sqlserver resources by @mitchdenny in #2110
- Update Components Progress doc by @eerhardt in #2121
- Clean-up Open AI resource. by @mitchdenny in #2115
- Fix build error on UpdateConfigurationSchema by @eerhardt in #2124
- Adds Mongo Express by @timheuer in #2091
- Consolidate Oracle resources. by @mitchdenny in #2126
- Consolidate MongoDB resources. by @mitchdenny in #2128
- Consolidate Kafka resources. by @mitchdenny in #2129
- Consolidate MySql resources. by @mitchdenny in #2127
- Add error preview tooltip to error log row, make exception message property multiline by @adamint in #2087
- Add resource name to annotations by @BrennanConroy in #2106
- Add test Npgsql EF Test with 2 DbContexts by @eerhardt in #2136
- Fix structured logging name and improve comment by @JamesNK in #2134
- Fix mysql playground build break by @tlmii in #2143
- Build playground projects in CI by @eerhardt in #2144
- Add Enrich EF API by @sebastienros in #2125
- [tests] Add support for running tests on helix by @radical in #1917
- Theme the scrollbars in dark theme, and refactor theming support by @tlmii in #2145
- Remove inner tooltip in exception info tooltip by @adamint in #2158
- Use standard otel properties for rabbitmq logs by @adamint in #2157
- Update RabbitMQ to the latest 6.8.1 by @eerhardt in #2159
- Use keyvault for secret outputs by @davidfowl in #2131
- Remove unnecessary link in Aspire.Hosting.Orleans by @eerhardt in #2164
- Update outdated packages by @joperezr in #2160
- [ci] Use .Open helix queues only for public builds by @radical in #2166
- Display "start time" in local time, not UTC, and omit date if today by @drewnoakes in #2152
- Container surrogate for UseEmulator for Azure Storage. by @mitchdenny in #2132
- Fail provisioning if any of the individual tasks fails by @davidfowl in #2176
- Cosmos DB Emualtor container surrogate. by @mitchdenny in #2175
- Show OLTP timestamps using user's time format preferences by @drewnoakes in #2135
- Clean up WithReference logic by @davidfowl in #2178
- Use existing constants rather than computing them by @drewnoakes in #2184
- Revert fluentui-blazor upgrade by @adamint in #2190
- [tests] Run SqlServer, and PostgreSQL tests on helix by @radical in #2162
- [main] Update dependencies from microsoft/usvc-apiserver by @dotnet-maestro in #2194
- Fix RabbitMQ StackTrace tag by @eerhardt in #2163
- Pass Otel service name to containers by @BrennanConroy in #2196
- Add WithEndpoint(name, callback) and WithImageX(...) methods. by @mitchdenny in #2179
- Implement PublishAsAzureRedis by @davidfowl in #2188
- Fix dashboard running without resource server by @JamesNK in #2199
- Always copy the bicep files by @davidfowl in #2202
- Merging Preview 3 branch into main by @joperezr in #2206
- Limit metrics to up to 100,000 values by @JamesNK in #2113
- Minor OpenAI fixes by @eerhardt in #2212
- Enable XML doc error by @eerhardt in #2191
- Make resources page inaccessible in standalone mode by @JamesNK in #2201
- [main] Update dependencies from microsoft/usvc-apiserver by @dotnet-maestro in #2216
- Remove comment about DotNet-Blob-Feed from common-variables.yml by @akoeplinger in #1924
- Only build manifest when building in VMR in general by @mmitche in #2141
- Add support for using podman as the container runtime by @danegsta in #2217
- Add connection security to dashboard OTLP by @JamesNK in #2114
- Rename AsDockerFileInManifest to PublishAsDockerFile by @davidfowl in #2209
- [main] Update dependencies from dotnet/arcade by @dotnet-maestro in #2231
- Use cryptographically generated passwords by @sebastienros in #2210
- Update EF Sql Server API by @sebastienros in #2193
- Update Oracle database EF API by @sebastienros in #2195
- Updating SDK to 8.0.200 by @joperezr in #1888
- Update CosmosDb EF API by @sebastienros in #2215
- [main] Update dependencies from microsoft/usvc-apiserver by @dotnet-maestro in #2238
- Avoid adding non-HTTP URLs to ASPNETCORE_URLS during launch by @ReubenBond in #2239
- Extra dashboard validation for deserialised resource service messages by @drewnoakes in #2244
- Add a parent to replicas when selecting a resource by @adamint in #2123
- Fix resource start time formatting by @JamesNK in #2253
- Improvements to structured logs error tooltip by @JamesNK in #2170
- Increase default dependency check timeout and make it configurable by @danegsta in #2256
- Introduce execution context and expose operation. by @mitchdenny in #2261
- Persist state in structured logs page by @adamint in #2161
- Update dashboard README file by @drewnoakes in #2249
- Fix replica selection runtime error in dashboard by @JamesNK in #2262
- Use vector for Aspire logo in dashboard by @timheuer in #2279
- use resource name in metrics and traces page instead of instance id by @adamint in #2255
- Fixing transparency on AOAI package icon by @timheuer in #2254
- Use versioned tags. by @mitchdenny in #2224
- Write the postgres connection string to keyvault by @davidfowl in #2283
- Allow bicep outputs as bicep parameters by @davidfowl in #2287
- Add database migration playground and skip connection string validation for EF tooling by @JamesNK in #2263
- Clean up resource output modeling by @davidfowl in #2286
- Fix parameter secret by @mitchdenny in #2295
- Improve Cosmos with local emulator by @JamesNK in #2008
- Added GetSecretOutput by @davidfowl in #2296
- Fix SQL Server Bicep generated connection string. by @mitchdenny in #2297
- Add WithBindMount method by @JamesNK in #2245
- Require name when defining volume mount by @JamesNK in #2300
- Update Blazor Fluent UI package to 4.4.2 preview by @JamesNK in #2301
- Add dashboard integration tests for OLTP security by @JamesNK in #2223
- Refactor
AzureBicepRedisResource
toAzureRedisResource
by @mitchdenny in #2299 - Fixed publish mode for secret outputs by @davidfowl in #2309
- More changes to make dates and times consistent across dashboard by @JamesNK in #2306
- Fix date formatting with milliseconds by @JamesNK in #2313
- Don't set
ASPNETCORE_URLS
etc. in DCP at all by @bwateratmsft in #2257 - AddAzureBicepPostgres(...).AddDatabase(...) => AddPostgres(...).PublishAsAzurePostgresFlexibleServer(...).AddDatabase(...) by @mitchdenny in #2312
- Don't try to cleanup DCP resources on shtudown by @danegsta in #2324
- Improve trace span overflow by @JamesNK in #2302
- Fix remembering details display for structured logs by @JamesNK in #2292
- Change the azure resource to be bicep based by @davidfowl in #2320
- Keep selected trace on data updates by @JamesNK in #2293
- Update migration playground to have a shared props file by @JamesNK in #2327
- Add ResourceState.Running by @JamesNK in #2325
- Make property validation exception message clearer by @drewnoakes in #2328
- Update MySql EF API by @sebastienros in #2237
- Consolidate EF API updates by @sebastienros in #2271
- Move azure storage resource to bicep model by @davidfowl in #2329
- Remove custom resource types for containers by @davidfowl in #2331
- Clean up log listener socket during shutdown by @ReubenBond in #2326
- Refactor azure sql resource by @mitchdenny in #2337
- [main] Update dependencies from microsoft/usvc-apiserver by @dotnet-maestro in #2342
- Update open-telemetry-architecture.md by @laurentkempe in #2156
- Add RabbitMQ logging tests by @eerhardt in #2343
- PublishAsConnectionString by @davidfowl in #2052
- AzureBicepCosmosDB -> AzureCosmosDB by @mitchdenny in #2352
- Give nested contexts a descriptive name by @JamesNK in #2353
- Service Bus Queues and Topics and child resources by @bjorkstromm in #2232
- Remove URI reserved characters from password generator by @timheuer in #2323
- Move files out of bicep folder by @davidfowl in #2361
- Add data grid view of metrics by @adamint in #1755
- Refactor RabbitMQ tests to use Testcontainers by @eerhardt in #2345
- Move files and unused references by @davidfowl in #2363
- Display version information in dashboard and host by @sebastienros in #2242
- Dispose DistributedApplication instances in tests. by @eerhardt in #2364
- Consistently use resource name as ID everywhere by @JamesNK in #2282
- Introduce database name property for Postgres database resources by @sebastienros in #2346
- Bump VS min version in SDK target by @timheuer in #2290
- Add proxyless endpoint support by @BrennanConroy in #2314
- Orleans: configure ports automatically by @ReubenBond in #2243
- Remove back button from trace detail page by @JamesNK in #2370
- Introduce IsRunning and IsPublishing properties. by @mitchdenny in #2372
- PublishAsConnectionString for Azure resources by @BrennanConroy in #2373
- Update protocol for resource commands by @drewnoakes in #2347
- Service Discovery: set port to 0 when scheme is not present, not -1 by @ReubenBond in #1885
- Adding Azure SignalR provisioning and a showcase to playground by @vicancy in #1873
- Remove DbContextPooling from appsettings tests and docs by @eerhardt in #2381
- Fix ServiceBus endpoint logic by @eerhardt in #2385
- Change Aspire URLs so trace detail is selected by @JamesNK in #2368
- Update Azure PostgreSQL flexible server defaults by @eerhardt in #2391
- Make resource details sections more obvious by @tlmii in #2270
- Add better caching support for reusing configuration values by @davidfowl in #2392
- Make the log analytics workspace visible a magic parameter by @davidfowl in #2374
- Update other details panels by @tlmii in #2401
- Fix footer padding by @tlmii in #2402
- Move resources to the right folder and namespace by @davidfowl in #2404
- Fix migrations service in playground by @JamesNK in #2351
- UseEmulator -> RunAsEmulator by @mitchdenny in #2416
- Rename ResourceMetadataCollection to ResourceAnnotationCollection. by @mitchdenny in #2418
- Remove IgnoreEmulatorCertificate from Cosmos EF integration by @JamesNK in #2425
- Update the
DistributedApplicationLifecycle
to use shared terminology by @IEvangelist in #2432 - Tweak header size and content padding by @JamesNK in #2419
- For #794. Add Azure AI Search Component by @levimatheri in #2070
- Update manifests by @sebastienros in #2440
- Add keyboard shortcuts for panels, pages, settings by @adamint in #2387
- Fixing issue where AspireManifestPublishOutputPath is specified by @joperezr in #2388
- Minor fixups for Azure AI Search PR by @eerhardt in #2447
- [main] Update dependencies from microsoft/usvc-apiserver by @dotnet-maestro in #2442
- Rename key Service Discovery types by @ReubenBond in #1877
- Show all resource endpoints on resource grid by @JamesNK in #2413
- Fix PassThroughServiceEndPointResolverTests by @ReubenBond in #2451
- Updating OTel Nuget package dependencies to the latest by @samsp-msft in #2454
- Enable signing and fix symbol publishing for dashboard image by @joperezr in #2477
- [release/8.0-preview4] Update templates for AppInsights by @github-actions in #2475
- Backport keyboard shortcut fixes into p4 by @adamint in #2483
- [release/8.0-preview4] Fix opening console logs in a new window or refreshing by @github-actions in #2489
- [release/8.0-preview4] Optimize project templates by @github-actions in #2473
- [release/8.0-preview4] Use fluent icon logo instead of img + svg by @github-actions in #2551
- Isolate the use of host.docker.internal by @davidfowl in #2685
New Contributors
- @martincostello made their first contribution in #1948
- @Banovvv made their first contribution in #1987
- @ellahathaway made their first contribution in #2023
- @laurentkempe made their first contribution in #2156
- @vicancy made their first contribution in #1873
- @levimatheri made their first contribution in #2070
Full Changelog: v8.0.0-preview.3.24105.21...v8.0.0-preview.4.24156.9