Microsoft gets open-sourcey with Windows Forms and Windows Presentation Foundation

.NET Foundation to become engorged, ONNX for all, and check out our bundles

Connect(); Microsoft today continued its efforts to show that it really has bought into the whole open-source thing by flinging much of its client user experience tech at the GitHub wall and seeing what sticks.

It is, of course, not the open-sourcing of Windows (although that is perhaps not the impossibility it might have seemed a decade ago), but the frameworks developers use to build native user interfaces on Microsoft's flagship desktop platform.

WPF goes open source

Windows Presentation Foundation (WPF), Windows Forms and Windows UI XAML Library (WinUI) have all been given a stroke with the open-source tickle stick to varying degrees. While Windows Forms and WinUI have been fully open-sourced, WPF will be phased in over the coming months, starting with smaller components.

Presumably to give Microsoft time to excise the swears from the code. Or, more likely, because WPF is a bit of a monster.

WPF is part of the .NET Framework, and arrived with .NET 3.0 back in 2006. Greybeards can sometimes be heard referring to it by its codename "Avalon" or "that thing with the awful editor". WPF uses XAML to describe the user interface, which came as a bit of a shock to those used to earlier designers. It is also aimed at producing rich native user interfaces on Windows with a markup and code-behind experience that will have ASP.NET devs nodding sagely.

Windows Forms, on the other hand, is a quite different beast, being an older class library designed to wrap up standard Windows elements, such as buttons.

Microsoft would really, really prefer users left it behind in favour of the likes of WPF.

Alas, the ease with which the technology allows devs to create user interfaces means that there are a lot of Windows Forms applications out there with no easy path to an alternative platform.

With the arrival of the open-sourced .NET Core and confirmation that .NET Core 3 would allow the building of client apps using WPF and Windows Forms back at Build, the eventual open-sourcing of the technology seemed inevitable but remains most welcome.

.NET Foundation embiggened

Microsoft also said that the doors of the .NET Foundation, which manages a whole bunch of .NET branded open-source products, including .NET Core, would be flung open to all.

According to the caring, sharing software giant: "The governance, participation and projects of the foundation will be open to anyone in the open source community."

This will mean that the community will guide foundation operations.

Microsoft also announced that the board of the foundation would grow from three seats (including two from Microsoft) to seven (including an extra Microsoft employee). Elections for the new positions are due to kick off in January 2019, and anyone who has contributed to the project can vote.

Open-sourcing ONNX, Virtual Kubelet and a Universal Installer

Microsoft also took advantage of the Connect(); platform to open-source its Open Neural Network Exchange (ONNX) runtime, an inference engine for machine learning models in ONNX format.

The Virtual Kublet open source app, which is aimed at simplifying connecting a Kubernetes node to Azure Container Instances and their ilk, is to be donated by kind old Microsoft to the Cloud Native Computing Foundation (CNCF).

Finally, Microsoft said it has buddied up with Docker to come up with a universal installer for Cloud Native Application Bundles (CNAB) aimed at distributed systems.

CNAB is designed to simplify the management of packages over multiple platforms and allows devs to manage discrete resources as a single logical unit and export the whole thing to another environment. Like Azure IoT Edge perhaps?

As one has come to expect, the tools are open source and Microsoft is today emitting the CNAB specification, an open-source reference CNAB client, an extension to Visual Studio Code to build the things and an Electron installer to turn bundle installation into a point and click activity.

Real devs, of course, use the command line. ®

Similar topics

Other stories you might like

  • Euro-telcos call on big tech to help pay for their network builds

    Aka 'rebalancing global technology giants and the European digital ecosystem'

    The European Telecommunications Network Operators' Association (ETNO) has published a letter signed by ten telco CEOs that calls for, among other things, Big Tech to pay for their network builds.

    The letter, signed by the CEOs of the Vodafone Group, BT Group, Deutsche Telekom, Telefónica, Orange Group and five more telco leaders, calls for a "renewed effort to rebalance the relationship between global technology giants and the European digital ecosystem".

    "A large and increasing part of network traffic is generated and monetized by Big Tech platforms, but it requires continuous, intensive network investment and planning by the telecommunications sector," the letter states, adding "This model – which enables EU citizens to enjoy the fruits of the digital transformation – can only be sustainable if such platforms also contribute fairly to network costs."

    Continue reading
  • AI-enhanced frog stem cells start to replicate in entirely new ways

    Xenobots scoop up loose cells to make more of themselves. We welcome our new overlords

    In January of 2020, scientists from the University of Vermont announced they had built the first living robots; this week they have published reports that those robots, made from frog cells and called Xenobots, can reproduce and have found a new way to do so.

    The millimetre-sized xenobots are essentially a computer-designed collection of around 3,000 cells. They were created by taking stem cells from frog embryos, scraping them, leaving them to incubate, then cutting them open and sculpting them into specific shapes. After all that action, the cells began to work on their own – auto-repairing when sliced and moving about inside petri dishes.

    With a little design tweak, the creatures could do even more. "With the right design, they will spontaneously self-replicate," said University of Vermont researcher Joshua Bongard, Ph.D. in a canned statement.

    Continue reading
  • Panasonic admits intruders were inside its servers for months

    Spotted the crack after it ended – still not sure what was lost

    Japanese industrial giant Panasonic has admitted it's been popped, and badly.

    A November 26 statement [PDF] from the company admits that its network "was illegally accessed by a third party on November 11, 2021". That date has since been revised – the company now says it became aware of the intrusion on the 11th, but that unknown entities had access to its systems from late June to early November.

    "After detecting the unauthorized access, the company immediately reported the incident to the relevant authorities and implemented security countermeasures, including steps to prevent external access to the network," the statement adds.

    Continue reading

Biting the hand that feeds IT © 1998–2021