-
Notifications
You must be signed in to change notification settings - Fork 14
Updating Harmony Core
- Updating to Harmony Core 1.1.97 (.NET Core 3.1)
The update process involves multiple steps:
-
Update your NuGet package references
-
Harmony Core packages
- Harmony.Core 1.1.97
- Harmony.Core.AspNetCore 1.1.97
- Harmony.Core.EF 1.1.97
- Harmony.Core.OData 1.1.97
-
Synergy packages
- Synergex.SynergyDE.Build 11.1.1030.2704
- Synergex.SynergyDE.synrnt 11.1.1030
-
Other packages
- Microsoft.AspNetCore (>= 2.2.0 && < 3.0.0)
- Microsoft.AspNetCore.Mvc (>= 2.2.0 && < 3.0.0)
- Microsoft.AspNetCore.Mvc.Core (>= 2.2.0 && < 3.0.0)
- Microsoft.AspNetCore.OData (>= 7.2.2 && < 8.0.0)
- Microsoft.EntityFrameworkCore (>= 2.2.6 && < 3.0.0)
- Microsoft.Extensions.Caching.Memory (>= 2.2.0 && < 3.0.0)
- Microsoft.Extensions.DependencyInjection (>= 2.2.0 && < 3.0.0)
- Microsoft.OData.Core (>= 7.6.1 && < 8.0.0)
- Microsoft.OData.Edm (>= 7.6.1 && < 8.0.0)
- Microsoft.Spatial (>= 7.6.1 && < 8.0.0)
- Microsoft.VisualStudio.Threading (>= 16.4.16 && < 17.0.0)
- Newtonsoft.Json (>= 12.0.2)
- Nito.AsyncEx (>= 5.0.0)
- Remotion.Linq (>= 2.2.0)
- SSH.NET (>= 2016.1.0)
- StreamJsonRpc (>= 2.2.34 && < 3.0.0)
- System.ComponentModel.Annotations (>= 4.6.0 && < 5.0.0)
- System.Linq.Dynamic.Core (>= 1.0.19 && < 2.0.0)
-
-
Update your Harmony Core project templates. Each Harmony Core release also includes updated project templates that go along with that release. You can download and install the latest version of the project templates by executing the following command:
dotnet new -i Harmony.Core.ProjectTemplates -
Update the Synergy/DE Build package version in the repository project.
-
Extract and install the latest CodeGen templates.
-
Download and install the latest version of CodeGen
It's always a good idea to keep CodeGen up to date, but new Harmony Core versions frequently require the latest version of CodeGen that is available at the time of release.
-
Re-generate your code.
The final step of the process is to re-generate your code.
-
Tutorial 2: Building a Service from Scratch
- Creating a Basic Solution
- Enabling OData Support
- Configuring Self Hosting
- Entity Collection Endpoints
- API Documentation
- Single Entity Endpoints
- OData Query Support
- Alternate Key Endpoints
- Expanding Relations
- Postman Tests
- Supporting CRUD Operations
- Adding a Primary Key Factory
- Adding Create Endpoints
- Adding Upsert Endpoints
- Adding Patch Endpoints
- Adding Delete Endpoints
-
Harmony Core CLI Tool
-
OData Aware Tools
-
Advanced Topics
- CLI Tool Customization
- Adapters
- API Versioning
- Authentication
- Authorization
- Collection Counts
- Customization File
- Custom Field Types
- Custom File Specs
- Custom Properties
- Customizing Generated Code
- Deploying to Linux
- Dynamic Call Protocol
- Environment Variables
- Field Security
- File I/O
- Improving AppSettings Processing
- Logging
- Optimistic Concurrency
- Multi-Tenancy
- Publishing in IIS
- Repeatable Unit Tests
- Stored Procedure Routing
- Suppressing OData Metadata
- Traditional Bridge
- Unit Testing
- EF Core Optimization
- Updating a Harmony Core Solution
- Updating to 3.1.90
- Creating a new Release
-
Background Information