Join the .NET Team at Microsoft Build 2024!
Microsoft .NET DevBlogs
by Mehul Harry
10h ago
The countdown has begun! Microsoft Build 2024 is just around the corner, and if you’re a .NET enthusiast, get ready for a great lineup of sessions. Whether you’re a seasoned developer or just starting your journey, there’s something for everyone. Event Format: Hybrid Experience Join us either in Seattle or from the comfort of your own home. With a mix of live and online sessions, you won’t miss a beat. Dive into .NET: Sessions Not to Miss Check out the sessions below for a taste of what’s to come. For more details and to reserve your spot, be sure to visit the session link. Time (PDT) Sessi ..read more
Visit website
Refactor your code with C# collection expressions
Microsoft .NET DevBlogs
by David Pine
10h ago
This post is the second in a series of posts covering various refactoring scenarios that explore C# 12 features. In this post, we’ll look at how you can refactor your code using collection expressions, we’ll learn about collection initializers, various expression usages, supported collection target types, and the spread syntax. Here’s how the series is shaping up: Refactor your C# code with primary constructors Refactor your C# code with collection expressions (this post) Refactor your C# code by aliasing any type Refactor your C# code to use default lambda parameters These features continue ..read more
Visit website
Package Management & improved .NET Aspire support come to C# Dev Kit
Microsoft .NET DevBlogs
by Wendy Breiding (SHE/HER)
3d ago
We are excited to announce the May release of C# Dev Kit, the official extension for C# development in Visual Studio Code. This release brings you several new features and improvements that will make your C# coding experience more productive and enjoyable. In this blog post, we will go over some of the highlights of this release and show you how to use them in your projects. Add, update, and remove NuGet packages NuGet is the package manager for .NET that allows you to easily install, update, and remove libraries and frameworks that you need for your applications. With the April release of C ..read more
Visit website
Secure your container build and publish with .NET 8
Microsoft .NET DevBlogs
by Richard Lander
1w ago
NET 8 raises the bar for container security for .NET container images and SDK tools. The SDK produces application images that align with industry best practices and standards, by default. We also offer additional security hardening with Chiseled images for an extra layer of protection. dotnet publish will generate a container image for you and configure it as non-root by default. It’s easy with .NET to quickly improve the security posture of your production apps. In this post, you will learn how to: Produce non-root container images Configure Kubernetes pods to require non-root images Inspec ..read more
Visit website
The Journey to Accessible Apps: Keyboard Accessibility and .NET MAUI
Microsoft .NET DevBlogs
by Rachel Kang (SHE/HER)
1w ago
Are your apps keyboard accessible? Let’s take a look: Launch one of your apps. Attach a physical keyboard if one is not already attached to your device. Navigate your app as you typically would, and use only your keyboard to do so. How did that go? Was it easy? Did it match your typical experience navigating your app? Ensuring your app experiences are just as awesome when navigated exclusively via keyboard is essential to building an app experience that is inclusive and accessible to all. Web Content Accessibility Guidelines (WCAG) To understand what exactly constitutes keyboard accessibilit ..read more
Visit website
What’s new for .NET in Ubuntu 24.04
Microsoft .NET DevBlogs
by Richard Lander
2w ago
Today is launch day for Ubuntu 24.04, Noble Numbat. Congratulations to our friends at Canonical. I’d say it’s an auspicious day, but it is more noble than that! In fact, it is the first time that a .NET release is available from day one in the official Ubuntu feeds. There is no need to wait, you can start using .NET with Ubuntu 24.04 now. You may remember that .NET 6 was added to Ubuntu 22.04, a few months after the Ubuntu 22.04 release. We’ve learned a lot since then and significantly grown the partnership between Canonical and Microsoft. Starting with Ubuntu 24.04, Ubuntu feeds will be the o ..read more
Visit website
Introducing .NET MAUI Community Tookit v8: TouchBehavior support is here!
Microsoft .NET DevBlogs
by Gerald Versluis
2w ago
The .NET MAUI Community Toolkit team is proud to introduce to you version 8 of the .NET MAUI Community Toolkit! In this latest major release, we’re bringing you the much anticipated TouchBehavior (previously known as the TouchEffect). But also, beware of breaking changes for the Snackbar on Windows and did you know that you could color the Android navigation bar? TouchBehavior If you have been using the Xamarin Community Toolkit in your Xamarin.Forms app, you probably know about the TouchEffect. Since .NET MAUI, Effects have been deprecated and those should be migrated to (Platform)Behaviors ..read more
Visit website
Refactor your C# code with primary constructors
Microsoft .NET DevBlogs
by David Pine
2w ago
C# 12 as part of .NET 8 introduced a compelling set of new features! In this post, we explore one of these features, specifically primary constructors, explaining its usage and relevance. We’ll then demonstrate a sample refactoring to show how it can be applied in your code, discussing the benefits and potential pitfalls. This will help you understand the impact of the change and help influence your adoption of the feature. Primary Constructors 1⃣ Primary constructors are considered an “Everyday C#” developer feature. They allow you to define a class or struct along with its constructor in a s ..read more
Visit website
Announcing: Azure Developers – .NET Day 2024
Microsoft .NET DevBlogs
by Mehul Harry
3w ago
We’re excited to announce the upcoming Azure Developers – .NET Day! Join us on April 30th for a full day dedicated to .NET developers and the Azure ecosystem. This online event is packed with expert-led sessions that delve into AI advancements, app development efficiencies, cloud-native capabilities, and much more. Event Date: April 30, 2024 Time: Starting at 8:00 AM PST / 16:00 UTC Save the Date! Why Attend? Azure Developers – .NET Day 2024 is an essential event for .NET developers aiming to elevate their cloud development capabilities. This day-long online event offers an unparalleled opport ..read more
Visit website
Build & test resilient apps in .NET with Dev Proxy
Microsoft .NET DevBlogs
by Waldek Mastykarz
3w ago
When building apps that connect to APIs, we typically focus on getting the app to work. But what happens when the API is slow, returns errors, or becomes unavailable? The last thing you want is an angry customer calling you when your app breaks. But it’s hard to simulate how your app will handle these scenarios when you don’t control the APIs you integrate with. Unless you use Dev Proxy. The hard thing about connecting to APIs These days, it’s hard to imagine an app that’s not connected to an API. We use APIs for everything: from getting data to performing actions. But there’s more to using an ..read more
Visit website

Follow Microsoft .NET DevBlogs on FeedSpot

Continue with Google
Continue with Apple
OR