Microsoft ViewModelBase class for MVVM?

For WPF programming with MVVM, most people seem to create their own ViewModelBase class and other base MVVM classes, or use one of many third-party ones. But the other day I was looking for something, and found it on MSDN -

http://msdn.microsoft.com/en-us/LIBRARY/hh721872%28v=vs.110%29

... is Microsoft already providing the MVVM platform, or is it something new for Visual Studio 2012? He says that Visual Studio 2012 is in the corner, but I did not know if this means new for VS 2012. (I have VS 2010)

Can I use this instead of writing my own or downloading a third-party?

Thanks in advance.

+4
source share
1 answer

If you run a namespace hierarchy

http://msdn.microsoft.com/en-us/LIBRARY/bb130146.aspx

You can see that these types are intended to be used when expanding Team Foundation Server. So no, this is not intended to be used in your WPF applications.

However, you can probably create WPF applications that use these types. But then I'm not sure that licensing for these assemblies will allow you to deploy them to a machine without TFS or if you can deliver assemblies outside the SDK installation. A quick search showed nothing. The SDK probably has licensing data that I have not currently installed.

Assuming you can and they are doing it, an effort that was already worth it to overcome, replaced the code, which, in fact, is trivial to write? Or was it written dozens of times in different frames, almost all of which are available through NuGet?

+4
source

Source: https://habr.com/ru/post/1441855/


All Articles