Getting started
Download Cocktail, install the tools, and get ready to start developing XAML-based business apps.
View ArticleBare bones MVVM
Build a simple app with a single view. Migrate the supporting view logic out of the code-behind and into a homebrew ViewModel.
View ArticleAn MVVM cocktail
Take that same app and introduce it to Cocktail. Boilerplate handwritten code melts away as Cocktail conventions do the wiring for you. Maybe this MVVM thing isn't so complicated.
View ArticleConventions and diagnostics
Conventions seem like magic. What happens when the magic fails? We learn more about conventions and discover that Cocktail is logging to the output window as the conventions are applied. Knowing how to...
View ArticleData in a ListBox
We create a model with a single entity, a DrinkOrder, representing a tasty beverage ordered from the bar. Each ordered drink appears in a ListBox, its values bound to controls in an ItemTemplate in the...
View ArticleEntity Views
We discard the ItemTemplate in favor of View class. DrinkOrder serves as its own ViewModel. We add a new convention so Cocktail can associate a View with an entity in the Model. In a coda, we learn...
View ArticleTalk to the View
Some View behaviors can be clumsy to stimulate with View/ViewModel binding. Although it offends the purists, we revive the View code-behind and teach the ViewModel to call into the View via an interface.
View ArticleImages and ValueConverters
Modern application data includes pictures. In XAML you need a ValueConverter to translate from picture representation in data (typically as a source string) into images on screen. We see how Cocktail...
View ArticleHello world!
Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!
View Article
More Pages to Explore .....