Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET Foundation community project.
Перейти к файлу
Steven Kirk 9ae2013cc5 Merge branch 'cH40z-Lord-master' 2014-12-12 22:02:23 +01:00
Cairo/Perspex.Cairo
Docs Merge branch 'master' of https://github.com/cH40z-Lord/Perspex into cH40z-Lord-master 2014-12-12 22:02:06 +01:00
Gtk/Perspex.Gtk
NGenerics
Perspex.Application
Perspex.Base
Perspex.Base.UnitTests
Perspex.Controls
Perspex.Controls.UnitTests
Perspex.Diagnostics
Perspex.Input
Perspex.Interactivity
Perspex.Layout
Perspex.Layout.UnitTests
Perspex.SceneGraph
Perspex.SceneGraph.UnitTests
Perspex.Styling
Perspex.Styling.UnitTests
Perspex.Themes.Default
TestApplication
TestFiles
Windows
.gitattributes
.gitignore
Perspex-Linux.userprefs
Perspex-Mono.sln
Perspex-Mono.userprefs
Perspex.sln
Settings.StyleCop
licence.md
readme.md Splitted first block into a new "documentary" section. Added "building and using" section 2014-12-12 21:57:49 +01:00

readme.md

Perspex

![Gitter](https://badges.gitter.im/Join Chat.svg)

...a next generation WPF?

Background

As everyone who's involved in client-side .NET development knows, the past half decade have been a very sad time. Where WPF started off as a game-changer, it now seems to have been all but forgotten. WinRT came along and took many of the lessons of WPF but it's currently not usable on the desktop.

After a few months of trying to reverse-engineer WPF with the Avalonia Project I began to come to the same conclusion that I imagine Microsoft came to internally: for all its groundbreaking-ness at the time, WPF at its core is a dated mess, written for .NET 1 and barely updated to even bring it up-to-date with .NET 2 features such as generics.

So I began to think: what if we were to start anew with modern C# features such as (gasp) Generics, Observables, async, etc etc. The result of that thought is Perspex.

DISCLAIMER

This is really early development pre-alpha-alpha stuff. Everything is subject to change, I'm not even sure if the performance characteristics of Rx make Observables suitable for binding throughout a framework. I'm writing this only to see if the idea of exploring these ideas appeals to anyone else.

Documentary

Like mentioned above this is really an early version of Perplex and we're working hard on improving the code base and the documentary at the same time. Please feel free to have a look at our introduction document to get things started real quick. Contributions are always welcome!

Building and Using

In order to build and use Perpex you need a compiler that supports the upcoming C# 6 features.

  • Visual Studio 2015 Preview: The recommended way to compile C# 6 code is to use the new Visual Studio 2015 Preview version, which Microsoft has released later this year. It comes with the new Roslyn compiler and features like the new upcoming JIT (RyuJIT) and other improvements like extensible code analysis right out of the box. It can be downloaded here

  • Visual Studio 2013: With the introductory of the new Roslyn compiler platform earlier this year Microsoft has released an April End User Preview which is a small extension that brings supports to Visual Studio 2013.
    NOTE: This extension is out of date and will no longer be updated, according to the Roslyn CodePlex main page. However, if you don't want to use a Preview IDE feel free to download the extension over here. It must be noted that it is not guaranteed that future versions of Perplex will compile and run when using this extension.