© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•8mo ago•
32 replies
Lionel

Advice for migrating from XSD-based ADO.NET to Entity Framework (.NET Framework 4.8 -> .NET Upgrade)

Hi everyone 👋

I'm currently working on a progressive migration of a large ASP.NET Web Forms application (targeting .NET Framework 4.8.1) toward a modern .NET (likely .NET 9 or 8 LTS). One of the big tasks we want to tackle is replacing the existing ADO.NET data access layer, which is built using typed datasets (.xsd files), with Entity Framework.

Key context:

* We want to keep things working under .NET Framework 4.8.1 temporarily, while gradually introducing .NET 8/9.
* Ideally, we'd like to start using EF in new code while using it for the current Web Forms project (not sure if it's possible).
* We'd prefer to minimize duplicated code and avoid maintaining two separate infrastructures if possible.

My main question is: "Can a shared data access layer support both .NET Framework and .NET 8+ (maybe via an "Infrastructure" project with .NET Standard 2.0 and a specific version of EF)?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Entity Framework in .Net 4.8
C#CC# / help
2y ago
❔ Migration from .NET Framework 4.8 to .NET7, Need .NET Standard?
C#CC# / help
4y ago
✅ ADO.Net Vs Entity Framework Core for database connectivity
C#CC# / help
12mo ago
entity framework net 4.8.1 urgent help needed
C#CC# / help
10mo ago