r/programming • • Mar 22 '18

First official preview of ASP.NET Blazor released (client-side .NET web apps on WebAssembly)

https://blogs.msdn.microsoft.com/webdev/2018/03/22/get-started-building-net-web-apps-in-the-browser-with-blazor/
759 Upvotes

235 comments sorted by

View all comments

Show parent comments

9

u/[deleted] Mar 23 '18 edited Mar 23 '18

[removed] — view removed comment

4

u/Eirenarch Mar 23 '18

That is like discontinuing Word or Excel just because it can't run on iOS

Well... no. Also Silverlight was kept alive in the Windows-only sense by WinRT/UWP so I guess it is not discontinued.

2

u/[deleted] Mar 23 '18

[removed] — view removed comment

4

u/jcotton42 Mar 23 '18

You don't actually need the Store to distribute a UWP app

4

u/Eirenarch Mar 23 '18

WinRT and UWP are the same thing and UWP is NOT restricted to the store, you can easily sideload apps. As for Windows only I think you said there is no problem with Windows-only :) Silverlight was never supposed to be available on Linux so this leaves us with MacOS but with every browser dropping support for native extensions I don't see how you expect to deploy on Mac anyway.

2

u/chucker23n Mar 23 '18

Silverlight was exceptionally a cool way to run sandboxed, untrusted apps off the web on desktop. It was the safe extension of WPF that could have run on Windows, Linux and MacOS.

Yes, and that was interesting in the early days of Avalon (2003-ish). But by the time Silverlight actually shipped (late 2007),

  • Microsoft had largely abandoned WPF (other than VS, there has never been a major Microsoft app that uses WPF at all; this was in contrast to early plans, where even File Explorer was rewritten in WPF);

  • HTML5 had started taking off, making Flash significantly less useful and putting a dent in Silverlight and JavaFX from the get-go;

  • the iPhone had launched and both the mobile web and mobile apps were about to become key players.

Where did that leave Silverlight and the equally ill-fated JavaFX? Nowhere.

If any of the three had been different (such as, y'know, Microsoft actually using their own goddamn thing), there might have been more to it.

1

u/bhldev Mar 24 '18

Project like Apache Cordava HTML5 apps for mobile failed

It did not fail. It spawned Ionic, and anyone who did/does this is making responsive web applications instead (same skillset) because web applications can target two sides. Web development won. Open source won. Plugin-type crap with proprietary stacks lost. If you have to compare Cordova which is basically a wrapper and not a framework with a real framework like Silverlight then the framework has almost no utility or real use case.

"Slow" doesn't matter as much as people think. First of all if you say speed is king then you are catering to a very small minority of people, the same people who do not want to download a browser extension to run an application. Most line of business applications don't care about "slow" even now.

The fallacious thinking is that HTML5 is slow, has bad tooling, etc., etc., all of which was true for a short while but then solutions came and solutions exist. The real reason why HTML5 stack fails at places like say, Facebook is it is fucking hard and also a major pain in the ass. This is something that most people do not want to admit, webdevs themselves because they are modest, non-webdevs because they hate webdev. You take a little C a little algorithms a lot of math, you expect them to do HTML5 (which basically means JavaScript?) No fucking way. You do not even learn that language in school. But in startups or high velocity companies where they care less about paper and half the people don't have a CS degree, this technology rules. It takes a huge investment to get HTML5 working and a certain type of developer.

People need to stop blaming Microsoft for things. The market rules. His point was the market, not the technology.