Category Archives: C#/WPF

Translate C# WPF Applications to HTLM5 with WPF.polymer Part III – UHU the C# to JS Compiler

Hi,

some people asked me for the cross compiler and the next steps. Unfortunately, I don’t have the time to fully elaborate on all the details so this is a work in progress post. I’ll try to make some updates and comments to this post when I find the time. If you are interested in a particular thing leave a comment so that I can address it first.

Roslyn

The C# to JS cross compiler is written in C# and is using Roslyn:

The .NET Compiler Platform (“Roslyn”) provides open-source C# and Visual Basic compilers with rich code analysis APIs

A lot of things have changed since my early tests with Roslyn one year ago: Roslyn is now a very popular and focused project. This also means that a lot of things have changed in the Roslyn code. Please have this in mind when using the code listings that are provided here.

The goal of the Roslyn project is to provide an API to the C# compiler pipeline.

compiler-api-lang-svc
Source
Continue reading Translate C# WPF Applications to HTLM5 with WPF.polymer Part III – UHU the C# to JS Compiler

Translate C# WPF Applications To HTML5 with WPF.Polymer Part I – The GUI

Hi everyone,

I will show you in this post a concept of how to turn arbitrary desktop software that was written for example in C#/WPF into HTML5 cross platform solutions, with the help of new HTML5 features like Web Components. Or in other words, the next generation of hybrid software.

But before we jump into the details, I will provide some background information, why this technique can save you as developer a lot of time and your company tons of money:

Continue reading Translate C# WPF Applications To HTML5 with WPF.Polymer Part I – The GUI