Skip to main content

Hidden gems from Build 2015

With the long list of announcements at Build, it’s hard to separate the good from the great stuff.

2 things on my radar that can make or break the success of Windows 10:

Universal Windows Platform Bridge for Classic Windows Applications
Windows has a huge portfolio of existing Win32, WPF and .NET apps. Unfortunately until now, they were not available through the Windows Store. This made the Windows Store the loser in the big number game about “which store has the most apps?”. With the announcement at Build, this will change: Microsoft announced Project Centennial, a bridge which will allow an existing Classic Windows application to be converted to a Universal Windows app and made available in the Windows Store. These apps will not only have the same install and update user experience that the Store provides today, they will also be able to call the Universal Windows Platform APIs and use new platform capabilities like Action Center, Actionable Notifications, and enhanced Live Tiles.

BridgeForClassicWindowsApps

To make it even better, Microsoft brought the same security features of WinRT apps to the .NET and Win32 world.Registry and app data access are isolated for the app. So when your app thinks it is writing to the registry, it’s actually being stored in a per app hive, which can be easily removed.   This is all done without having to make major changes to your code.

Universal Windows Platform Bridge for Web Apps
Microsoft also provides a similar story for hosted web apps, where existing web apps can be published to the Windows Store. Developers may start with a preexisting web site URL, place it in a manifest and create an app targeting the Universal Windows Platform.

HostedWebApps

Full access to the platform is possible including calling APIs directly from scripts hosted on a server, leveraging Cortana integration and authentication. Web developers are able to directly call platform APIs through JavaScript hosted on their server when their hosted content is running as an application on Windows.

Popular posts from this blog

.NET 8–Keyed/Named Services

A feature that a lot of IoC container libraries support but that was missing in the default DI container provided by Microsoft is the support for Keyed or Named Services. This feature allows you to register the same type multiple times using different names, allowing you to resolve a specific instance based on the circumstances. Although there is some controversy if supporting this feature is a good idea or not, it certainly can be handy. To support this feature a new interface IKeyedServiceProvider got introduced in .NET 8 providing 2 new methods on our ServiceProvider instance: object? GetKeyedService(Type serviceType, object? serviceKey); object GetRequiredKeyedService(Type serviceType, object? serviceKey); To use it, we need to register our service using one of the new extension methods: Resolving the service can be done either through the FromKeyedServices attribute: or by injecting the IKeyedServiceProvider interface and calling the GetRequiredKeyedServic...

Azure DevOps/ GitHub emoji

I’m really bad at remembering emoji’s. So here is cheat sheet with all emoji’s that can be used in tools that support the github emoji markdown markup: All credits go to rcaviers who created this list.

Kubernetes–Limit your environmental impact

Reducing the carbon footprint and CO2 emission of our (cloud) workloads, is a responsibility of all of us. If you are running a Kubernetes cluster, have a look at Kube-Green . kube-green is a simple Kubernetes operator that automatically shuts down (some of) your pods when you don't need them. A single pod produces about 11 Kg CO2eq per year( here the calculation). Reason enough to give it a try! Installing kube-green in your cluster The easiest way to install the operator in your cluster is through kubectl. We first need to install a cert-manager: kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.14.5/cert-manager.yaml Remark: Wait a minute before you continue as it can take some time before the cert-manager is up & running inside your cluster. Now we can install the kube-green operator: kubectl apply -f https://github.com/kube-green/kube-green/releases/latest/download/kube-green.yaml Now in the namespace where we want t...