equadrat.Framework.Mvvm.Microsoft.Extensions.AspNetCore.WebAssembly
7.3.0
Prefix Reserved
dotnet add package equadrat.Framework.Mvvm.Microsoft.Extensions.AspNetCore.WebAssembly --version 7.3.0
NuGet\Install-Package equadrat.Framework.Mvvm.Microsoft.Extensions.AspNetCore.WebAssembly -Version 7.3.0
<PackageReference Include="equadrat.Framework.Mvvm.Microsoft.Extensions.AspNetCore.WebAssembly" Version="7.3.0" />
paket add equadrat.Framework.Mvvm.Microsoft.Extensions.AspNetCore.WebAssembly --version 7.3.0
#r "nuget: equadrat.Framework.Mvvm.Microsoft.Extensions.AspNetCore.WebAssembly, 7.3.0"
// Install equadrat.Framework.Mvvm.Microsoft.Extensions.AspNetCore.WebAssembly as a Cake Addin #addin nuget:?package=equadrat.Framework.Mvvm.Microsoft.Extensions.AspNetCore.WebAssembly&version=7.3.0 // Install equadrat.Framework.Mvvm.Microsoft.Extensions.AspNetCore.WebAssembly as a Cake Tool #tool nuget:?package=equadrat.Framework.Mvvm.Microsoft.Extensions.AspNetCore.WebAssembly&version=7.3.0
equadrat Framework Mvvm
The idea of the equadrat Framework is to provide APIs to build applications with an architecture of highly decoupled components. Every single component, aspect or pattern is represented by interfaces. The framework provides a standard implementation for these but each type can be replaced by a custom implementation.
The framework is not about reimplementing components, but making them available using common interfaces.
Status
Getting started
You can use most of the components by simply instantiating them. This is maybe the easiest way to evaluate the framework.
If you're using an IOC/DI container such as Microsoft Extensions DependencyInjection or if you want to use the built-in IOC framework, you can use the bootstrapper and bootstrapper modules to register the framework to the IOC.
Usage
The only requirement for view models is to implement INotifyPropertyChanged.
The equadrat Mvvm framework works fine with other Mvvm frameworks such as CommunityToolkit.Mvvm.
Have a look at the example applications on my website and in the wiki.
Interesting components
This is a list of some (not all) components of the framework which might be interesting for you.
MVVM code generator
- MvvmGeneratePropertyAttribute
- Requires partial class
- Requires MvvmViewModel base class
- Use PropertyName & PropertyType to generate a property
- Use DeclarationType to generate all properties of the specified type of interface
MVVM data container & helper
- IMvvmDataContainerFactory
- MvvmHelper
MVVM shell & navigation
- IMvvmShellService
- IMvvmNavigationService
MVVM views
- IMvvmView
- IMvvmViewFactory
- IMvvmViewRegistry
MVVM view models
- MvvmViewModel (optional to use)
- Base implementation for view models
- Event implementation
- Creates a data container.
MVVM behaviors
- MvvmViewModelPresenterBehavior
- Creates the view for the assigned view model (context) of the current control.
- MvvmViewModelProviderBehavior
- Creates a view model and binds it to the control (context).
- MvvmViewModelVisibilityBehavior
- Synchronizes the view model "visibility" with the visibility of the current control.
Platforms
The MVVM implementation itself is platform agnostic, but there are supporting integrations for some major client GUI frameworks.
Compatibility
The plan is to keep the equadrat Framework compatible to these .net versions as long as possible.
.net version | min | max |
---|---|---|
Core | 3.1 | ≥ 8.x |
Standard | 2.0 | ≥ 2.1 |
Framework | 4.6.2 | ≥ 4.8.x |
Version scheme and breaking changes
Version change | Scope |
---|---|
Major | Overhaul of the project |
Minor | Some types have changed |
Revision | Fully backward compatible |
Build | Set in preview versions only |
Additional documentation
You can find some guides regarding specific features on my website: www.equadrat.net
Feedback
You can contact me on my website: www.equadrat.net
License
Please respect the license and check equadrat.Framework.Mvvm.License.md before using the package.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. 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 is compatible. 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 is compatible. 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 is compatible. |
-
net5.0
- equadrat.Framework.Core (>= 7.3.0)
- equadrat.Framework.Core.Interfaces (>= 7.3.0)
- equadrat.Framework.Core.Microsoft.Extensions.AspNetCore.WebAssembly (>= 7.3.0)
- equadrat.Framework.Mvvm (>= 7.3.0)
- equadrat.Framework.Mvvm.Interfaces (>= 7.3.0)
- Microsoft.AspNetCore.Components.Web (>= 5.0.17 && < 6.0.0)
-
net6.0
- equadrat.Framework.Core (>= 7.3.0)
- equadrat.Framework.Core.Interfaces (>= 7.3.0)
- equadrat.Framework.Core.Microsoft.Extensions.AspNetCore.WebAssembly (>= 7.3.0)
- equadrat.Framework.Mvvm (>= 7.3.0)
- equadrat.Framework.Mvvm.Interfaces (>= 7.3.0)
- Microsoft.AspNetCore.Components.Web (>= 6.0.36 && < 7.0.0)
-
net7.0
- equadrat.Framework.Core (>= 7.3.0)
- equadrat.Framework.Core.Interfaces (>= 7.3.0)
- equadrat.Framework.Core.Microsoft.Extensions.AspNetCore.WebAssembly (>= 7.3.0)
- equadrat.Framework.Mvvm (>= 7.3.0)
- equadrat.Framework.Mvvm.Interfaces (>= 7.3.0)
- Microsoft.AspNetCore.Components.Web (>= 7.0.20 && < 8.0.0)
-
net8.0
- equadrat.Framework.Core (>= 7.3.0)
- equadrat.Framework.Core.Interfaces (>= 7.3.0)
- equadrat.Framework.Core.Microsoft.Extensions.AspNetCore.WebAssembly (>= 7.3.0)
- equadrat.Framework.Mvvm (>= 7.3.0)
- equadrat.Framework.Mvvm.Interfaces (>= 7.3.0)
- Microsoft.AspNetCore.Components.Web (>= 8.0.11 && < 9.0.0)
-
net9.0
- equadrat.Framework.Core (>= 7.3.0)
- equadrat.Framework.Core.Interfaces (>= 7.3.0)
- equadrat.Framework.Core.Microsoft.Extensions.AspNetCore.WebAssembly (>= 7.3.0)
- equadrat.Framework.Mvvm (>= 7.3.0)
- equadrat.Framework.Mvvm.Interfaces (>= 7.3.0)
- Microsoft.AspNetCore.Components.Web (>= 9.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
====
v7.3.0
====
- Added support for .net 9.
- Updated NuGet package references.
====
v7.2.1
====
- Compatibility release
====
v7.2.0
====
- Added CommandFactory property to IMvvmDataContainer.
- Added GetRequiredDispatcher(...) methods to IMvvmDataContainer.
====
v7.1.0
====
- Compatibility release
====
v7.0.1
====
- Maintenance release
====
v7.0.0
====
- Initial Release