dotnet

dotnet

By dotnet
Download on the App Store

dotnet episodes

  • Customizing property names & values when reading .NET objects as JSON
    By default, property names and dictionary keys are unchanged in the JSON output, including case. Enum values are represented as numbers. And properties are serialized in the order they're defined. However, you can customize these behaviors by customizing property names and dictionary keys in the JSON output, including case and the order they're defined. James and Matt break it all down.
    Chapters:
    00:00 - Introduction JSON properties
    01:30 - Customizing property names
    04:00 - Property naming policies and casing
    09:45 - Custom naming policies
    11:45 - Sorting JSON properties
    14:40 - Wrap-up
    Resources:
    Docs: https://learn.microsoft.com/dotnet/standard/serialization/system-text-json/customize-properties
    Connect with .NET:
    Blog: https://aka.ms/dotnet/blog
    Twitter: https://aka.ms/dotnet/twitter
    TikTok: https://aka.ms/dotnet/tiktok
    Mastodon: https://aka.ms/dotnet/mastodon
    LinkedIn: https://aka.ms/dotnet/linkedin
    Facebook: https://aka.ms/dotnet/facebook
    Docs: https://learn.microsoft.com/dotnet
    Forums: https://aka.ms/dotnet/forums
    🙋‍♀️Q&A: https://aka.ms/dotnet-qa
    👨‍🎓Microsoft Learn: https://aka.ms/learndotnet
    #dotnet
    16 min
  • Languages & Runtime Community Standup - Everyday C#: The subset of C# to learn first
    The C# language continues to evolve. If you're new to the language, which parts should you learn first? If you've used C# for years, which new features should you learn and adopt now? If you're returning to C# after using other languages for years, what should you learn to reacquaint yourself to the language now? Come learn how we're thinking about teaching C# today.
    Community Links: https://github.com/orgs/dotnet/projects/225
    Featuring: Bill Wagner, Kathleen Dollard, Chet Husk
    #CSharp, #Skilling, #MSLearn, #Docs
    1 hr 8 min
  • Handling Missing Members when Reading .NET Objects
    By default, if the JSON payload you're deserializing contains properties that don't exist in the deserialized plain old CLR object (POCO) type, they're simply ignored. Starting in .NET 8, you can specify that all members must be present in the payload. James and Matt show you how!
    Docs: https://learn.microsoft.com/dotnet/standard/serialization/system-text-json/missing-members
    00:00 - Intro
    00:55 - Default Implementation Demo
    01:40 - Requiring Unmapped Members
    03:20 - Wrap-up
    Blog: https://aka.ms/dotnet/blog
    Twitter: https://aka.ms/dotnet/twitter
    TikTok: https://aka.ms/dotnet/tiktok
    Mastodon: https://aka.ms/dotnet/mastodon
    LinkedIn: https://aka.ms/dotnet/linkedin
    Facebook: https://aka.ms/dotnet/facebook
    Docs: https://learn.microsoft.com/dotnet
    Forums: https://aka.ms/dotnet/forums
    🙋‍♀️Q&A: https://aka.ms/dotnet-qa
    👨‍🎓Microsoft Learn: https://aka.ms/learndotnet
    #dotnet #json #systemtextjson
    5 min
  • .NET Data Community Standup - Database concurrency and EF Core
    What happens when one user is reading a record while another user is updating it? What if both users try to update the same record at the same time? In this episode of the .NET Data Community Standup, Shay and Arthur take a look at how different database isolation levels impact concurrency and performance, and then extend this to optimistic concurrency patterns supported by Entity Framework Core. This includes both manual concurrency tokens and automatic concurrency tokens like SQL Server’s “rowversion”. We’ll also dig into what happens in disconnected scenarios, and when to use the original value as opposed to the current value of the concurrency token. Finally, we’ll look at how EF Core handles optimistic concurrency with ETags when using a document database like Azure Cosmos DB.
    Featuring: Shay Rojansky and Arthur Vickers
    #EFCore #dotnet #data
    1 hr 11 min
  • Intro to Visual Studio Code | .NET MAUI Minutes
    The new .NET MAUI extension for VS Code is in preview today! Join Maddy to learn how to get started with it on your Windows, Mac, or Linux device today.
    Extension - https://aka.ms/mauidevkit Docs - https://aka.ms/mauidevkit-docs
    Microsoft Learn Training for .NET MAUI: https://learn.microsoft.com/training/paths/build-apps-with-dotnet-maui/
    #dotnet #dotnetmaui
    Blog: https://aka.ms/dotnet/blog
    Twitter: https://aka.ms/dotnet/twitter
    TikTok: https://aka.ms/dotnet/tiktok
    Mastodon: https://aka.ms/dotnet/mastodon
    LinkedIn: https://aka.ms/dotnet/linkedin
    Facebook: https://aka.ms/dotnet/facebook
    Docs: https://learn.microsoft.com/dotnet
    Forums: https://aka.ms/dotnet/forums
    🙋‍♀️Q&A: https://aka.ms/dotnet-qa
    👨‍🎓Microsoft Learn: https://aka.ms/learndotnet
    #dotnet
    7 min
  • Burke Learns Blazor - Handling personal lists for logged in users
    This week, Burke and Jon implement the "My Lists" page, which shows your lists when you're logged in. Not my lists. Your lists. Maybe we should change the name of that page. ANYWAY. Also, Burke wears a shirt with a zipper instead of buttons and Jon insists on upgrading things to .NET 8. Again.
    Community Links: https://theurlist.com/burke-learns-blazor
    Featuring: Jon Galloway (@jongalloway), Burke Holland (@burkeholland)
    #Blazor #CSharp #VSCode
    1 hr 27 min
  • ASP.NET Community Standup - Tooling for modernizing .NET applications
    In this session we will talk about how to effectively upgrade your applications to the latest .NET version and migrate them from on-premises to Azure.
    Before, all those were complicated manual processes, and now we are excited to share with you Microsoft’s new tools that will significantly reduce the effort and guide you through this journey.
    Community Links: https://www.theurlist.com/aspnet-standup-2024-01-09
    Featuring: Olia Gavrysh (@oliagavrysh), Jon Galloway (@jongalloway)
    #dotnet #azure
    1 hr 12 min
  • Control your IoT devices using Meadow.Cloud’s Command + Control feature
    Sending and receiving data from our devices is a common use case, but it's also common to be able to control your devices from anywhere. In this video Jorge uses Meadow.Cloud’s Command + Control feature to toggle a four channel relay remotely connected to a Project Lab.
    Chapters:
    00:00 - Introduction
    01:37 - Sending commands from Meadow Cloud
    03:23 - Meadow code for receiving commands
    07:10 - Wrap-up
    Resources:
    Hackster Project - https://www.hackster.io/wilderness-labs/send-commands-from-meadow-cloud-to-toggle-a-multiple-relays-48b783
    ProjectLab - https://store.wildernesslabs.co/collections/frontpage/products/project-lab-board
    Meadow.Cloud - https://meadowcloud.co
    Meadow.Cloud Samples - https://github.com/WildernessLabs/Meadow.Cloud.Samples
    Seeed Studio Relay board - https://www.seeedstudio.com/Grove-4-Channel-SPDT-Relay-p-3119.html
    Wilderness.Labs - https://www.wildernesslabs.co/
    Connect:
    Blog: https://aka.ms/dotnet/blog
    Twitter: https://aka.ms/dotnet/twitter
    TikTok: https://aka.ms/dotnet/tiktok
    Mastodon: https://aka.ms/dotnet/mastodon
    LinkedIn: https://aka.ms/dotnet/linkedin
    Facebook: https://aka.ms/dotnet/facebook
    Docs: https://learn.microsoft.com/dotnet
    Forums: https://aka.ms/dotnet/forums
    🙋‍♀️Q&A: https://aka.ms/dotnet-qa
    👨‍🎓Microsoft Learn: https://aka.ms/learndotnet
    #dotnet
    9 min
  • On .NET Live - Effortless .NET updates with GitHub actions
    You know it's important to update your app with the latest .NET patches, but it's such a pain to do it manually every month. In this week's episode, community MVP Martin Costello shows us how to use GitHub actions to automate .NET updates so you can focus on other tasks!
    Featuring: Martin Costello (@martin_costello)
    #github #devops
    52 min
  • Reading Invalid JSON with System.Text.Json | Welcome to System.Text.Json
    Join James and Matt as they walk through some advanced features in System.Text.Json (STJ) on how to allow comments, trailing commas, and quoted numbers in JSON when deserializing data. We also talk through out to write numbers as strings if needed.
    Documentation: https://learn.microsoft.com/dotnet/standard/serialization/system-text-json/invalid-json
    00:00 - Intro
    01:26 - Invalid JSON Example
    02:50 - Allowing Training Commands and Comments
    04:15 - Reading & Writing Quoted Numbers
    07:58 - Wrap-up
    Blog: https://aka.ms/dotnet/blog
    Twitter: https://aka.ms/dotnet/twitter
    TikTok: https://aka.ms/dotnet/tiktok
    Mastodon: https://aka.ms/dotnet/mastodon
    LinkedIn: https://aka.ms/dotnet/linkedin
    Facebook: https://aka.ms/dotnet/facebook
    Docs: https://learn.microsoft.com/dotnet
    Forums: https://aka.ms/dotnet/forums
    🙋‍♀️Q&A: https://aka.ms/dotnet-qa
    👨‍🎓Microsoft Learn: https://aka.ms/learndotnet
    #dotnet #systemtextjson #json
    9 min