Browse Source
The first time I've seen Avalonia's readme, I was a bit confused about how to quickly get started with the framework. So this readme update includes a new paragraph named "Getting Started" where I've tried to point out how to create a simple "Hello world" application!pull/1193/head
committed by
GitHub
1 changed files with 18 additions and 39 deletions
@ -1,70 +1,49 @@ |
|||
# Avalonia |
|||
|
|||
|
|||
| Gitter Chat | Windows Build Status | Linux/Mac Build Status | |
|||
|---|---|---| |
|||
| [](https://gitter.im/AvaloniaUI/Avalonia?utm_campaign=pr-badge&utm_content=badge&utm_medium=badge&utm_source=badge) | [](https://ci.appveyor.com/project/AvaloniaUI/Avalonia/branch/master) | [](https://travis-ci.org/AvaloniaUI/Avalonia) | |
|||
|
|||
A multi-platform .NET UI framework. It can run on Windows, Linux, Mac OS X, iOS and Android. |
|||
A multi-platform .NET UI framework. It runs on Windows, Linux, Mac OS X, iOS and Android. |
|||
|
|||
[](https://youtu.be/wHcB3sGLVYg) |
|||
| Control catalog | Desktop platforms | Mobile platforms | |
|||
|---|---|---| |
|||
| <a href='https://youtu.be/wHcB3sGLVYg'><img width='300' src='docs/images/screen.png'></a> | <a href='https://www.youtube.com/watch?t=28&v=c_AB_XSILp0' target='_blank'><img width='300' src='docs/images/avalonia-video.png'></a> | <a href='https://www.youtube.com/watch?v=NJ9-hnmUbBM' target='_blank'><img width='300' src='https://i.ytimg.com/vi/NJ9-hnmUbBM/hqdefault.jpg'></a> | |
|||
|
|||
Desktop platforms: |
|||
## About |
|||
|
|||
<a href='https://www.youtube.com/watch?t=28&v=c_AB_XSILp0' target='_blank'><a/> |
|||
Avalonia is a multi-platform windowing toolkit - somewhat like WPF - that is intended to be multi-platform. It supports XAML, lookless controls and a flexible styling system, and runs on Windows using Direct2D and other operating systems using Skia and OS-specific windowing backend (GTK, Cocoa, etc). |
|||
|
|||
Mobile platforms: |
|||
<b>Avalonia is now in alpha.</b> What does "alpha" mean? Well, it means that it's now at a stage where you can have a play and hopefully create simple applications. There's still a lot missing, and you *will* find bugs, and the API *will* change, but this represents the first time where we've made it somewhat easy to have a play and experiment with the framework. |
|||
|
|||
<a href='https://www.youtube.com/watch?v=NJ9-hnmUbBM' target='_blank'><a/> |
|||
## Getting Started |
|||
|
|||
## NuGet |
|||
Avalonia [Visual Studio Extension](https://marketplace.visualstudio.com/items?itemName=AvaloniaTeam.AvaloniaforVisualStudio) contains project and control templates that will help you get started. After installing it, open "New Project" dialog in Visual Studio, choose "Avalonia" in "Visual C#" section and press OK (<a href="https://github.com/AvaloniaUI/Avalonia/raw/master/docs/tutorial/images/add-dialogs.png">screenshot</a>). Now you can write code and markup that will work on multiple platforms! |
|||
|
|||
Avalonia is delivered as a NuGet package. |
|||
You can find the packages here: ([stable(ish)](https://www.nuget.org/packages/Avalonia/), [nightly](https://github.com/AvaloniaUI/Avalonia/wiki/Using-nightly-build-feed)) |
|||
Avalonia is also delivered as a <b>NuGet</b> package. You can find the packages here: ([stable(ish)](https://www.nuget.org/packages/Avalonia/), [nightly](https://github.com/AvaloniaUI/Avalonia/wiki/Using-nightly-build-feed)) |
|||
|
|||
You can install the package like this: |
|||
`Install-Package Avalonia -Pre` |
|||
Use this command in Package Manager console to install the package: |
|||
``` |
|||
Install-Package Avalonia -Pre |
|||
``` |
|||
|
|||
## Bleeding Edge Builds |
|||
|
|||
Try out the latest build of Avalonia available for download here: |
|||
https://ci.appveyor.com/project/AvaloniaUI/Avalonia/branch/master/artifacts |
|||
|
|||
Try out the ControlCatalog to give it a quick demo. |
|||
|
|||
## Background |
|||
|
|||
Avalonia is a multi-platform windowing toolkit - somewhat like WPF - that is intended to be multi- |
|||
platform. It supports XAML, lookless controls and a flexible styling system, and runs on Windows |
|||
using Direct2D and other operating systems using Skia and OS-specific windowing backend (GTK, Cocoa, etc). |
|||
|
|||
## Current Status |
|||
|
|||
Avalonia is now in alpha. What does "alpha" mean? Well, it means that it's now at a stage where you |
|||
can have a play and hopefully create simple applications. There's now a [Visual |
|||
Studio Extension](https://marketplace.visualstudio.com/items?itemName=AvaloniaTeam.AvaloniaforVisualStudio) |
|||
containing project and item templates that will help you get started, and |
|||
there's an initial complement of controls. There's still a lot missing, and you |
|||
*will* find bugs, and the API *will* change, but this represents the first time |
|||
where we've made it somewhat easy to have a play and experiment with the |
|||
framework. |
|||
|
|||
## Documentation |
|||
|
|||
As mentioned above, Avalonia is still in alpha and as such there's not much documentation yet. You can |
|||
take a look at the [getting started page](docs/tutorial/gettingstarted.md) for an |
|||
overview of how to get started but probably the best thing to do for now is to already know a little bit |
|||
about WPF/Silverlight/UWP/XAML and ask questions in our [Gitter room](https://gitter.im/AvaloniaUI/Avalonia). |
|||
As mentioned above, Avalonia is still in alpha and as such there's not much documentation yet. You can take a look at the [getting started page](docs/tutorial/gettingstarted.md) for an overview of how to get started but probably the best thing to do for now is to already know a little bit about WPF/Silverlight/UWP/XAML and ask questions in our [Gitter room](https://gitter.im/AvaloniaUI/Avalonia). |
|||
|
|||
There's also a high-level [architecture document](docs/spec/architecture.md) that is currently a little bit |
|||
out of date, and I've also started writing blog posts on Avalonia at http://grokys.github.io/. |
|||
There's also a high-level [architecture document](docs/spec/architecture.md) that is currently a little bit out of date, and I've also started writing blog posts on Avalonia at http://grokys.github.io/. |
|||
|
|||
Contributions are always welcome! |
|||
|
|||
## Building and Using |
|||
|
|||
See the [build instructions here](docs/guidelines/build.md) |
|||
See the [build instructions here](docs/guidelines/build.md). |
|||
|
|||
## Contributing ## |
|||
## Contributing |
|||
|
|||
Please read the [contribution guidelines](docs/guidelines/contributing.md) before submitting a pull request. |
|||
|
|||
Loading…
Reference in new issue