C# file-based apps let you do what young me did with BASIC at computer shops in the 80s🤣
#dotnet #charp
Just published static view locator source generator for Avalonia so you don't have to use reflection anymore #Avalonia #dotnet #charp #xaml #sourcegenerator https://www.nuget.org/packages/StaticViewLocator/0.0.1
StaticViewLocator 0.0.1

A C# source generator that automatically implements static view locator for Avalonia without using reflection.

In #Windows I am trying to recreate how for example Windows Explorer "Copy as path" will return a short (8.3) path for a very long path incl. on a network drive. Using #dotnet #charp I have tried using Win32 GetShortPathName but this does not work, what other ways are there?
Thanks @opentelemetry for the #charp sample https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/examples/MicroserviceExample/Utils/Messaging/MessageReceiver.cs I was able to use in this PR. Made showcasing #opentelemetry propagation trivial in #dotnet #aspire
opentelemetry-dotnet/examples/MicroserviceExample/Utils/Messaging/MessageReceiver.cs at main · open-telemetry/opentelemetry-dotnet

The OpenTelemetry .NET Client. Contribute to open-telemetry/opentelemetry-dotnet development by creating an account on GitHub.

GitHub

.NET Pulse issue number 27.

.NET 9 introduces a GUID version 7 implementation.

Find out the differences with GUID version 4 in tomorrow's issue.

Join 1,760 fellow engineers and get the issue directly into your inbox.

Subscribe: https://bit.ly/3H5vPm9

#dotnet #charp #guid

.NET Pulse | Level Up Your .NET Skills

.NET Pulse: A free weekly newsletter about .NET. Embark on a journey of continuous learning and discovery!

Oleg Kyrylchuk - .NET Pulse

Hi #dotnet, I really need your help.

Let's show everyone #Mastodon is even better than X for #devhelp.

How do you run multiple intg. tests in .NET?

I am looking into #testcontainers and that seems best (or also this FluentDocker lib: https://guiferreira.me/archive/2023/dotnet-integration-testing-with-docker-compose)

My concern is about eating CPU/RAM on #CICD host(s), as we have a lot of #tests & running a lot of stacks in parallel seems challenging (a lot of #DB services to start up).

I wonder, can I run eg. 10 by 10 of tests?

#charp #docker

.NET Integration Testing with Docker Compose

Testcontainers is an awesome technology, but often docker-compose is just better.

Gui Ferreira - Minimalist Software Craftsman

Refactor your code with default lambda parameters - .NET Blog

This article concludes a series on C# 12, highlighting "default lambda parameters" which simplify expressing default values in lambdas, enhancing code readability and maintainability

#CSharp12 #Charp #CodeReadability #Maintainability #Programming #DotNet #SoftwareDevelopment

https://devblogs.microsoft.com/dotnet/refactor-your-code-with-default-lambda-parameters/

Refactor your code with default lambda parameters - .NET Blog

Explore opportunities to refactor your C# code with default lambda parameters, a new feature in C# 12.

.NET Blog
#Golang forces me to slow down and think about what I'm trying to do. Its brevity is a healthy constraint that I don't get from other languages like #charp or #javascript.

Just released: OpenAI.NET v 0.1

This brand new library offers a simple and easy way to integrate your .NET solutions with #OpenAI and #ChatGPT.

This library is special because it was fully built over livestreams with The Standard Community leveraging engineering best practices and guidelines according to The Standard.

Check out our full live streams sessions in developing this library here on #YouTube:

https://www.youtube.com/watch?v=JQnTpGV-7YA&list=PLan3SCnsISTTl_MnGP6B78Nfu9Ix8G4mU

Check out the source code of the library here on #github:

https://github.com/hassanhabib/OpenAI.NET

And lastly huge thanks to the amazing engineers from everywhere around the world who helped get this done in just one week!

This library offers Completions today, but we will continue to stream and release more and more features as we go!

Make sure you stay tuned and thank you for using our library!

#openai #chatgpt #dotnet #charp

https://www.nuget.org/packages/Standard.AI.OpenAI

OPENAI000: Getting Started

YouTube
Ребзя, я тут пока несезон подучил c#, так вот, у меня дурацкий вопрос, на что он ещё годен, кроме скриптов в Space Engineers? #c-harp #?