dotnet add package Net.RunMethodsSequentially --version 2.0.1
NuGet\Install-Package Net.RunMethodsSequentially -Version 2.0.1
<PackageReference Include="Net.RunMethodsSequentially" Version="2.0.1" />
paket add Net.RunMethodsSequentially --version 2.0.1
#r "nuget: Net.RunMethodsSequentially, 2.0.1"
// Install Net.RunMethodsSequentially as a Cake Addin
// Install Net.RunMethodsSequentially as a Cake Tool
This RunStartupMethodsSequentially .NET library (shortened to RunSequentially) to as is designed to updates to single resources, e.g. a database, on startup of an application that has multiple instances running (e.g. a ASP.NET Core web site with Azure Scale Out is turned on). This library runs when the application starts up and run your startup services. Typical startup services are: migrating to a database, seeding a database and/or ensuring that an admin user has been added. It can also be used with non-database resources as Azure blob, common files, etc.
Scale Out: A scale out operation is the equivalent of creating multiple copies of your web site and adding a load balancer to distribute the demand between them (taken from Microsoft Azure docs).
This open-source library available on NuGet as Net.RunMethodsSequentially. The documentation can be found in the README file, and the article How to safely apply an EF Core migrate on ASP.NET Core startup and see the Release notes for details of changes.
Versions Compatible and additional computed target framework versions.|
net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed.|
netcoreapp3.0 was computed. netcoreapp3.1 was computed.|
netstandard2.1 is compatible.|
monoandroid was computed.|
monomac was computed.|
monotouch was computed.|
tizen60 was computed.|
xamarinios was computed.|
xamarinmac was computed.|
xamarintvos was computed.|
xamarinwatchos was computed.|
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Net.RunMethodsSequentially:
Provides extra authorization and multi-tenant features to an ASP.NET Core application.
AppText.Storage.EfCore is a storage implementation for the AppText CMS that uses EntityFramework Core. Currently, only MS SQL Server is supported.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Net.RunMethodsSequentially:
This library provides extra authorization and multi-tenant features to an ASP.NET Core application.
- Microsoft.Data.SqlClient updated to because of vulnerable in current version
- Updated DistributedLock parts to fix the .NET 8 Postgres bug - see https://github.com/npgsql/npgsql/issues/5143