Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Metro style apps with Html and C#

According to this slide

http://media.infragistics.com/community/general/windows8-platform-tools.jpg

Does it mean I have to use XAML view with C# if I want to develop a metro styled application?

Can I use a HTML/JS/CSS - C# combination with event handlers and all? Something like ASP.NET Webforms/MVC . I know it is not the same client server architecture, but since metro styled apps support HTML/JS, I was wondering.

I can use Win-JS. But can I rather write C# than Javascript, and use HTML rather than XAML?(I dont know XAML and I like C#)

All the C# samples I found online use XAML.

like image 399
labroo Avatar asked Jul 08 '12 09:07

labroo


1 Answers

Perhaps you can write portions of your program logic in C# and package it as a library and then create a HTML5/JS app that references the C# Library. That way you should only need to use JS for the parts that are directly related to UI functions and C# for the rest.

I will point out that I haven't tried it yet, but Bill in this thread says that he got it to work.

like image 77
Smetad Anarkist Avatar answered Oct 07 '22 17:10

Smetad Anarkist