Level: Intermediate to Advanced
Benjamin Day
Consultant & Trainer
Benjamin Day Consulting, Inc.
Silverlight is tricky. You'd think it'd be just like writing any other .NET app but there are some things that can really hang you up.
In this session, Ben will show you 7 things that he learned leading his first big Silverlight 4 application. From unit tests and the architectural havoc caused by async WCF to real-world ViewModel tips and "x:Name" code smells -- these lessons will help you avoid a lot of pain on your current and next Silverlight projects.
You will learn:
- Async WCF Calls Dictate Your Architecture
- The Repository & Adapter patterns are your best friends
- Unit test, unit test, unit test
- No shortcuts: keep ViewModel & Model separated
- Client-side & Server-side: They're two applications.
- "x:Name" is a code smell
- Watch out for "primitive obsession" in your ViewModel