简体   繁体   中英

I have to do a project using old .net technologies, is VS2017 compatible with old technologies?

Recently they told me that I have to do a project with .NET, which I define below the elements that I have to work with:

  1. Database management system: Microsoft SQL Server 2008
  2. Development framework: .NET Framework 4.0.
  3. Development Interface (IDE): Microsoft Visual Studio 2010.
  4. Programming language: Microsoft C Sharp (C #).
  5. Language of object mapping: Entity Framework.
  6. Brand language: ASP .NET
  7. Application server: Internet Information Services 7 (IIS7).

My question is if I can work with Visual Studio 2017 using ASP .Net Core but can run on IIS 7 using the framework 4.0, and also work sqlserver with the latest version and that works on sqlserver 2008

The question for compatibility requirement is if you want to use SQL Client Class or use Entity. The mdf file format for 2008 is forward compatible. New version of SQL Server added enhancements without loosing compatibility. So SQL Client class has no issues. Entity is much faster interface but I've seen a lot of compatibility issues. Some where people updated the database and then didn't update the Entity Modes that c# was using. Other cases where version of Net and SQL Server changed and the code wasn't recompiled to use new libraries and drivers. It appears the Net Library versions and the SQL Drivers are not backward/forward compatible.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM