MVVM-Sidekick 1.0.4

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

// Install MVVM-Sidekick as a Cake Tool
#tool nuget:?package=MVVM-Sidekick&version=1.0.4                

My package description.

Product Compatible and additional computed target framework versions.
.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. 
Silverlight sl5 is compatible. 
Universal Windows Platform uap was computed.  uap10.0 was computed. 
Windows Phone wp8 is compatible.  wp81 was computed. 
Windows Store netcore was computed.  netcore45 is compatible.  netcore451 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 MVVM-Sidekick:

Package Downloads
MVVM-Sidekick.Behaviors

MVVM-Sidekick https://github.com/waynebaby/MVVM-Sidekick/ ============= MVVM密友 https://github.com/waynebaby/MVVM-Sidekick/ =================== A Modern light-weight MVVM framework based on RX and TPL await 轻量级MVVM框架,基于RX与 await等新技术 [微博] [twitter] [Mail] [微博]: http://www.weibo.com/waynebabywang "WaynebabyWang" [twitter]: http://twitter.com/waynebaby "Waynebaby" [Mail]: mailto:blackshaman_wayne@hotmail.com "MSN Skype"

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on MVVM-Sidekick:

Repository Stars
waynebaby/MVVM-Sidekick
A Modern light-weight MVVM framework based on RX and Await
Version Downloads Last updated
2.1.316 1,969 1/24/2022
2.1.311 1,757 1/24/2022
2.1.282 1,754 1/24/2022
2.1.278 1,667 9/9/2021
2.1.252 1,863 9/4/2020
2.1.249 1,938 9/3/2020
2.1.247 1,935 9/1/2020
2.1.214 1,903 8/12/2020
2.1.33-prerelease 1,676 7/6/2020
2.1.30-prerelease 1,633 7/6/2020
2.1.29-prerelease 1,633 7/6/2020
2.1.28-prerelease 1,672 4/3/2020
2.1.23-prerelease 1,697 3/24/2020
2.1.22-prerelease 1,787 3/23/2020
2.0.67 2,228 11/2/2018
2.0.60 2,333 8/15/2018
2.0.54 2,344 8/15/2018
2.0.52 2,349 8/14/2018
2.0.51 2,450 8/14/2018
2.0.50 2,433 7/11/2018
2.0.48 2,418 6/11/2018
2.0.2-alpha 2,152 1/24/2018
1.6.35 2,554 6/13/2017
1.6.32 2,418 6/13/2017
1.6.25 2,506 12/19/2016
1.6.24 2,471 12/19/2016
1.6.23 2,622 5/24/2016
1.6.22 2,679 4/21/2016
1.6.21 2,605 4/20/2016
1.6.20 2,579 3/24/2016
1.6.19 2,565 3/24/2016
1.6.18 2,555 3/11/2016
1.6.17-prerelease 2,175 3/9/2016
1.6.16 2,952 1/17/2016
1.6.15 2,441 1/12/2016
1.6.14 2,460 1/7/2016
1.6.13 2,522 1/1/2016
1.6.12 2,558 12/14/2015
1.6.11 2,779 12/10/2015
1.6.10 2,538 12/8/2015
1.6.9 2,423 12/7/2015
1.6.8-prerelease 2,198 12/7/2015
1.6.7-prerelease 2,231 12/7/2015
1.6.6 3,177 9/30/2015
1.6.6-prerelease 2,421 9/28/2015
1.6.5-prerelease 2,699 9/10/2015
1.6.4-prerelease 2,189 9/9/2015
1.6.2-prerelease 2,495 8/10/2015
1.6.1-prerelease 2,411 8/3/2015
1.4.201507024.20000000 2,985 7/24/2015
1.4.201507022.300000 2,507 7/21/2015
1.4.201507017.17300000 2,615 7/17/2015
1.4.20150711.500000 2,651 7/10/2015
1.4.20150605.16300000 2,558 6/5/2015
1.4.20150527.16500000 2,488 5/28/2015
1.4.20150519.14200000 2,751 5/19/2015
1.4.20150517.8200000 2,562 5/17/2015
1.4.20150512.20000 2,655 5/11/2015
1.4.20150423.13300000 2,697 4/23/2015
1.4.20150403.8400000 2,606 4/3/2015
1.4.20150302.17300000 3,096 3/2/2015
1.4.20150114 2,996 1/14/2015
1.3.20141126.13124155 2,741 11/26/2014
1.3.20141026.4090168 2,627 10/25/2014
1.3.20141013.18193738 2,509 10/13/2014
1.3.20141002.12234577 2,518 10/2/2014
1.3.20140906.12052021 2,479 9/30/2014
1.3.0.3 3,061 7/30/2014
1.3.0.2 2,541 7/21/2014
1.3.0.1 2,490 7/21/2014
1.3.0 2,770 6/19/2014
1.2.4.3 2,925 6/17/2014
1.2.4.1 3,020 5/25/2014
1.2.3.2 2,566 5/5/2014
1.2.3.1 2,539 5/5/2014
1.2.3 2,781 4/21/2014
1.2.2.9 2,622 3/6/2014
1.2.2.8 2,683 3/6/2014
1.2.2.6 3,088 3/4/2014
1.2.2.5 2,743 2/26/2014
1.2.2.4 2,983 2/11/2014
1.2.2.3 2,952 2/11/2014
1.2.2.2 2,545 1/21/2014
1.2.0 2,650 1/16/2014
1.1.9.8 2,622 12/9/2013
1.1.9.7 2,629 12/3/2013
1.1.9.6 2,618 11/6/2013
1.1.9.5 2,556 11/5/2013
1.1.9.2 2,513 10/20/2013
1.1.9.1 2,572 9/18/2013
1.1.9 2,699 9/12/2013
1.1.8.9 2,665 9/6/2013
1.1.8.8 2,616 9/5/2013
1.1.8.7 2,607 9/4/2013
1.1.8.4 2,699 8/27/2013
1.1.8.3 2,648 8/20/2013
1.1.8.2 2,649 8/18/2013
1.1.7.8 2,556 8/13/2013
1.1.7.6 2,665 8/13/2013
1.1.7.5 2,649 8/12/2013
1.1.7.4 2,639 8/11/2013
1.1.6.9 2,556 8/6/2013
1.1.6.8 2,572 7/29/2013
1.1.5.6 2,884 7/16/2013
1.1.5.5 2,917 7/2/2013
1.1.5.2 2,643 6/17/2013
1.1.5.1 2,613 6/17/2013
1.1.5 2,717 6/14/2013
1.1.4.9 2,749 6/8/2013
1.1.4.8 2,709 6/7/2013
1.1.4.7 2,857 6/7/2013
1.1.4.6 2,667 6/6/2013
1.1.4.5 2,616 5/30/2013
1.1.4.2 2,598 5/27/2013
1.1.4.1 2,710 5/27/2013
1.1.4 2,613 5/25/2013
1.1.3.5 2,632 5/25/2013
1.1.3.4 2,583 5/24/2013
1.1.3 2,611 5/20/2013
1.1.2 2,602 5/20/2013
1.1.1 2,660 5/8/2013
1.1.0 2,641 5/7/2013
1.0.9 2,557 3/13/2013
1.0.8.1 2,682 2/16/2013
1.0.7 2,655 12/10/2012
1.0.6 2,934 12/9/2012
1.0.4 2,851 12/9/2012
1.0.3 3,032 12/9/2012

MVVM-Sidekick
=============
MVVM密友
===================


A Modern light-weight MVVM framework based on RX and TPL await

轻量级MVVM框架,基于RX与 await等新技术



The aim of this project: Using new techs offered by .Net 4.5 and Windows Runtime, design a suitable foundation for new tech environment, based on a cool ViewModelBase and ReactiveCommand.

目的是集合Reactive Command, Prism 等框架的优点,应对.Net 4.5 和 Windows Runtime带来的变化,为新技术环境量身打造一套以ViewModelBase/ReactiveCommand为核心的基础。



MVVM-Sidekick is design on Windows 8 Modern Style Apps, and we got that ambition to cover all modern XAML runtime.

从设计开始就以Windows 8 Style App作为运行环境进行测试,野心覆盖所有XAML运行环境。



What’s good.
============
功能特色
=======
1. Full support for Data Contract Serializing. You can keep your status that VM got into JSON and XML. Easy steps after restore the data to make vm works again.

全面支持DataContract序列化 可以将一个VM的全部状态用任何方式保存为JSon/XML反序列化后只需要简单操作就可以恢复工作



2. This is light-weight one. Dll or code can works in you projects either. You just need install Reactive Extensions with nuget.

轻量级代码级框架,不必安装全部DLL或者引用工程,只需要将指定代码文件加入你的工程切安装Reactive Extensions就可以用。



3. Model Members in MVVM-Sidekick are communicated amount each other with events. Linq-Like code with RX can filter/subscribe events easily, and subscription could be disposed with model involved.

Model所有的成员之间用事件序列驱动交互,只需要用 Linq-Like 语法进行配置和订阅,订阅在VM 销毁时自动取消。



4. You can configure business logic of your properties and commands right at where they were declared. This will reduce your jumping between different parts in one VM file. (This kills me when I was working with other frameworks:you cannot configure a DelayCommand at the property/field declaration part because “this” instance is not ready yet .)

可以在声明property的代码处配置property的业务细节,可以在声明command的代码处配置command的业务细节,这样你就不用在一个vm里面不同的代码段跳来跳去了。(用别的框架可累死我了,声明个command 还不能在声明原地初始化,因为this还没有实例化)



5. You can also separate the business logic to your VM declaration into a decorator or factory something, to manage all code involved a USE CASE together, with the documenting organizing sequence, and you can also easily add more business everywhere if you like.

可以将VM的业务细节配置与VM的创建时机分离,不但可以在实体外用装饰模式进行批量配置(这样可以让代码与需求文档的组织顺序高度统一,便于维护),也可以根据需要临时装饰增加VM的功能。




Performance
===========

性能亮点
========

Propery access supports JIT inline and also support Property Name-Value Access.

比起一般的字典内核与字段内核, MVVMSidekick 的VMBase对于属性访问采用可内联的直接寻址方式访问提高速度,且仍能保持字段名字典访问


How To Use project template ?
===================
如何使用MVVMSidekick项目模板?
===================

1. Enter MVVMSidekick Folder

进入MVVMSidekick目录

2. Open MVVMSidekickVSIX.vsix , install the extension.

打开 MVVMSidekickVSIX.vsix按照提示安装

3. Create New Project using  MVVMSidekick template.

创建新项目,在c#项目中找到 MVVMSidekick 模板

4. Create MVVMSidekick Items in project.

在创建好的项目中用MVVM Sidekick 代码模板 创建DataModel和View/ViewModel文件




Code snippets is needed when you use MVVMSidekick.
==============

本框架需要代码块辅助开发
==============


Supported snippets:

支持如下常用代码块:

propvm   New Propery In Model

propvm   在MVVMSidekick Binable/ViewModel 中增加属性

vmcmd   New Command In Model

vmcmd   在MVVMSidekick Binable/ViewModel 中增加命令

example:

propvm +tab +tab





[微博] [twitter] [Mail]

[微博]: http://www.weibo.com/waynebabywang "WaynebabyWang"
[twitter]: http://twitter.com/waynebaby "Waynebaby"
[Mail]: mailto:blackshaman_wayne@hotmail.com "MSN Skype"