Desktop Applications with XAML. Part 3: XAML Islands

Desktop Applications with XAML. Part 3: XAML Islands

UWP controls can be used in WPF applications using XAML islands. Continue reading Desktop Applications with XAML. Part 3: XAML Islands

Advertisements
Desktop Applications with XAML. Part 2: Desktop Bridge

Desktop Applications with XAML. Part 2: Desktop Bridge

In the first part of the article I’ve shown how UWP can be great for creating desktop applications running on Windows 10. This might not be an option for you as you still need to support Windows 7 – or you have existing WPF applications that cannot be migrated that easily to UWP. In the second part of this article series I’m adding information how WPF applications can be enhanced with features from Windows 10. This time with the Desktop Bridge. Continue reading Desktop Applications with XAML. Part 2: Desktop Bridge

Disposing Injected Services (or: Using Dependency Injection Scopes)

Disposing Injected Services (or: Using Dependency Injection Scopes)

The DI container Microsoft.Extensions.DependencyInjection disposes registered services automatically. It’s just the question when the dispose takes place. Automatic dispose of transient and scoped services happen at the end of a scope. With ASP.NET Core applications, scopes are created with every HTTP request – after the request, services are disposed. This article shows creating and using DI scopes with XAML-based applications. Continue reading Disposing Injected Services (or: Using Dependency Injection Scopes)