Don't Do That, Do This: The .NET 6 Edition
Dave Brock
by Dave Brock
2y ago
This post is my annual contribution to the 2021 C# Advent Calendar. Please check out all the great posts from our wonderful community! Have you heard? .NET 6 has officially arrived. There's a lot of good stuff: C# 10, performance improvements, Hot Reload, Minimal APIs, and much more. As is the case for most releases, a few big features tend to get most of the hype. What about the features and improvements that don't knock both your socks off but also help to make your daily development experience more productive? A lot of these "quality of life" features in .NET 6 can help by removing boilerpl ..read more
Visit website
.NET 6 Has Arrived: Here Are A Few of My Favorite Things
Dave Brock
by Dave Brock
2y ago
This post was originally published on the Telerik Developer Blog. For the second straight November, .NET developers have received an early holiday gift: a new release of the .NET platform. Last month, Microsoft made .NET 6 generally available—and hosted a virtual conference to celebrate its new features. What were the goals of .NET 6? If you look at themesof.net, you can quickly see the themes of the .NET 6 release, which include some of the following: Appeal to net-new devs, students, and new technologists Improve startup and throughput using runtime exception information The client app deve ..read more
Visit website
Use AzCopy to migrate files from AWS S3 to Azure Storage
Dave Brock
by Dave Brock
2y ago
At the risk of upsetting Jeff Bezos, I recently moved a few million PDF files from Amazon S3 to Azure Storage (Blob Storage, in fact). I kept it simple and opted to use Microsoft's AzCopy tool. It's a command-line tool that allows you to copy blobs or files from or to an Azure Storage account. AzCopy also integrates with the Azure Storage Explorer client application, but using a UI wasn't ideal with the number of files I had. In this post, I'd like to show an authorization "gotcha" to keep in mind and a few things I learned that might help you. Authorize AzCopy to access your Azure Storage acc ..read more
Visit website
Exploring C# 10: Use Extended Property Patterns to Easily Access Nested Properties
Dave Brock
by Dave Brock
2y ago
Welcome back to my series on new C# 10 features. So far we've talked about file-scoped namespaces and global using declarations. Today, we'll talk about extended property patterns in C# 10. Over the last few years, C# has made a lot of property pattern enhancements. Starting with C# 8, the language has supported extended property patterns, a way to match an object's specific properties. For our example, let's continue the superhero theme with a Person, a Superhero that inherits from Person, and a Suit. We're going to calculate any special surcharges when making a particular superhero's suit ..read more
Visit website
Exploring Fiddler Jam: What's New?
Dave Brock
by Dave Brock
2y ago
This post was originally featured on the Telerik Developer Blog. In August, I introduced you to Fiddler Jam. What is Jam? In short, it’s a solution to help support and development teams troubleshoot remote issues with web applications in a quick, easy and secure fashion. Think of Jam as a band playing perfectly in sync: replace the instruments with end users, support staff and software developers playing in tune—and better yet, you’ll never have to take requests for “Free Bird.” If this is your first time learning about Jam, here's a quick rundown. Users of your site can use a Chrome extension ..read more
Visit website
Saying goodbye to The .NET Stacks
Dave Brock
by Dave Brock
2y ago
I wanted to write a quick note to let everyone know that I will no longer be producing The .NET Stacks. This does not mean I'll be going away or leaving the wonderful .NET community—it just means I'll be producing content in other ways. I wouldn't call the newsletter a smashing success by any means, but was thrilled that something I started while bored during a pandemic grew to a few thousand readers every week on various mediums (whether over e-mail, dev.to, or daveabrock.com). I'm grateful to all of you for reading and being so supportive—and if it helped you, I'm even happier. It's been a l ..read more
Visit website
The .NET Stacks #68: ? What a week
Dave Brock
by Dave Brock
2y ago
Happy ... Tuesday? It's been quite an interesting week. We have one thing to discuss, and then straight to the links. .NET Open Source: Who does Microsoft want to be? Last week in the .NET world .NET Open Source: Who does Microsoft want to be? To put it lightly, last week was a very eventful week for the .NET community. I'd like to talk about what happened, what we learned, and what it means for .NET open source. Before diving in, I want to say that I am voicing my opinions only and my intent is not to "create more drama" or keep harping on about past events. While Microsoft resolved the cur ..read more
Visit website
The .NET Stacks #67: ? .NET 6 RC2 arrives
Dave Brock
by Dave Brock
2y ago
Welcome to another week, full of top-notch product announcements and the proclamation of "View Source" as a crime.  I too am a hacker, apparently. Anyway, here's what we have going on this week: Web updates with .NET 6 RC 2 New .NET 6 LINQ API: Chunk Last week in the .NET world Web updates with .NET 6 RC 2 Right on time, last week Microsoft rolled out the .NET 6 RC 2 release. It's the second of two "go live" RCs that are actually supported in production. Richard Lander's announcement post gets you up to speed on what is new with C# 10, including record structs, global usings, file-scope ..read more
Visit website
Exploring C# 10: Global Using Declarations
Dave Brock
by Dave Brock
2y ago
Welcome back to my series on new C# 10 features. I kicked off this series by writing about file-scoped namespaces, a simple but powerful way to remove unnecessary verbosity from your C# code. This time, we're talking about a new feature that achieves similar goals: global using declarations. To see how this works, let's revisit my model from the last post, a Superhero: namespace SuperheroApp.Models; public class Superhero { public string? FirstName { get; set; } public string? LastName { get; set; } public string? StreetAddress { get; set; } public string? City { get; set; } p ..read more
Visit website
The .NET Stacks #66: ? Who moved my cheese?
Dave Brock
by Dave Brock
2y ago
I know I'm a day or so late. Sorry, I was reading about Web 3.0 and still don't know what it is. Do you? After reading this, it made me want to cry, laugh, and then cry again. As if Dapr and Dapper isn't enough, now we have "dapps." Anyway, here's what we have going on this week (or last week): Who moved my cheese: New templates for .NET 6 might surprise you Community spotlight: Marten v4 is now live Last week in the .NET world Who moved my cheese: New templates for .NET 6 might surprise you As the release of .NET 6 is rapidly approaching—with .NET 6 RC2 coming out very soon with the officia ..read more
Visit website

Follow Dave Brock on FeedSpot

Continue with Google
Continue with Apple
OR