Skip to content

Releases: CenterEdge/Shawarma.AspNetCore

2.2.1: Improve Aspire HTTP integration (#15)

06 Jan 14:22
accd151

Choose a tag to compare

Motivation
----------
Better functionality and consistency with Aspire patterns.

Modifications
-------------
- Allow passing in a specific endpoint or endpoint selector
- Allow choosing the HttpClientName from the IHttpClientFactory
- Allow customizing the path to the application state endpoint
- Use WithHttpCommand to add the commands
- Disable the start command when the service is not running
- Reset the current status if the service is restarted
- Add an Aspire testing app host
- Add OpenTelemetry and a health check to the test web app for Aspire compatibility and enable HTTPS in the launch configuration

Results
-------
- Callers may pick the endpoint in a variety of ways rather than only endpoint name
- The HTTPS endpoint is now prefered by default, and all selection rules used by WithHttpCommand in Aspire are used
- Requests use the Aspire HTTP client factory and get dev certificate trust from Aspire, and the client factory may be customized
- Consumers using a custom URL instead of /applicationstate may match this configuration this in Aspire
- Shawarma commands remain disabled if the service is stopped and get the proper state if the service is restarted

2.2.0

01 Dec 19:49
1c81b3a

Choose a tag to compare

What's Changed

Full Changelog: 2.1.0...2.2.0

2.1.0

26 Jul 15:00
e3337cf

Choose a tag to compare

What's Changed

Full Changelog: 2.0.1...2.1.0

Switch to System.Text.Json for serialization

05 Mar 17:03
5639fcd

Choose a tag to compare

Switch to System.Text.Json serialization (SWS-4542) (#4)

Motivation
----------
Better alignment with .NET Core 3.1 and .NET 5. They currently use this
as the default, so we can avoid pulling in Newtonsoft.Json. Also, the
synchronous stream rendering causes problems without specific config
being in place in the app startup code.

Modifications
-------------
Drop Newtonsoft.Json and serialization settings from Abstractions.

Switch AspNetCore to use System.Text.Json, adding it as a dependency for
.NET Standard 2.0 only. Make serialization and deserialization async.

https://centeredge.atlassian.net/browse/SWS-4542

Support for endpoint routing in .NET 5 and .NET Core 3.1

04 Mar 19:09
f65734d

Choose a tag to compare

 Update for .NET 5 and endpoint routing (SWS-4370) (#2)

Motivation
----------
Better integration with modern frameworks.

Modifications
-------------
Multi-target for various frameworks, and on the supported frameworks add
support for endpoint routing.

Upgrade various NuGet packages and the C# language version.

Update the README to show endpoint routing.

https://centeredge.atlassian.net/browse/SWS-4370

Initial Release

26 Jul 22:41
72fbb88

Choose a tag to compare

Move abstractions to separate package (PHNX-2997) (#1)

Motivation
----------
Allow packages which want to consume some Shawarma features to do so
without depending on the entire dependency tree.

Move to abstractions assembly

26 Jul 21:42
72fbb88

Choose a tag to compare

Pre-release
Move abstractions to separate package (PHNX-2997) (#1)

Motivation
----------
Allow packages which want to consume some Shawarma features to do so
without depending on the entire dependency tree.

Initial Test

24 Jun 21:42
e479a0d

Choose a tag to compare

Initial Test Pre-release
Pre-release
1.0.0-alpha001

Add .travis.yml