#dotnet
The #dotnet codebase for #Brighter has existed for many years. Obviously there is a “Ship of Theseus” element as the code has evolved over the years. It’s been TDD from the start and has a good test suite around its core engine.
Those tests focus on behavior.
And I’m grateful because even today, I can make what I think of as a simple change to behaviour and find it doesn’t work, because that isn’t the way the pieces of the puzzle come together.
2 years since I joined #Microsoft. Still living a dream, learning and also amazed cause I get to work, side by side, with great people... For many more! #Azure #dotNET #MicrosoftLife

Avalonia UI and MAUI - Something for everyone
#DEVCommunity #dotNET
https://dev.to/avalonia/avalonia-ui-and-maui-something-for-everyone-1a3d
I tried to ask ChatGPT to generate #dotnet ML.NET code but it failed on each iteration. Likely due to a limited training set. It was a frustrating experience as I spent more time piecing together broken elements instead of just reading docs.
Save the date! April 12th @ 09:00 AM PST
I will be chatting with Cecil Phillip & Rodney Littles, II on the amazing work The Standard Community has been putting into developing a Standardized, Test-Driven and Pair-Programmed .NET library for OpenAI.
If want to catch up on the latest updates and pairing session for this library check out our live sessions list here:
https://www.youtube.com/watch?v=JQnTpGV-7YA&list=PLan3SCnsISTTl_MnGP6B78Nfu9Ix8G4mU&ab_channel=HassanHabib
Check out the source code here:
https://github.com/hassanhabib/Standard.AI.OpenAI
Also, you can use the beta release of this library *today* - check out our nuget package here:
https://www.nuget.org/packages/Standard.AI.OpenAI
#csharp #dotnet #ai #openai #chatgpt
https://www.youtube.com/watch?v=D8daM9QsolE&ab_channel=InsidedotNET
With TXT2IMG on https://Tusk.Ninja (a #dotNET #Blazor #WASM client side application) you can create an image of any text you enter _and_ post it to #Mastodon. You can change the background and text colors. The font type and size, alignment of the text and add a shadow to the text. 👉And you can use emojis too!😉

Have just published my next YouTube video, which is about the awesome Flurl dotnet httpclient library, and how it makes mocking outbound requests so much easier in your tests! https://youtu.be/dJTS1vgEB9s #dotnet
Playing around with #dotnet #MAUI MediaPicker and camera access on #macOS and #macCatalyst.
I'm using #JetBrainsRider.

Did a library add services, but you want the service to use a different lifetime, check this out. Use at your own risk!
#dotnet #aspnet #csharp
https://swimburger.net/blog/dotnet/change-the-servicelifetime-after-the-service-has-been-added-to-the-net-servicecollection
Have you visited our ASP.NET docs recently? We'd love to get feedback on your experience to help us improve!
Simply visit the docs below 👇 and take our <1 minute survey!
https://learn.microsoft.com/en-us/aspnet/core/?view=aspnetcore-7.0

Has anyone been able to capture webcam footage in an @avaloniaui app running on #macOS? #dotnet
#openjdk @openjdk I'm the current maintainer of the IKVM project, an implementation of a JVM ontop of Microsoft.NET #dotnet.
We're looking for a contact person in the OpenJDK community that can help us relay various bugs, change requests, etc, to OpenJDK, that might benefit us. Because apparently it's incredibly hard to get set up just to file bugs.
We don't have much. Just a few things.

With all the syntax options in C# one thing might look like the other, but that is not always the case! Can you spot what is wrong with one of these properties?!
Mardi 4 avril, je serai à l'AWS Summit Paris au Community Lounge avec l'application DevPulse si vous voulez venir en discuter.
#aws #dotnet #AWSSummit
Happy Friday! Sharing this:
A Simple Union Between .NET Core and Python
https://medium.com/@devleaderca/a-simple-union-between-net-core-and-python-beaf34d5d2d8
I'm looking to get my foot into #nopcommerce (a #dotnet based eCommerce solution) for a friend of mine. Is there anyone how has deployed it in a #kubernetes cluster?
And/or some knowledge in extending it? Would need a product that is targeted at fabric with a buyer-defined length.
Dew Drop Weekly Newsletter #324 - Week ending March 31, 2023.
#dewdrop #newsletter #dotnet #webdev #mobiledev #cloud #windowsdev #csharp #ai
Dew Drop – March 31, 2023 (#3912)
Top links today:
- What's new in Azure data & AI: Azure is built for generative AI apps
- VS Code & GitHub Copilot AI
- Debugging tasks & threads with the Parallel Stacks window
- ReSharper IL viewer & low-level C#
- regex.ai: AI-powered regex solver
- The story of VS Code with Erich Gamma, Kai Maetzel, and host Scott Hanselman
https://www.alvinashcraft.com/2023/03/31/dew-drop-march-31-2023-3912/
#dotnet #windowsdev #mobiledev #cloud #ai #webdev #vscode #visualstudio #dewdrop
Today's random F# code from our app is about using Verify (snapshot testing) to make sure we don't accidentally change our events, which we store in our database): https://www.planetgeek.ch/2023/03/31/todays-random-f-code-using-verify-to-prevent-breaking-changes-in-stored-data/
#fsharp #dotnet

