back to article Microsoft's .NET-mare for developers: ASP.NET Core 2.0 won't work on Windows-only .NET

Microsoft has made a change to its forthcoming ASP.NET Core 2.0 web framework so that it is now incompatible with the Windows-only .NET Framework, causing confusion and annoyance for some .NET developers. The bewilderment is understandable. Here is a quick reminder of what various terms mean: .NET Framework: The Windows-only …

  1. Steve Davies 3 Silver badge
    Facepalm

    The Doh moment of the week

    when it comes to MS....

  2. Anonymous Coward
    Anonymous Coward

    dot shit

    1. Anonymous Coward
      Anonymous Coward

      Kind of amazing it still exists. I would think the only .NET work going on today would be maintenance of legacy stuff.

      1. Zonker Zoggs

        According to Netcraft in April Microsoft / IIS has 45% of global web server market share:

        https://news.netcraft.com/archives/category/web-server-survey/

        What tech stack do you think those servers are running? Do you think they are all legacy apps?

        1. fandom

          But it is only 8,28% of active servers.

          1. Anonymous Coward
            Anonymous Coward

            True... and, yeah, it's all legacy apps and services. When is the last time you heard about a hot new application or service being written in .NET? Who uses ASP.NET to design interactive web apps anymore? Why would anyone, at this point in time, want to constrain themselves to Windows Server and MS SQL? I know that .NET is technically being open sourced, but that is just MSFT marketing. MSFT has no interest in maintaining .NET to make zero dollars by not selling Windows or MS SQL. Why would they care about .NET running on MySQL and Linux? That will be a negligible market just so they can say they are open, much like Azure runs a negligible percent of Linux and OSS but MSFT still does a big marketing push so they can say they are open... as everyone wants open these days.

        2. Anonymous Coward
          Anonymous Coward

          " According to Netcraft in April Microsoft / IIS has 45% of global web server market share:"

          Thanks for joining The Register today to make that well-discredited point !

  3. hellwig

    Superset...

    I do not think that word means what Microsoft thinks it means.

  4. Herby

    In your best "Ernestine the Operator" voice...

    Repeat after me:

    "We're Microsoft, we really don't care".

  5. Jonathan 27

    I'm kinda surprised there were people running ASP.NET Core on top of the .NET Framework. I've found mixing Core and Framework to be a big problem. Better to go all one way or the other. Up until now I didn't know this combination was possible. We're still using .NET Framework and the older ASP.NET to avoid the compatibility and reliability issues and to avoid running multiple runtimes (we have legacy ASP.NET Forms applications).

    I wonder how common this really is.

    1. Anonymous Coward
      Anonymous Coward

      Probably more common than you think. All our new work is Core only, but we have one client who insists on updating their data by uploading an MS Access file which we then copy data to Sql. This process is (currently) only available on the full framework, so the site is Asp.Net Core on top of .Net Framework.

      1. Tom 7

        @AC MS Access

        Seriously? I was automatically extracting data from Access files into whatever other DB I felt like 15 years ago using simple C or VB.

        1. Spandex

          Re: @AC MS Access

          If you've got a way to do it without relying on Microsoft.Jet.OLEDB.4.0 I'd love to hear about it.

      2. Jonathan 27

        You might considering writing a separate .NET Framework DLL (might need to call it via indirect means) or executable that your web application runs on the server(s) to import that file. That way you can move to .NET Core entirely.

  6. JMiles

    Microsoft moves fast and with little notice for a big organisation. Just try to recall Silverlight, Windows Phone, Windows Mobile, Internet Explorer (I was thankful when they finally ditched it and started pushing Edge) - the list goes on!

    If you want slow and steady then pick Java. If you want fast and furious pick MS. No one should be surprised by Microsoft taking pragmatic decisions very quickly when they need to.

    1. Anonymous Coward
      Anonymous Coward

      Java, slow?

      I thought so too, until I worked at a firm that built high frequency, low latency systems in Java. Can't mention performance stats, but suffice to say it processed complicated messages from end-to-end in time measured in micros, not millis. This was on bog standard commodity hardware, though using a specialised low-latency JVM.

      I'm sure it's possible to write grindingly slow Java, but...

      1. Anonymous Coward
        Anonymous Coward

        Re: Java, slow?

        You're right, there are 'specialized low-latency JVMs' available, like the Azul systems Zing JVM, which sets you back $3500 USD PER server and PER year.

        Compared to the free .NET Framework JVM, which performs already very well, that's extremely much.

        .NET can even simply compiled to native code nowadays, which means it nears C++ execution times.

  7. Nolveys
    Meh

    Technology

    COM automation – which is a Windows-specific technology for calling native code

    The world would be a better place if referring to a program, api, library, protocol or whatever piece of software as "a technology" would cause a pissed off badger to materialize in the underwear of whoever made the statement.

    1. bazza Silver badge

      Re: Technology

      The T word is what happens when the marketing types are running the show. They assume that their own knowledge of these things is all that their audience needs to know, and they've long since brushed over the complexity of the software world with the T word.

      Are we talking about an ordinary pissed off badger, or a properly irritated honey badger?

      1. Swarthy
        Trollface

        Re: Technology

        How do you get "a properly irritated honey badger"? Because as Any Fule Kno: "Honey Badger Don't Give a Shit."

      2. Anonymous Coward
        Anonymous Coward

        Re: Technology

        Honey Badger !

        They are well known to attack large male animals by going for the testicles!

  8. Anonymous Coward
    Windows

    Why not stick with Mono?

    When it comes to web development then I personally actually prefer using ASP.NET in favor of more commonly used environments such as PHP. I've been using Visual Studio together with IIS for quite a while now and it has always worked reliably for me. For both professional as well as personal use.

    But I don't get why you'd want to bother with this. Maybe to conform yourself to certain set standards which might be important to customers or others, but for everything else you seriously don't have to.

    When it became common knowledge that Microsoft was discontinuing TechNet the IT department in my (small!) company started looking around for alternatives, simply because the company couldn't afford 2 server licenses where the 2nd would be hardly used (mostly for testing purposes). However, we did more than just look at Microsoft based alternatives (like discontinuing the use of a test server), we also looked into the Mono project.

    Which is my point here... Why bother with all the overhead when there's already a pretty mature and most of all: fully usable and open source(d) solution available right now?

    It may not be 100% compatible with the latest standards, but it can sure as heck get the job done. Right now I'm using Mono + Apache with a PostgreSQL backend on a FreeBSD environment running several ASP.NET powered websites (developed using Visual Studio) and so far Mono has hardly failed me.

    In fact, I can recommend it to everyone else who's looking for alternatives other than Microsoft.

    1. bombastic bob Silver badge
      Thumb Down

      Re: Why not stick with Mono?

      why not code for SOMETHING THAT IS NOT ".Not" instead.

      then you can AVOID Micro-shaft's REDONKULOUS bass-ackwards "object oriented" "solution" (aka overcomplex bloatware designed to turn senior Win32 developers into junior developers again, so "next generation" can be fully indoctrinated into "the Micro-shaft way" and thereby LOCKED IN in perpetuity to what ultimately became Win-10-nic).

      So yeah, pick something ELSE. If you *MUST* code the bass-ackwards C-pound way, use Java and be TRULY cross-platform.

      Or use another toolkit that's cross-platform like GTK, QT, or wxWidgets.

      ANY of those alternate solutions are superior to ".Not". And MONO.

      /me remembers how *ANGRY* was when Debian included MONO dependencies into gnome by making 'tomboy' part of the gnome-desktop package. Hello extra GIGABYTES of CRUFT that's all needed JUST! FOR! ONE! TRIVIAL! APPLICATION!!

      Mono. what a *JOKE*

      1. Anonymous Coward
        Anonymous Coward

        Re: Why not stick with Mono?

        Really!?!? Java??

        Java is now mainly property of Oracle, the greediest of all tech companies.

        The future of Java specs is very unclear and changing constantly, and they even charge companies HUGE amounts of money for using some diagnostics tool that have been supplied in the default JVM distribution for ages, but which contained a little, unnoticed license, that it shouldn't be used in commercial settings.

        And truly multi-platform!? Come-on, how many times have we encountered various issues and unsupported features in platforms ranging from AIX to Linux, and most of the time you'll have to write platform-specific code anyways.

        Don't believe the hype/lies!!

  9. Deltics

    I find it astonishing

    ... that Microsoft managed to have an insanely great idea and then turn it into an absolute omnishambles. The writing was on the wall when they pivoted away from favouring purity over backward compatibility and now trampling all over the people who bought into the compatible approach by now deciding that compatibility is a bit of a bind after all (well duh!).

    That and the complete confusion that has always reigned over the names and version numbers seemingly pulled at random out of a marketing left-overs bin.

    They should have stuck to the "all new" idea and positioned this not as .NET Core/Blah but something else entirely.

    After all, it's not the Core of .Net, never was and was never intended to be.

    1. Tom 7

      Re: I find it astonishing

      Na - the promise was there from the start? Remember the 'End of DLL hell"? I wrote a load of useful shit in .NET1 which of course wouldnt run in .NET2. And those I knew who'd written a lot of active web pages in other languages looked upon ASP.NET as a large pile of poo.

      It's like Bazza says above - the Marketing types are running the show and doing a lot of the coding too. I'd recommend nuclear powered seriously pissed off honey badgers myself.

  10. Anonymous Coward
    Anonymous Coward

    Risk

    Although this makes sense long-term, the risk is that developers will be unable or unwilling to move to the new platform, leaving them stuck with a web framework that will be increasingly out of date.

    I'd have thought that the risk is that developers will get utterly pissed off with your treatment of them and move to another framework.

    1. Warm Braw

      Re: Risk

      There have been several last-minute changes of direction with .NET core which may well have been for good reasons but make it very difficult to recommend as a development platform right now. That coupled with the fact that as the article says there's a lot missing or different, particularly when you include Entity Framework and MVC. And because of the quick succession of releases half the documentation you come across online is simply now wrong.

      There's a lot of good stuff in .NET core and having a cross-platform solution will be ultimately be important for the longevity of applications - provided Microsoft remains committed to it. One way of demonstrating that would be to show a bit more commitment to their present .NET user base.

  11. martinusher Silver badge

    Won't work? Why?

    Applications programmers are used to notions like module incompatibility, they tend to take it as just part of the job, but in reality there's no room for 'its just the way it is', there has to be a reason why components are incompatible. Instead of just accepting this and swallowing whatever fixes are offered its time that programmers got together and agreed on a set of working components that if manufacturers wish to augment those manufacturers need to give assurances about compatibility and functionality.

    Current software seems very slapdash -- emphasis seems to be on proprietary technologies (i.e. "making our stuff incompatible with potential competitors'"), building to deadlines with inadequate testing, no thought given to resource usage resulting in code bloat, hangs on disk or network operations. Its just a mess. If you question it you get the emperor/no clothes treatment -- obviously you questioning this wonderful crap is indicative of how little you know, how out of date you are and so on.

    Personally, I'd rather retire than waste any more time developing on -- or for -- these platforms. I've got better things to do with my life.

  12. John Smith 19 Gold badge
    Unhappy

    "clear communication and consistent execution is essential "

    And I'm sure inside the development unit of MS that deals with this they were.

    Everyone else, not so much.

    Which is a bit of a problem when there are quite a lot of "everyone else" and this is a pretty fundamental change.

  13. Hans 1
    Happy

    Making Windows irrelevant ... They are Microsoft for a reason.®

  14. Pig Dog Bay
    Holmes

    Microsoft Everywhere Strategy

    The old strategy of Windows first is dead, hence why Windows Mobile/Phone were ditched. Microsoft sees the OS no more than a dumb software layer, its the apps that run on the OS that matter.

    So the new strategy is Windows Apps Everywhere, run Office on Android and iOS and MacOS, why waste money developing and supporting expensive new windows platforms? MS also has the ultimate app store, Azure, as someone has commented above, a significant portion of websites now run on Azure.

    So it is not surprising that they are creating more portable and less Windows centric version of ASP .Net.

  15. tiggity Silver badge

    Same old MS

    Rug pulled from under devs feet = par for the course

    e.g. Tom 7 mentioned .NET1 to 2 incompatibilities

    With Win mobile there was no upgrade path from CE/ mobile 6.x to Mobile 7 - code rewrite or don't bother with Mobile 7 (way to go for early adopters, and of course for legacy CE/6.x mobile maintenance ("rugged" devices still in use running this OS in many industries) MS do not support development of it beyond VS2008 and not at all on Win 10

    Remember when Silverlight was the next big thing, now it has pretty much withered and died.

    With MS there is no guarantee a dev technology will not be tossed aside or suffer major breaking changes, it's always been like that, Russian Roulette development.

  16. Big_Boomer Silver badge

    MS, soggy paper bag, knife!

    The software that I support is partly written with .NET 4 and worked perfectly with 4.0. Yes, it's OLD!

    Then the twonks at MS released 4.5.0 and decided to auto-update all installs of .NET 4.0 to 4.5.0 which broke some of our functionality. They then realised that and quickly released 4.5.1 and auto-updated that too. Guess what? They hadn't fixed some of the problems and had introduced others. Finally they released 4.5.2 and DIDN'T auto-update that even though it fixed everything.

    Then the feckless eejits released 4.6.0 and the auto-update farce continued with 4.6.1. We were forced to rewrite the software to support 4.6.2 for Win10 compatability and it now works but I have lost count of the times I have had to uninstall a later version of .NET and install an older version.

    What I don't understand is why 4.5 and 4.6 weren't just called 5.0 and 6.0 which would have prevented the older versions from being updated. They used to do exactly that before 3.5.

    1. Tom Paine

      Re: MS, soggy paper bag, knife!

      Reading the comments on stories like this reminds me of the feeling I had when I got the hell out of Microsoft development hell and discovered the joy of Linux. Yes, there are problems, some of it is pretty shit, stuff breaks, there are bugs,.. but they're /accidental/ blunders*, made by programmers, not deliberate policy decisions designed to fulfill the latest marketing wheeze.

      * well yes, ok,... systemd is the exception that proves the rule ;)

  17. GrapeBunch
    Coat

    Once Bitten

    In '17 the ' looks a bit like an insect stinger, the 1 looks like a skewer, and the 7 like a spatula. Don't fret on which arm is the handle. Will 2017 be the year, also, of the fork? Gasp. Or perhaps GASP. Gnu ASP--too retro, too jarring? HASP, to lock down on compatibility? Or CASPer, the friendly platform with a ghost of a chance? RASP, because it grates or is dehiscent? WASP, for So Many Reasons? In school, teachers downvoted me for flippancy. I say, if you have a spatula, flip away. And bite me.

  18. EveryTime

    The promise of compatibilty

    Remember the phrase "write once, run anywhere"? With all that implied, including full backwards compatibility?

    It seems to only apply to the very first version of something, when "everywhere" is limited to one version on one machine.

    The very essence of a 'platform' is a consistent target. Yes, aspects will need to change and improve. But only design flaws should require an incompatible change to an interface.

  19. T J

    This overcomplicated, slow, security-absent crap still exists?

    I'm amazed.

    People care?

    MS's web experiment is dead and gone, like Apple's server experiment.

    Apache and Nginx won.

    Move on.

  20. antmeehan

    Just for preview release?

    On their blog announcement, they say the .NET core only support is just for the preview:

    https://blogs.msdn.microsoft.com/webdev/2017/05/10/aspnet-2-preview-1/

    This preview version of ASP.NET Core 2.0 ships with support for the .NET Core 2.0 SDK only. Our goal is to ship ASP.NET Core 2.0 on .NET Standard 2.0 so applications can run on .NET Core, Mono and .NET Framework.

    Does that mean this story is a non-issue?

  21. Rshirsagar99

    Way Ahead With .NET Core In Near Future

    Now with some advances, you can rely on .NET be it for building a desktop application, a website, a mobile app, or a microservice. Code sharing is now easy because GitHub now provides a unified BCL. You can focus on the attributes and technologies which are specific to user experiences and platforms you target.

    So whats the future of .Net Core ?

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Other stories you might like