Go to file
Antony Male ac58ef8bde Allow StyletIoC to accept other scopes 2014-08-27 19:15:21 +01:00
.nuget Fix some rakefile issues 2014-05-06 18:30:04 +01:00
NuGet Bump version 2014-07-26 18:19:36 +01:00
Samples Fix Stylet.Samples.RedditBrowser 2014-08-02 18:04:55 +01:00
Stylet Allow StyletIoC to accept other scopes 2014-08-27 19:15:21 +01:00
StyletIntegrationTests Fix the integration tests 2014-08-02 17:50:18 +01:00
StyletUnitTests Allow StyletIoC to accept other scopes 2014-08-27 19:15:21 +01:00
.gitattributes Working ActionCommand 2014-02-03 20:10:58 +00:00
.gitignore Add rake task to generate code coverage report 2014-05-06 12:21:39 +01:00
CHANGELOG.txt Update changelog 2014-07-26 18:19:08 +01:00
LICENSE.txt Actually fill in the blanks in the license 2014-05-23 13:08:19 +01:00
README.md Update README with better symbol settings instructions 2014-05-29 16:23:27 +01:00
Rakefile Modify Rakefile to not fail if TestResult.xml doesn't exist 2014-05-23 13:31:21 +01:00
Stylet.sln Start on the integration test suite 2014-04-04 13:04:53 +01:00
StyletIcon.png First attempt at an icon 2014-04-19 00:17:08 +01:00
StyletIcon.svg First attempt at an icon 2014-04-19 00:17:08 +01:00
StyletReadme.txt Rename LambdaComparer to LambdaEqualityComparer, and create actual LambdaComparer 2014-06-06 13:14:20 +01:00

README.md

Stylet

Introduction

Stylet is a small but powerful ViewModel-first MVVM framework for WPF, which allows you to write maintainable and extensible code in a way which is easy to test. Stylet's aims to:

  • Solve the blockers, niggles, and annoyances which hamper MVVM development without a framework, using simple but powerful concepts.
  • Be obvious to people picking up your project for the first time: there's very little magic
  • Be easy to verify/validate. The LOC count is low, and it comes with a very comprehensive test suite. The code is well-written and well-documented.
  • Be flexible while providing sensible defaults. Almost any part of the framework can be overridden if you wish, but you probably won't want to.

It is inspired by Caliburn.Micro, and shares many of its concepts, but removes most of the magic (replacing it with more powerful alternatives), and simplifies parts considerably by targeting only MVVM, WPF and .NET 4.5.

Documentation

The wiki is the official documentation source. There's a lot of documentation there (it was longer than my dissertation last time I checked), and it's being added to all the time. Go check it out!

Installation

You can either grab Stylet through NuGet, or build it from source yourself. Stylet does rely on .NET 4.5 (Visual Studio 2012 or higher).

NuGet

Stylet is available on NuGet.

Either open the package console and type:

PM> Install-Package Stylet

Or right-click your project -> Manage NuGet Packages... -> Online -> search for Stylet in the top right.

Don't forget to right-click your solution, and click "Enable NuGet package restore"!

I also publish symbols on SymbolSource, so you can use the NuGet package but still have access to Stylet's source when debugging. If you haven't yet set up Visual Studio to use SymbolSource, do that now:

In Visual Studio, go to Debug -> Options and Settings, and make the following changes:

  1. In General
  2. Turn off "Enable Just My Code"
  3. Turn off "Enable .NET Framework source stepping". Yes, it is misleading, but if you don't, then Visual Studio will ignore your custom server order and only use its own servers.
  4. Turn on "Enable source server support". You may have to OK a security warning.
  5. In Symbols
  6. Add "http://srv.symbolsource.org/pdb/Public" to the list.

Source

I maintain a subtree split of just the Stylet project, called Stylet-Core. Head over there, clone/download the repo, and add the .csproj to your solution.

Contributing

Contributions are always welcome. If you've got a problem or a question, raise an issue. If you've got code you want to contribute, create a feature branch off the develop branch, add your changes there, and submit it as a pull request.