Base solution for your next web application
Open Closed

EF 8 - changes #11993


User avatar
0
KieranIrl created

The 'high' breaking change put forward by MS in the link below - around Linq queries and contains in EF 8 - looks to be causing us issues on our own code when we upgrade our app from .NET 6 to .NET 8.

Has this change been tested/refactored for in AspNetZero 13.1.0 - or is it part of upcoming 13.2.0?

Also can we upgrade to 13.1.0 without upgrading our app from .NET 6 to .NET 8?

What is the expected release date of 13.2.0?

https://learn.microsoft.com/en-us/ef/core/what-is-new/ef-core-8.0/breaking-changes#sqlserver-contains-compatibility

Thanks


3 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Yes, you should also use SQL Server 2016 or above and set compatibility mode of your db using the query below;

    ALTER DATABASE database_name
    SET COMPATIBILITY_LEVEL = 130
    

    Also can we upgrade to 13.1.0 without upgrading our app from .NET 6 to .NET 8?

    We don't suggest this.

    What is the expected release date of 13.2.0?

    Final version of 13.2 will be released next week on Tuesday.

  • User Avatar
    0
    KieranIrl created

    Hi,

    Thanks for the update - its very helpful.

    Can you let me know if upcoming 13.2 has any bug fixes solely for .NET 8? In other words is it okay to stick with 13.1 for our .NET 8 upgrade - or is there some bug/issue we should be aware of that should push us to use 13.2? Its just that 13.2 will be so new.

    Kieran

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    There are some bugfixes but not related to .NET8. You can take a look at https://github.com/aspnetzero/aspnet-zero-core/releases/tag/v13.2.0-rc.1