Going live NOW to see if I can get #dotnet to receive #OpenTelemetry data and maybe even forward it on as the start of the journey to understanding the impact of Tail-Based Sampling in Tracing
Join me... Hopefully it won't be as rough as yesterday!
This pattern provides an abstraction layer between the data access layer and the business logic layer.
Let's explore how it works!
#DEVCommunity #dotNET
https://dev.to/osempu/repository-pattern-implementation-in-aspnet-core-3nkj
Going live at 11:30am (30 minutes from now) to see if I can get #dotnet to receive #OpenTelemetry data and maybe even forward it on as the start of the journey to understanding the impact of Tail-Based Sampling in Tracing
Join me... Hopefully it won't be as rough as yesterday!
I just used ChatGPT to generate a ton of C# unit tests for a method which validates if a string is a valid JSON object.
I am mind=blown again.
Amazing. #dotnet
Hear my voice! 🙉 See my face! 🙈
Video interview with me, the author of C# 11 and .NET 7 - Modern Cross-Platform Development Fundamentals.
https://www.youtube.com/watch?v=TtWzvHRrlZI
#dotnet #dotnet7 #csharp #packt #bookauthor
I've been spending time pseudo-gutting some of the implementation of the assertion library in @xunit in order to prevent double enumeration.
We frequently need to look through a collection, and then print some part of that collection if there's a failure. A smart caching enumerator is my current strategy, and it seems to be going well so far. It caches the first "n" items and the most recent "n" items, as those are the two formats we tend to need. #csharp #dotnet

This use of #docker to build multi-platform #dotnet images is valuable to people like me who have a mixed x64/arm64 cluster!
Improving multi-platform container support - .NET Blog (microsoft.com)
https://devblogs.microsoft.com/dotnet/improving-multiplatform-container-support/
What is the coolest stack to build a #crossplatform #mobile app with #FSharp and #dotnet?
🆕New video series!🆕
📺Migrating from #ASPNET to #AspNetCore
18 videos from Mike Rousos upgrading an #AspNet app on .NET Framework to .NET 7. Includes .NET Upgrade Planner and .NET Upgrade Assistant (command line and from Visual Studio).
Anyone know of a reliable protobuf model binder for #dotnet
To be completely honest. I think this letter is the biggest scam to help drive the hype machine (called AI). Look who backs the institute that issued the letter, and ask yourself - is this just another hype-strategy backing the interests of an invested few?
The release of Json.NET in June 2006 has helped
millions of #dotnet developers work with #JSON. #dotnethistory

