Untangling .NET Core: Open source for Windows, Mac, Linux

More changes, but it'll be different this time, honest

Security patches? We haven't figured it out yet

How will Microsoft patch libraries distributed using app local, where a vulnerable version of a .NET component might be dotted in several places around a system?

“It’s unclear exactly how it is going to work because we haven’t decided yet. We want to figure out with the community what’s the best approach across Windows, Linux and Mac,” said Schmelzer, adding that the intent is at least to equal the experience with the .NET Framework, where Windows Update will handle security updates.

Why is it that Store apps apparently will use .NET Core, but this is impossible for desktop apps written in Windows Forms or Windows Presentation Foundation (WPF)?

“We did take the time with Store apps to go back and look at the layering of the framework and get it set up the way we needed it to enable things like .NET Core,” Schmelzer told El Reg. “The full framework had some places where the framework layering wasn’t as clean as we wanted it to be, types started to creep through the different layers, it wasn’t as composable as what we needed.”

The way .NET works in Store apps is changing though. Since the launch of Windows 8, Microsoft has developed .NET Native, which compiles to true native code with a dependency on just a small "minimum runtime" library to handle garbage collection, the automatic memory management in .NET.

“If you look on a Windows 10 or Windows 8.1 machine you will find mrt.dll”, Schmelzer explains. Microsoft intends that .NET Native will be the norm for Store apps.

How about .NET for Windows Phone, strangely absent from Microsoft’s .NET Core diagrams? “We have not said anything about timelines for that,” said Schmelzer. “Really .NET Native is just a next step evolution for something that we’d done on the phone back with Phone 8, when we introduced an intermediate compilation step that happens in the Phone store, close to native, and then send that down to the phone. It is taking that piece and moving it into the tool chain, so you actually have a native image from the store to the device.”

Next page: A future for WPF?

Similar topics

Broader topics

Other stories you might like

  • Pentester pops open Tesla Model 3 using low-cost Bluetooth module
    Anything that uses proximity-based BLE is vulnerable, claim researchers

    Tesla Model 3 and Y owners, beware: the passive entry feature on your vehicle could potentially be hoodwinked by a relay attack, leading to the theft of the flash motor.

    Discovered and demonstrated by researchers at NCC Group, the technique involves relaying the Bluetooth Low Energy (BLE) signals from a smartphone that has been paired with a Tesla back to the vehicle. Far from simply unlocking the door, this hack lets a miscreant start the car and drive away, too.

    Essentially, what happens is this: the paired smartphone should be physically close by the Tesla to unlock it. NCC's technique involves one gadget near the paired phone, and another gadget near the car. The phone-side gadget relays signals from the phone to the car-side gadget, which forwards them to the vehicle to unlock and start it. This shouldn't normally happen because the phone and car are so far apart. The car has a defense mechanism – based on measuring transmission latency to detect that a paired device is too far away – that ideally prevents relayed signals from working, though this can be defeated by simply cutting the latency of the relay process.

    Continue reading
  • Google assuring open-source code to secure software supply chains
    Java and Python packages are the first on the list

    Google has a plan — and a new product plus a partnership with developer-focused security shop Snyk — that attempts to make it easier for enterprises to secure their open source software dependencies.

    The new service, announced today at the Google Cloud Security Summit, is called Assured Open Source Software. We're told it will initially focus on some Java and Python packages that Google's own developers prioritize in their workflows. 

    These two programming languages have "particularly high-risk profiles," Google Cloud Cloud VP and GM Sunil Potti said in response to The Register's questions. "Remember Log4j?" Yes, quite vividly.

    Continue reading
  • Rocket Lab is taking NASA's CAPSTONE to the Moon
    Mission to lunar orbit is further than any Photon satellite bus has gone before

    Rocket Lab has taken delivery of NASA's CAPSTONE spacecraft at its New Zealand launch pad ahead of a mission to the Moon.

    It's been quite a journey for CAPSTONE [Cislunar Autonomous Positioning System Technology Operations and Navigation Experiment], which was originally supposed to launch from Rocket Lab's US launchpad at Wallops Island in Virginia.

    The pad, Launch Complex 2, has been completed for a while now. However, delays in certifying Rocket Lab's Autonomous Flight Termination System (AFTS) pushed the move to Launch Complex 1 in Mahia, New Zealand.

    Continue reading

Biting the hand that feeds IT © 1998–2022