dburriss / event-feed

A HTTP based event feed for ASP.NET
MIT License
1 stars 1 forks source link

Feature/add nuget package dotnet core support #13

Closed RobertvBraam closed 2 years ago

RobertvBraam commented 2 years ago

Our applications still work with .net core 3.1 and we want to make use of the MSSQL producer and therefor I added the targeting frameworks to those libs.

The issue with also having .net core 3.1 for the ASP.NET Core page is that the JSON serialization contexts are only available for .net 6 at the moment. I either need to rewrite them specifically for .net core 3.1 or I can add the 3.1 only to core and MSSQL package. If you have a better suggestion or you want the rewrite, then please let me know.

dburriss commented 2 years ago

They were originally not using the code gen but @Grepsy added that as it is more performant. It doesn't make sense to have only some projects targeting 3.1

dburriss commented 2 years ago

We can use compiler directives to switch between different serialization.

dburriss commented 2 years ago

Fixed in PR #14 . Closing.