Net.RunMethodsSequentially
1.2.0
See the version list below for details.
dotnet add package Net.RunMethodsSequentially --version 1.2.0
NuGet\Install-Package Net.RunMethodsSequentially -Version 1.2.0
<PackageReference Include="Net.RunMethodsSequentially" Version="1.2.0" />
paket add Net.RunMethodsSequentially --version 1.2.0
#r "nuget: Net.RunMethodsSequentially, 1.2.0"
// Install Net.RunMethodsSequentially as a Cake Addin #addin nuget:?package=Net.RunMethodsSequentially&version=1.2.0 // Install Net.RunMethodsSequentially as a Cake Tool #tool nuget:?package=Net.RunMethodsSequentially&version=1.2.0
RunStartupMethodsSequentially
This .NET library 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.
This open-source library available on NuGet as Net.RunMethodsSequentially. The documentation can be found in the README file and see the Release notes for details of changes.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
-
net6.0
- DistributedLock (>= 2.2.0)
- DistributedLock.FileSystem (>= 1.0.0)
- DistributedLock.Postgres (>= 1.0.1)
- DistributedLock.SqlServer (>= 1.0.1)
- Microsoft.Data.SqlClient (>= 4.0.0)
- Microsoft.Extensions.DependencyInjection (>= 6.0.0)
- Microsoft.Extensions.Hosting (>= 6.0.0)
- Npgsql (>= 6.0.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Net.RunMethodsSequentially:
Package | Downloads |
---|---|
AuthPermissions.AspNetCore
Provides extra authorization and multi-tenant features to an ASP.NET Core application. |
|
AppText.Storage.EfCore
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:
Repository | Stars |
---|---|
JonPSmith/AuthPermissions.AspNetCore
This library provides extra authorization and multi-tenant features to an ASP.NET Core application.
|
- BREAKING CHANGE: `RunMethodWhileInLockAsync()` in old interface `IServiceToCallWhileInLock` changed to `ApplyYourChangeAsync(IServiceProvider scopedServices)`. This provides a another way to obtain services instead of constructor injection
- BREAKING CHANGE: `OrderNum` added to old interface `IServiceToCallWhileInLock` to define the order your startup services are run
- BREAKING CHANGE: interface `IServiceToCallWhileInLock` renamed to `IStartupServiceToRunSequentially`
- BREAKING CHANGE: Deleted `WhatOrderToRunIn` attribute as `OrderNum` now added to `IStartupServiceToRunSequentially` interface
- New feature: Added `AddRunMethodsWithoutLock` version as a way of turning off locking if not needed