19

I have a bit of I want to test. Is there a "XAML-fiddle" type rendering application available totally online?

And yes, I Googled it. That's always my first reaction (for everything all the time).

CCovey
  • 803
  • 1
  • 10
  • 17
LCIII
  • 2,286
  • 3
  • 21
  • 36
  • 2
    Think about it for a second. How would a xaml rendering engine work "totally online"? The entire WPF stack is built on DirectX. To build a xaml rendering engine online, you would have to rebuild from scratch the entire WPF stack down to WebGL, which would be insane. – Aron Apr 09 '15 at 16:30
  • 2
    @Aron I wouldn't be against seeing a supported version of "*No...that would be insane*" as an answer. – LCIII Apr 09 '15 at 16:32
  • 1
    @LCIII It would be an ENTIRE rewrite of the WPF stack. There aren't many companies that have that kind of resources. Not to mention it would be impossible to produce a bug for bug implementation. Finally, it would be unable to use compiled WPF controls that you reference. Ultimately, yes, it would be a lot of work for a product that has almost zero commercial viability. – Aron Apr 09 '15 at 16:48
  • 5
    You could definitely render XAML to an image and return that to view online - that wouldn't be "totally insane". :P – Yushatak Nov 17 '16 at 14:44
  • Yes, all you need to do is to accept XAML in a web-request and render it at runtime: https://stackoverflow.com/questions/910814/loading-xaml-at-runtime – Aedvald Tseh Jun 03 '17 at 08:05

2 Answers2

4

XAML Spy also allows to fiddle with XAML.

http://xamlspy.com/

Aedvald Tseh
  • 1,609
  • 15
  • 30
3

XamlPad isn't online but it's a very small application that lets you fiddle with Xaml. It sounds like it's exactly what you want:

https://msdn.microsoft.com/en-us/library/ms742398(v=vs.90).aspx

Aedvald Tseh
  • 1,609
  • 15
  • 30
philq
  • 270
  • 2
  • 8