View profile

Ristretto #27 - Using statements... I mean directives

James Montemagno
James Montemagno
👋
Did you know that all those `usings` at the top of you code files are totally called `using directives` and not `using statements`. Forever and in all of my videos I have always called them using statements. I mean they are a statement at the top of the file that has the word using in front of it. Also, is it not weird that using a namespace is a different job than defining a scope for an object to be disposed. Well, all right, not that different, they are defining the scope of something just for distinct reasons. Also, why are there no other usings out there? Well either way, Global Using Directives are one of my favorite features of C# 10.
What's new in C# 10? Goodbye using directives 👋
What's new in C# 10? Goodbye using directives 👋
👕 Merch
Whoa! New merch is here, filled with tons of cute monkey artwork that my lovely friends over at Cinder Design Co. collaborated with me on. Why do I have merch? Mostly because I wanted to buy some personal shirts and art with our cute little Mooch mascot on it!
MERCH!
MERCH!
📰 .NET Podcast Code is Live!
One of the big questions from .NET Conf was when can you get your hands on the .NET Podcasts keynote app source code?!?!? The answer is NOW! This sample application shows off .NET 6ASP.NET CoreBlazor.NET MAUIAzure Container Apps, and more. If you didn’t catch the keynote, then go back and watch it, but you can also check out a live version of the site. I got to work on the application for the keynote with Nish Anil from my team and the fine folks at Plain Concepts, and it was a blast. We got to fully craft the architecture, features, design, code, and produce some real-world scenarios such as the listen together mode. When you browse the source code hopefully you will see a very straight and to the point implementation of building a podcast app. We wanted to keep things simple and yet show off all the power of .NET 6. You won’t find crazy architecture or a bunch of third-party libraries, instead you will find how the power of the built-in systems can shine.
One awesome part is that you can easily get the app up and running with all the dependencies in minutes using a single docker command. I show off how to do it in this quick video:
.NET Podcasts app - Local Development Walkthrough
.NET Podcasts app - Local Development Walkthrough
Or, you can go farther and deploy the entire web app and services to Azure in just about 10 minutes and have your very own running podcast app that you can modify to your liking!
Build & Deploy a Podcast Website, Services, & App in Minutes with .NET, Blazor, & Azure
Build & Deploy a Podcast Website, Services, & App in Minutes with .NET, Blazor, & Azure
📸 Rise and Shine
Space Needle in the Morning
Space Needle in the Morning
☕️ Signs of Kuala Lumpur
As always, you can find me on TwitterYouTubeGitHub, and my blog, oh also you can buy me a coffee or buy some merch.
Community Classifieds
Awesome projects and products from the community:
Did you enjoy this issue? Yes No
James Montemagno
James Montemagno @jamesmontemagno

James Montemagno's Newsletter: Live, Love, Bike, and Code.

In order to unsubscribe, click here.
If you were forwarded this newsletter and you like it, you can subscribe here.
Created with Revue by Twitter.
PNW