Aug 06

Some WPF Stuff: Windows Presentation Foundation: WPF vs HTML

Overview of WPF

https://en.wikipedia.org/wiki/Windows_Presentation_Foundation

"According to Microsoft developers answering questions during Build 2014, WPF is still actively developed, but was not designed to be highly responsive, nor adapted to low-power consumer devices such as tablets or smartphones. Because of that, no further major changes are expected to be done on the framework[5]"

 

In defense of WPF (No comment from me)

http://rgramann.blogspot.ca/2013/06/in-defense-of-wpf.html

 

.NET/WPF to HTML/CSS/Javscript

https://bling.github.io/blog/2013/04/13/dot-net-slash-wpf-to-html-slash-css-slash-javscript/

 

Can HTML5 Replace WPF?

http://www.kevinboyle.ie/blog/2013/05/08/can-html5-replace-wpf/

 

Creating hybrid HTML5 and WPF applications with self-hosted OWIN Web API SignalR and Awesomium

http://galratner.com/blogs/net/archive/2014/01/31/creating-hybrid-html5-and-wpf-applications-with-self-hosted-owin-web-api-signalr-and-awesomium.aspx

 

WPF Code Example: XAML

<Grid.ColumnDefinitions>
  <ColumnDefinition x:Uid="ColumnDefinition_1" />
  <ColumnDefinition x:Uid="ColumnDefinition_2" />
  <ColumnDefinition x:Uid="ColumnDefinition_3" SharedSizeGroup="Buttons" />
  <ColumnDefinition x:Uid="ColumnDefinition_4" SharedSizeGroup="Buttons" />
  <ColumnDefinition x:Uid="ColumnDefinition_5" SharedSizeGroup="Buttons" />
</Grid.ColumnDefinitions>

<Page x:Uid="Page_1" x:Class="MicrosoftSaudiArabiaHomepage.Homepage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"   
    FlowDirection="LeftToRight" 
    Localization.Comments="FlowDirection(This FlowDirection controls the actual content of the homepage)"
    xml:lang="en-US">

Reference:
http://msdn.microsoft.com/en-us/library/ms788718%28v=vs.110%29.aspx

 

 

Skip to toolbar