Going Live Now!!!
https://twitch.tv/MartinDotNet
Writing a Tail based sampler in #dotnet for #OpenTelemetry
How well are you familiar with the Visitor Design Pattern?
Most YouTubers argue it's the most difficult to explain.
Let me know if I've done a proper job. 😉 👇
Lowering transforms high-level language features into “simpler” techniques within the same language.
In this post, @khalidabuhakmeh explores lowering in #csharp, and looks at some examples 👉 https://jb.gg/pylile
Change of plan for the stream. I'm going live at 3pm BST on https://twitch.tv/MartinDotNet and I'll be creating a proxy for #OpenTelemetry in #dotnet as the start of an investigation into why Tail Based sampling is so hard.
Dew Drop – March 30, 2023 (#3911)
Top links today:
- Safari 16.4 support for WASM fixed-width SIMD. How to use it with C#
- Flutter in 2023: strategy & roadmap
- Rules grouping & more in the new Fiddler Everywhere 4.2
- Simplify data visualization with multi-axis charts in .NET MAUI
- Improving multi-platform container support in .NET
- Welcome to the Microsoft Learn Community!
https://www.alvinashcraft.com/2023/03/30/dew-drop-march-30-2023-3911/
#dotnet #webdevelopment #cloud #ai #windowsdev #mobiledev #visualstudio #csharp #dewdrop
I think I'm going to stream creating an #OpenTelemetry proxy in #dotnet later today if anyone is interested.
This is the start of me building some content around how Tail based processors work and using #dotnet to make it work.
Probably about 2 hours from now (12:30pm BST)
We’ll dive into the world of OpenAI’s Chat-GPT and explore how you can seamlessly integrate it into your .NET application. So, buckle up and let’s get started!
{ author: @byte_hide } #DEVCommunity #dotNET
https://dev.to/bytehide/rocket-your-net-app-by-adding-chat-gpt-to-it-5db0
I've been doing a lot with #dotnet Pipes and Streams recently to avoid unnecessary allocations shifting around a large amount of bytes. One thing I needed was taking one input and splitting to multiple outputs - I didn't see an existing solution available so thought I'd put my own together and package it in a library.
I present: Aqueduct, a utility library for dealing with Pipes and Streams.
Only has one utility for now, pipe bifurcation, though will add more in time.
We've published a blog post that discusses how Avalonia UI and #dotnet MAUI solve different problems. We took feedback from a broad range of developers to try and make it as balanced as possible.
Let us know what you think!
https://dev.to/avalonia/avalonia-ui-and-maui-something-for-everyone-1a3d
Dew Drop – March 29, 2023 (#3910)
Top links today:
- Understanding the .NET ecosystem: the intro of .NET Standard
- An intro to MS Graph SDK & how to create a to-do list using JavaScript
- 2 weeks left for the TechBash 2023 CFP
- How can I escape the disease-ridden hot tubs known as the TEMP & Download directories
- Telerik Blazor UI in native apps
- GitHub Actions extension for VS Code
https://www.alvinashcraft.com/2023/03/29/dew-drop-march-29-2023-3910/
#dotnet #ai #webdev #visualstudio #windowsdev #cloud #mobiledev #database #dewdrop
Fixing incredibly slow launching on Intel’s Rapid Storage Technology / Virtual RAID on CPU application https://codeinsecurity.wordpress.com/2023/03/29/fixing-incredibly-slow-launching-on-intels-rapid-storage-technology-virtual-raid-on-cpu-application/ | https://lobste.rs/s/vfbo68 #dotnet #reversing
I already ran into some of the problems described in @khalidabuhakmeh's post on how to solve #dotNET #MAUI problems as well...
https://khalidabuhakmeh.com/dotnet-maui-app-stopped-working-help
If you want to see the #csharp #dotnet code for the @avaloniaui clock I built using @soltes NXUI, you can get it on my #GitHub #repository
Blogged: Understanding the .NET ecosystem: The introduction of .NET Standard
https://andrewlock.net/understanding-the-dotnet-ecosystem-the-introduction-of-dotnet-standard/
A follow on from my previous post, in which I look at .NET Standard's place in the ecosystem.
Based on an appendix from my book ASP.NET Core in Action. I've updated it for the .NET 7 era, but the third edition of my book is getting rather large, so putting it online instead. Enjoy!
If you are interested in how #dotNET came to its current incarnation, these two blog posts by @andrewlock are drawing a pretty complete picture:
Understanding the .NET ecosystem: The evolution of .NET into .NET 7
https://andrewlock.net/understanding-the-dotnet-ecosystem-the-evolution-of-dotnet-into-dotnet-7/
Understanding the .NET ecosystem: The introduction of .NET Standard
https://andrewlock.net/understanding-the-dotnet-ecosystem-the-introduction-of-dotnet-standard/
#learning #knowledge #NETFramework #NETStandard #dotNET7 #history #ecosystem
I made a neat little clock app using @avaloniaui and @soltes NXUI library.
I also decided to write it using #JetBrains #Fleet. #dotnet #desktop #development

As an alternative to the well-known ZXing library for Xamarin and .NET MAUI there is also a plugin for barcode scanning with Google Vision and ML Kit! With this plugin scanning all kinds of barcodes in your .NET MAUI app is a breeze. Let me show you!
https://www.youtube.com/watch?v=WWP2t-B5ADU&list=PLfbOp004UaYWu-meDkRN6_Y1verl96npI
I updated my #dotnet #EntityFrameworkCore multi-tenancy demo with a new branch for DbContextPools.
Each request has to set a property on the DbContext which is used during the QueryFilter on a query.
https://github.com/khalidabuhakmeh/EntityFrameworkCoreMultiTenancy/tree/with-pooling
If folks want to see the @avaloniaui #wordle project I wrote, you can find it on my #GitHub repo.
It's a pretty straightforward demo using #dotnet 7.
I wrote it using #JetBrainsRider and the Avalonia preview tool inside the IDE. It was a pretty great experience.
I made a Wordle clone with #dotnet and @avaloniaui. The tile logic may not be 100% correct, but it works!

What is everyones go-to C# logging library these days? #dotnet

Anyone out there #hiring for mid-level #SoftwareEngineers with experience with #nodejs, #dotNET, and #PHP? I know someone that might be on the market that I would love to recommend 😃
Here is the code for @avaloniaui dependency injection using @jeremydmiller Lamar. #dotnet
1. Scan for the types of your app
2. Add property proxies for DataContext and use SetterProperty to map the properties on creation.
3. Add dependencies to your ViewModels
4. Use the container to set the MainWindow
There's some ceremony, but not too much.
Playing around with @avaloniaui and binding events to commands using Avalonia.Xaml.Behaviors
In this sample, I write to the console every time the dialog window is activated.
This is really cool #dotnet development.
Wondering what the developer experience is like with Avalonia XPF?
It couldn't be easier! Check out this video to learn more.
@hankg It's plain-old #jetbrainsrider . I'm even targeting #dotnet 8. What a time to be alive!
The Missing Avalonia Templates for VB
@jeremydmiller @flq The prevalence of these abstractions in the #dotnet space comes from a history where it was difficult and slow to spin up a test context.
I don't believe that's the case anymore.
Unit test what makes sense, and integration test what makes sense. Adapt your code for optimal value and a sense of peace.
it might be a stretch but has anyone tried the latest #perlaDevServer previews?
I'm wondering if I'm postponing v1 too much so I'd like to mark the testing commands as experimental and release the rest stuff which I know it is working
any feedback in that area would be appreciated
#fsharp #webdev #dotnet #devserver