Masthash

#dotnet

Ian Cooper
45 minutes ago

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

Khalid ⚡
12 hours ago

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.

F9Analytics
13 hours ago

@ddrake

We are developing at factorial growth. Good luck AI.

#ai #maths #dotnet

Hassan Habib
13 hours ago

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

Jaap
14 hours ago

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!😉

🆕Text To Image🔥
Tusk.Ninja
With TXT2IMG* on **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!😉

For Mastodon Only🚀

-- Created with TXT2IMG https://Tusk.Ninja

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

Khalid ⚡
17 hours ago

Playing around with #dotnet #MAUI MediaPicker and camera access on #macOS and #macCatalyst.

I'm using #JetBrainsRider.

Developing dotnet MAUI in JetBrains Rider and showing myself taking a selfie.
Swimburger :dotnet:
17 hours ago

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

Claudia Regio
17 hours ago

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

#dotnet #dotnetcore #aspnet #docs #feedback

Khalid ⚡
19 hours ago

Has anyone been able to capture webcam footage in an @avaloniaui app running on #macOS? #dotnet

Jerome Haltom
19 hours ago

#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.

Jaap
19 hours ago

Adding some extras to TXT2IMG at https://Tusk.Ninja

It's not live yet ...

#MarkDown #Emojis #Border #Blazor #dotNET

# Header
**Bold**
*Italic*
# 🆕

-- Created with TXT2IMG https://Tusk.Ninja
Gerald Versluis
21 hours ago

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?!

https://youtube.com/shorts/oUp8Kojj3z8

#dotnet #csharp #properties

François Bouteruche (he/him)
21 hours ago

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

https://www.youtube.com/watch?v=RZ5RFd7j57A

Dev Leader
22 hours ago
Dr_Cox1911
23 hours ago

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.

Alvin Ashcraft 🐿️
23 hours ago

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

Urs Enzler 🐉
23 hours ago

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

MartinDotNet
23 hours ago

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!

https://twitch.tv/martindotnet

TheDotNetDev
1 day ago

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

MartinDotNet
1 day ago

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!

https://twitch.tv/martindotnet

Vedran M. 👨‍💻
1 day ago

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

Mark J. Price
1 day ago

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

Brad Wilson
1 day ago

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

A custom implementation of IEnumerator<T> that caches the first "n" items in a List<T> and the most recent "n" items in a Dictionary<int, T> (keyed by the item index).
Rocky Lhotka 🌴 🤘🖖
2 days ago

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/

bitbonk
2 days ago

What is the coolest stack to build a #crossplatform #mobile app with #FSharp and #dotnet?

dotnet
2 days ago

🆕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).

https://aka.ms/modernize-aspnet-videos #dotnet

MartinDotNet
2 days ago

Anyone know of a reliable protobuf model binder for #dotnet

F9Analytics
2 days ago

@johncarlosbaez

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?

#ai #hypejob #dotnet

Paul 🏴‍☠️
2 days ago

#Umbraco is a joy to use. #dotnet

Khalid ⚡
2 days ago

The release of Json.NET in June 2006 has helped
millions of #dotnet developers work with #JSON. #dotnethistory

The release of Json.NET in June 2006 has helped

millions of #dotnet developers work with #JSON. #dotnethistory
MartinDotNet
2 days ago

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. 😉 👇

https://www.youtube.com/watch?v=yyKrt7zSmv0

#dotnet #csharp

Maarten Balliauw
2 days ago

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

#dotnet

MartinDotNet
2 days ago

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.

Alvin Ashcraft 🐿️
2 days ago

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

MartinDotNet
2 days ago

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)

TheDotNetDev
3 days ago

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

James Turner
3 days ago

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.

https://github.com/TurnerSoftware/Aqueduct

Avalonia UI
3 days ago

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

Alvin Ashcraft 🐿️
3 days ago

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

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

#devproblems

Khalid ⚡
4 days ago

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

https://github.com/khalidabuhakmeh/AvaloniaClock

Andrew Lock
4 days ago

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!

#aspnetcore #dotnet #dotnetcore

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

Khalid ⚡
4 days ago

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

JetBrains Fleet and Avalonia NXUI app running a clock
Gerald Versluis
4 days ago

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

#dotnet #dotnetmaui #barcodescanning #googlevision #mlkit

Khalid ⚡
5 days ago

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

Khalid ⚡
5 days ago

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.

https://github.com/khalidabuhakmeh/Wordle-Avalonia

Khalid ⚡
5 days ago

As Tupac would say, "Only god can judge me". #dotnet

public List<Guess> Guesses { get; set; }
        = new() { new(), new(), new(), new(), new() };
Khalid ⚡
5 days ago

I made a Wordle clone with #dotnet and @avaloniaui. The tile logic may not be 100% correct, but it works!

Antshockey
5 days ago

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

Jeremy Morgan
6 days ago

My mood this weekend 😂

#SignalR is like Regex for me. When I work with it all the time, it’s elegant, powerful, and fun.

Take a few years off, and it’s a complex nightmare that no human can possibly understand.

One of my favorite things in #dotnet but yeah

Eph Baum
1 week ago

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 😃

Khalid ⚡
1 week ago

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.

Conventional registration using Lamar
Setter property in my Window control
DialogWindowViewModel
Setting the MainWindow in App class
Khalid ⚡
1 week ago

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.

Dialog window showing console output in JetBrains Rider when Avalonia window is activated.
Avalonia UI
1 week ago

Wondering what the developer experience is like with Avalonia XPF?

It couldn't be easier! Check out this video to learn more.

https://www.youtube.com/watch?v=G1viv_qZAUI

#dotnet #wpf

Khalid ⚡
1 week ago

@hankg It's plain-old #jetbrainsrider . I'm even targeting #dotnet 8. What a time to be alive!

VB.NET targeting .NET 8 SDK with JetBrains Rider
Hank G ☑️
1 week ago
I didn't realize it was possible to write AvaloniaUI code in VB.NET with some modifications. It's been years since I've coded in VB.NET but interesting tips on converting the Avalonia templates to VB.NET format. Is it possible to develop in VB.NET on platforms other than Windows even? I know that deployment of apps work regardless but just curious. #VisualStudio #AvaloniaUI #VisualBasic #dotnet #linux
The Missing Avalonia Templates for VB
Khalid ⚡
1 week ago

@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.

Angel Munoz
1 week ago

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

Khalid ⚡
1 week ago

Trying out #dotnet #maui hybrid apps with #blazor