Wif.Infrastructure 0.2.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Wif.Infrastructure --version 0.2.0
NuGet\Install-Package Wif.Infrastructure -Version 0.2.0
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="Wif.Infrastructure" Version="0.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Wif.Infrastructure --version 0.2.0
#r "nuget: Wif.Infrastructure, 0.2.0"
#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.
// Install Wif.Infrastructure as a Cake Addin
#addin nuget:?package=Wif.Infrastructure&version=0.2.0

// Install Wif.Infrastructure as a Cake Tool
#tool nuget:?package=Wif.Infrastructure&version=0.2.0
English

Logo

WPF Infrastructure Framework(WIF)        

wif 一个基础设施框架,可帮助您快速开发WPF应用程序。

支持 .NET Framework (4.7.2+) 和 .NET Core (3.1 and 5.0)

Nuget nuget-version dotnet-version dotnetcore version csharp-version IDE-version 博客园

项目起源

在经过大量的WPF项目开发后,积累了大量好用的Infrastructure,故整理并发布出来,供后来者快速开发WPF应用程序。您可以选择引用生成的dll,也可以拷贝您需要的代码到您的项目中。严格的说该项目不是一个框架,而是由离散的基础设施组成。

项目组成

项目由Wif.Core、Wif.Utils和Wif.Infrastructure组成。

  • Wif.Core:WPF基础设施框架的核心部分,该部分代码一般是XAML不相关的,有最少的依赖项,包含Async、Cache、Collections、ComponentModel、Generic、Setting。
  • Wif.Utils:WPF基础设施框架的扩展部分,主要是一些Extensions、Helpers。
  • Wif.Infrastructure:WPF基础设施框架的主要部分,包含Binding、PropertyChanged、MarkupExtensions、Converters、Commands、EventToCommand、Behaviors、ValidationRules等大量实用基础设施。

组成图

组成图

博客

wif 系列

文档

致敬感谢

项目中大部分代码源自于个人积累,同时有一些代码参阅了WPF开发者的分享,这部分代码已注明出处和链接,特此致敬!

适用人群

该项目中有一些MVVM框架的实现,但是并不用于替代MVVM框架。如果您开发的是一个小型项目,不考虑使用MVVM框架,本项目或许适合您实现简单MVVM模式。

如果您觉得现有的MVVM框架中的基础设施不能完全满足您的需要,您可以看看该项目中是否有适合的,以作为MVVM框架的辅助库。

如果您有代码洁癖,追求精致代码,这个项目可能适合您。

如果您是一位WPF初学者,该项目或许可以为您打开一扇门,窥见WPF设计的精妙之处。

Licence

该项目根据MIT许可证授权

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net5.0-windows7.0 is compatible.  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. 
.NET Core netcoreapp3.1 is compatible. 
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.4.0.24100 85 4/10/2024
0.3.0.21349 349 12/16/2021
0.3.0.21286 375 10/13/2021
0.2.1.21116 324 4/27/2021
0.2.0 289 4/13/2021
0.1.0 383 11/24/2020