What Changed
Starting with v22.1.4, you can no longer select the DevExpress ORM OData v3 Service project template in Visual Studio.
Reasons for Change
This project template itself and WCF Data Services 5.0 (OData v3) are outdated. OData v4 is the most recent standard that provides much more features than OData v3 (learn more).
Impact on Existing Apps
This change does not affect existing apps, because we have just removed the project template in Visual Studio.
How to Update Existing Apps
If you are happy with your existing OData v3 XPO-based service project, you can keep using it as long as you wish. If you happen to recreate the old OData v3 service, you can copy your existing code or our example at How to: Use the XPO OData v3 Service.
For users creating new service projects, we recommend the following options:
- Use the Web API Service with integrated authorization & CRUD operations based on ASP.NET Core OData 8.0 (OData v4) powered by EF Core 5 and XPO ORM library. You can use OAuth2, JWT or custom strategies for authentication alongside tools like Postman or Swagger for API testing. The built-in security system also filters out secured server data based on permissions granted to users. These basic functions are available free-of-charge: https://www.devexpress.com/security-api-free. This API targets developers who create standard line-of-business (LOB) apps with login, logout forms and security related functionality (for instance, check user permissions, if Create, Read, Write, Delete operations are allowed for certain business classes and properties) for any .NET UI technologies like WinForms, WPF, ASP.NET (WebForms, MVC 5, MVC Core, Razor Pages) and .NET server technologies like ASP.NET Web API/OData, WCF, etc. Learn more about the free capabilities at .NET App Security & Web API Service.
- Use one of the following GitHub examples: How to Implement OData v4 Service with XPO (.NET Core) | How to Implement OData v4 Service with XPO (.NET Framework).