Skip to main content

Posts

Showing posts from July, 2022

.NET Framework July 2022 Cumulative Update Preview

We are releasing the July 2022 Cumulative Update Preview Updates for .NET Framework. Quality and Reliability This release contains the following quality and reliability improvements. Networking Addresses an issue when Ssl negotiation can hang indefinitely when client certificates are used when TLS 1.3 is negotiated. Before the change renegotiation (PostHandshakeAuthentiction) would fail and SslStream or HttpWebRequest would observe timeout. Possible workaround is disabling TLS 1.3 either via Switch.System.Net.DontEnableTls13 AppContext or via OS registry. WPF 2 Addresses an issue where invoking a synchronization Wait on the UI thread can lead to a render-thread failure, due to unexpected re-entrancy. 1 Windows Presentation Foundation (WPF) Getting the Update The Cumulative Update Preview is available via Windows Update, Windows Server Update Services, and Microsoft Update Catalog. Microsoft Update Catalog You can get the update via the Microsoft Update Catalog. For Wind...

Announcing .NET Conf – Focus on .NET MAUI, Reactor, and Community Events

Now that .NET MAUI is released, it’s time to get started building your first cross-platform applications! We’ve got a lot of exciting things planned for the next few months to help you get started, including a full day .NET Conf Focus event, worldwide Reactor events, and local community event opportunities. Join us for .NET Conf: Focus on MAUI on August 9th .NET Conf: Focus on MAUI is a free, one-day livestream event on August 9 starting at 9 AM Pacific time featuring speakers from the community and Microsoft teams working on and using .NET Multi-platform App UI. Learn how to build native apps for Android, iOS, macOS and Windows with a single codebase using .NET MAUI. Hear from the team building the .NET MAUI framework and tools as well as experts building .NET MAUI apps, libraries, components and controls. Save the date! Join us for our tour of virtual and in-person events We have some great opportunities coming up for you to get involved around the world! Microsoft Reactor ...

Customizing Controls in .NET MAUI

Note: This is a Guest Blog Post by Microsoft MVP, Pedro Jesus . Pedro works as a Software Engineer at ArcTouch and is a core maintainer of the .NET MAUI Community Toolkit Today, I want to talk about and show you the ways that you can completely customize controls in .NET MAUI . Before looking at .NET MAUI let’s move back a couple years, back to the Xamarin.Forms era. Back then, we had a couple of ways to customize controls: We had Behaviors that are used when you don’t need to access the platform-specific APIs in order to customize controls; and we had Effects if you need to access the platform-specific APIs. Let’s focus a little bit on the Effects API. It was created due to Xamarin’s lack of multi-target architecture. That means we can’t access platform-specific code at the shared level (in the .NET Standard csproj ). It worked pretty well and can save you from creating Custom Renderers . Today, in .NET MAUI, we can leverage the power of the multi-target architecture and ac...

Announcing Rate Limiting for .NET

We’re excited to announce built-in Rate Limiting support as part of .NET 7. Rate limiting provides a way to protect a resource in order to avoid overwhelming your app and keep traffic at a safe level. What is rate limiting? Rate limiting is the concept of limiting how much a resource can be accessed. For example, you know that a database your application accesses can handle 1000 requests per minute safely, but are not confident that it can handle much more than that. You can put a rate limiter in your application that allows 1000 requests every minute and rejects any more requests before they can access the database. Thus, rate limiting your database and allowing your application to handle a safe number of requests without potentially having bad failures from your database. There are multiple different rate limiting algorithms to control the flow of requests. We’ll go over 4 of them that will be provided in .NET 7. Concurrency limit Concurrency limiter limits how many concurrent r...

Announcing Entity Framework Core 7 Preview 6: Performance Edition

Entity Framework 7 (EF7) Preview 6 has shipped and is available on nuget.org . Keep reading for links to individual packages. This blog post will focus on optimizations to update performance; for the full list of EF7 Preview 6 enhancements, see this page . Update performance improvements In EF7, SaveChanges performance has been significantly improved, with a special focus on removing unneeded network roundtrips to your database. In some scenarios, we’re seeing a 74% reduction in time taken – that’s a four-fold improvement! Background Performance is always high on our priorities in EF Core. For EF Core 6.0, we concentrated on improving the performance of non-tracking queries, achieving a very significant speedup and making EF Core comparable to raw SQL queries using Dapper ( see this blog post for the details ). For EF Core 7.0, we targeted EF Core’s “update pipeline”: that’s the component that implements SaveChanges, and is responsible for applying inserts, updates and deletions t...