NewPlatform.Flexberry.Security 4.0.0-beta01

This is a prerelease version of NewPlatform.Flexberry.Security.
dotnet add package NewPlatform.Flexberry.Security --version 4.0.0-beta01
                    
NuGet\Install-Package NewPlatform.Flexberry.Security -Version 4.0.0-beta01
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NewPlatform.Flexberry.Security" Version="4.0.0-beta01" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NewPlatform.Flexberry.Security" Version="4.0.0-beta01" />
                    
Directory.Packages.props
<PackageReference Include="NewPlatform.Flexberry.Security" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add NewPlatform.Flexberry.Security --version 4.0.0-beta01
                    
#r "nuget: NewPlatform.Flexberry.Security, 4.0.0-beta01"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package NewPlatform.Flexberry.Security@4.0.0-beta01
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=NewPlatform.Flexberry.Security&version=4.0.0-beta01&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=NewPlatform.Flexberry.Security&version=4.0.0-beta01&prerelease
                    
Install as a Cake Tool

Flexberry Security package.

Product Compatible and additional computed target framework versions.
.NET 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.  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.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on NewPlatform.Flexberry.Security:

Package Downloads
NewPlatform.Flexberry.Audit

Flexberry Audit package.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.0.0-beta01 216 8/6/2025
3.0.1-beta02 513 10/29/2021
3.0.1-beta01 506 5/31/2021
3.0.0 18,899 5/31/2021
3.0.0-beta03 1,971 9/24/2020
3.0.0-beta02 661 8/7/2020
3.0.0-beta01 593 8/3/2020
3.0.0-alpha01 928 8/23/2019
2.2.0 634 5/31/2021
2.2.0-beta02 560 6/18/2020
2.2.0-beta01 530 8/27/2019
2.1.0 2,568 4/29/2019
2.1.0-alpha01 632 3/5/2019
2.0.0 8,767 12/13/2018
2.0.0-beta14 681 12/12/2018
2.0.0-beta13 805 10/10/2018
2.0.0-beta12 753 10/10/2018
2.0.0-beta11 764 10/10/2018
2.0.0-beta10 966 6/29/2018
2.0.0-beta09 1,138 6/15/2018
2.0.0-beta07 2,247 2/20/2018
1.7.0 2,548 8/23/2017
1.6.0 1,560 8/23/2017
1.5.0 2,334 2/19/2016
1.4.1 1,730 12/18/2015
1.3.0 2,039 10/1/2015

Added
- Parameter `IDataService dataService` to static method `GetLimitArray` of `SecurityBS`.

Changed
- Access type on class in project "Objects" now @this.
- Updated `NewPlatform.Flexberry.ORM` up to `8.0.0-beta01`.
- Updated `NewPlatform.Flexberry.Caching` up to `2.0.1`.
- Added parameters to constructor of `SecurityBS` (`IPasswordHasher`, `IAgentManager`, `ISecurityManager`). It is resolved by Dependency Injection, but `IBusinessServerProvider` should be resolved as factory. For example:
`
UnityContainer container = new UnityContainer();
container.RegisterFactory<IBusinessServerProvider>
(new Func<IUnityContainer, object="">(o => new BusinessServerProvider(new UnityServiceProvider(o))), FactoryLifetime.Singleton);
`
- Added parameters to constructor of `AgentManager` (`IPasswordHasher`, `ICurrentUser`).
- `AuditAgentManagerAdapter` made not static. Changed parameters of methods of `AuditAgentManagerAdapter`.
- Removed using of `CurrentUserService.IUser` as parameter/ It is changed to `ICurrentUser`.
- Added parameter to constructor of `SecurityManager` (`ICurrentUser`).
- (IMPORTANT) Added opportunity for manual setting of `IAgentManager AgentManager` at `FlexberryRoleProvider`, `FlexberryMembershipProvider`, `FlexberryProfileProvider` (it is not loaded by UnityFactory now and should be set manually).

Removed
- Resolving of `IPasswordHasher`, `IAgentManager`, `ISecurityManager` by `UnityFactory` at `SecurityBS`.
- Resolving of `IPasswordHasher` by `UnityFactory` at `AgentManager`.
- Resolving of `IAgentManager AgentManager` by `UnityFactory` at `FlexberryRoleProvider`, `FlexberryMembershipProvider`, `FlexberryProfileProvider`.
- Class `SecurityHelper`.

Performance
- Optimize `AccessTypeAttribute` getter.