4 ms·
C#/XAML for HTML5 new Beta 10.0
- sblom 10y agoAs much as I love C# & XAML, I have trouble imagining why I would use this stack instead of writing JS/HTML5 directly.
- interdrift 10y agoYou might want to use it if you don't know JS/HTML5.
- jug 10y agoSeems like it would be much more valuable in the long run to just learn JS and HTML.
- n00b101 10y agoI have trouble imagining why I would use this stack instead of writing JS/HTML5 directly To develop cross-platform code (e.g. for desktop and web targets)?
- sdegutis 10y agoBut why not just write JS/HTML5 code which inherently works on web, and use something like Electron to make it work on desktop too?
- nijiko 10y agoThat would mean that employers need to hire those who understand JS / HTML to build applications. Stating that some language is better than another isn't really a good argument, most of it has to do with domain specific knowledge being leveraged to enter another market.
- cosarara97 10y agoC#/XAML probably works much better on the desktop than Electron. Each has it's pros and cons. Also, C# is a much better language than js.
- int_19h 10y agoMainly because the set of features in XAML-based frameworks is geared more towards apps and less towards documents, unlike HTML5; and probably also because some people much prefer C# over JS?
- RaleyField 10y agoBecause JS is ugly even if you put lipstick on it.
- Merad 10y agoWith Xamarin now being free you can target mobile with C#/XAML as well.
- WorldMaker 10y agoIt seems especially geared towards projects that have existing Silverlight codebases to convert to HTML5 applications. I could also see a case made that XAML has an arguably much cleaner layout system and styling system than HTML, so some developers may prefer it to HTML.
- Lord_Zero 10y agoI wish there getting started showed a little code sample instead of a giant horrible screenshot with text everywhere.
- eDameXxX 10y agoHere are some examples with source codes: http://www.cshtml5.com/samples/showcase/index.html http://www.cshtml5.com/samples/showcase/index.html
- tracker1 10y agoLooking at the website, I'm at work on OSX, so can't download... but it's unclear if this is free, open-source or commercial software... the marketing of this page/site is pretty hard to tell, and hideous overall. If it's commercial the lack of any pricing or licensing information leads me to want to avoid at all costs... I'm assuming it's a commercial product, and it's completely not clear short of giving your email address to download.
- eDameXxX 10y agoMaybe link to the main page [1] should be better and more clearly. This project is obviously still in development. You can see their roadmap almost on the bottom of the main page [1]. [1] http://www.cshtml5.com http://www.cshtml5.com
- xmichael99 10y agoUnless I see monodevelop or sharpdevelop support, I gotta say this project seems quite silly to me.
- codingmyway 10y agoC# has some advantages over JS but Xaml styles and templates are so much easier than CSS. Around 2010 when I was a WPF dev moving back to web I looked so hard for a tool that would do this. I'm guessing this renders as SVG but CSS (mainly flexbox) and tools have improved so much that it's not needed so much now. Still going to have a good look into it though.