Is it possible to do the following in VS 2010:
Create a new template (or something sim开发者_如何学Goilar) so I get a XAML - view and a view model, completely with the INotifyPropertyChanged implementation and a view model invoker, all in one?
Create a project template that gives me a view and a full view model in App.OnStartup(...) instead of this less - than - optimal "set a startup view in App.xaml"?
I use MVVM light for my Silverlight, WPF and Windows Phone 7 applications. The MVVM light is a very lightweight framework to do MVVM but gives you a nice set of features, including Templates to start the projects. You can find more info on this on: Silverlight 4: Detect browser F5 / refresh and X / Close
And at stackoverflow there is a special tag "MVVM-light" for questions about this framework.
精彩评论