microsoft / durabletask-mssql

Microsoft SQL storage provider for Durable Functions and the Durable Task Framework
MIT License
87 stars 32 forks source link

Plans to support .NET Framework? #5

Closed usemam closed 3 years ago

usemam commented 3 years ago

@cgillum Any plans on bumping TargetFramework for DurableTask.SqlServer package down to netstandard2.0? This will enable support for older .NET versions, such as .NET Framework 4.8 Thanks!

cgillum commented 3 years ago

@usemam yes, I received a few other requests for .NET Framework support and plan and adding it soon. One thing I need to decide is whether to multi-target both .NET Standard 2.1 and .NET Framework 4.6.2 (the version of of our internal partners require) or to just target .NET Standard 2.0. Let me know if you have thoughts on this.

usemam commented 3 years ago

@cgillum IMO, biggest pain-point of targeting just .NET Standard 2.0 is unfortunately getting rid of IAsyncDisposable usages in DurableTask.SqlServer\SqlDbManager.

cgillum commented 3 years ago

I ended up targeting both .NET Standard 2.1 and .NET Standard 2.0. It turns out there are some tricks you can do to support IAsyncDisposable, even in .NET Standard 2.0, so the changes weren't too bad.