MVVM Hands-on-lab
关于MVVM的一个动手实验,在 VS2010可以直接使用和体验。
具体参考:
http://visualstudiogallery.msdn.microsoft.com/af12ce3b-8337-4bbb-853f-9fdad7105ec8
Introduction to Model-View-ViewModel
This hands-on-lab is intended to be an introduction to the Model-View-ViewModel (MVVM) pattern. It integrates directly inside Visual Studio, with documentation, examples and even automatic code snippet copying all in one place. Although there are other MVVM tutorials available on the web, few take the time to walk through the pattern step-by-step using examples that are easy to understand, and illustrate the benefits of MVVM in a concrete way.
Objectives
- The motivation and benefits of MVVM
- The basics of the MVVM pattern
- How to transform an event-based WPF application into one using MVVM
- How to write unit tests in an MVVM application
- It is not intended to be a replacement for larger MVVM community libraries
Exercises
- Creating a traditional event-based application
- Refactoring the application to use MVVM
- Unit Testing the MVVM application
Getting Started
- Download the VSIX file
- Open the file
- Start Visual Studio 2010 (or restart if already running)
- Create a new project using the template in the "Intro to MVVM" folder
Technical Requirements
- C#
- Basic WPF experience
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· SQL Server 2025 AI相关能力初探
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
2010-08-25 c++字符处理引出的问题