Masthash

#DotNet

DevOps Weekly
3 hours ago

@turnerj I think I agree that it "should work", but I don't trust it, so my libraries follow a per-#dotnet pattern.

Snippet of csproj file showing conditional package references for .NET 6 and .NET 7
8 hours ago

Me: Entity Framework is so awful. It doesn't have UPSERT waaaaa.

Also me: hahaha expression trees go brrt.

https://github.com/space-wizards/SS14.Admin/blob/d2cd438cce681c1930f7d9a06da60676fa6b06c7/SS14.Admin/Helpers/SearchHelper.cs

#dotnet

FlashOWare
9 hours ago

@molecule I would say so, yes ... at least implicitly: the "dotnet new" templates of the #dotnet 6+ SDKs now include "<ImplicitUsings>enable</ImplicitUsings>", which automatically generates a couple of global using directives depending on the Project Sdk in use.

Dev Leader
19 hours ago

Happy Sunday! Resharing this:

How to Combine .NET Core and Python for Seamless Integration
https://hackernoon.com/how-to-combine-net-core-and-python-for-seamless-integration

#dotnet #python #coding #programming #hackernoon

Angel Munoz
22 hours ago

#csharp vs #csharplight I mean #fsharp

I still have to write some wrappers around Cmd's but I think this would be pretty much usable for Avalonia in both C# and F#!

Yet no promises I'm still experimenting at this point

Now, this targets plain Avalonia and doesn't define a programing model on its own, basically if you're going code behind or NXUI (which is very close to vanilla Avalonia) this might pair nicely, otherwise the F# folks already have fine solutions like FuncUI or Fabulous!
That being said... Here is the code for the curious!

https://github.com/AngelMunoz/Avalonia.Mvu

#dotnet

James Turner
1 day ago

@mikegoatly is the issue less about .NET 6 vs 7 etc and more like how binding redirects worked in the bad old days?

Like if I am using S.T.J v7 and that depends on another system library v7 (keeping in mind this all targets .NET 6), is it that the nested v7 dependency is being replaced by a v6 counterpart?

#dotnet

James Turner
1 day ago

Has anyone had issues running v7 of core .NET libraries like System.Text.Json on .NET 6? This isn't the first time I've seen someone mention similar on an issue before but wondering if this is something we're meant to avoid.

What I find weird about it is that my example with S.T.J v7 does target .NET 6 so I don't see why it is a problem?

https://github.com/RehanSaeed/Schema.NET/issues/598

#dotnet

Angel Munoz
1 day ago

If you were looking for an excuse to try #dotnet and #fsharp don't worry, I got you covered!

Here's a GitHub template with
@soltes@mastodon.social NXUI powered by @avaloniaui@dotnet.social

https://github.com/AngelMunoz/NXUIFSharpTemplate
Also Take a look at great alternatives for F# and Avalonia in the README (:

#avalonia #dotnet #fsharp #desktop #apps

My GitHub Sponsors profile is live! You can sponsor me to support my open source work 💖...

#dotnet #csharp #blazor #openai

I was really hesitant about setting this up, and sat on it for a long time. I guess let's see how it goes?! 🤓

https://github.com/sponsors/IEvangelist

Joe Finney
1 day ago

I‘be been working on Ink Calendar and Journal 2.5 to bring adding text to calendars! It is so exciting to release a new feature and it is such a delightful feature to use! #WindowsDev #dotnet #InkCalendar #PenAndInk #Surface #indieDev #indieDeveloper

James Montemagno
2 days ago

Deploying and Hosting #Blazor Static Web Apps for FREE on #Azure has never been easier with #visualstudio, in fact it is just a few button clicks away. I show you this new awesome feature:

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

#aspnetcore #azurestaticwebapps #programming #dotnet

K.Riebbels
2 days ago

Exploring the evolution of #dotnet configuration, acknowledging the limitations of the .NET #Framework in the modern world of services. Discover #layers, #sections, and #sources in this latest post. #configuration 🌐🔧
https://dotnet.kriebbels.me/configuration-the-tangle-of-layers-sections-and-sources-in-net-6-development

Dev Leader
2 days ago
.NET
2 days ago

In today's #ASPNET Community Standup session replay, we discuss Blazor 🔥 .NET 8 updates. Come check out some of the progress the Blazor team has made in #dotNET. https://msft.it/6010gjdH4

jimleonardo
2 days ago

#dotnet #csharp I saw someone mention somewhere they were using an alternative static site generator to Jekyll that was done in .net. Anyone got any good recommendations? I like Jekyll, but have little cause to program in ruby so would like same thing but built using csharp if there is something good. #python or #rust are also viable alternatives for me.

Khalid ⚡
3 days ago

What exactly is the NuGet meant to represent? #dotnet

NuGet logo
F# Online
3 days ago

Time for some functions and composition!

"Functions, Pipelines & Composition" - "F# for Beginners"

https://www.youtube.com/watch?v=jX3HTAfiefM&list=PLdo4fOcmZ0oUFghYOp89baYFBTGxUkC7Z&index=6

#fsharp #dotnet #fablecompiler #javascript

Enjoyed writing my first newsletter which went out yesterday! 🎉 If you missed it, you can read it on the website here (and of course subscribe if you enjoy it and want to get it in your inbox each month 📥) https://danclarke.beehiiv.com/ #dotnet #coding #developer

Khalid ⚡
3 days ago

So, @jchannon gave me a great idea. Blame as a Service.

Pay me to write an article/blog post, that you can later point to when your idea goes south.

“Hey it’s not my fault, this ‘expert’ said this would work!” #dotnet #development

.NET
3 days ago

Decreasing the amount of Rude Edits is one of the ways we make Hot Reload more versatile for all our #dotNET developers.

...which is why we’re excited to announce that in .NET 8, Hot Reload supports modifying Generics!

Cool, right? Learn more. 📖 https://msft.it/6017gjd8X

Anthony Steele
3 days ago

"Warning IDE0021
Use expression body for constructor"

No, I don't think that I will.

#dotnet #csharp

Alvin Ashcraft 🐿️
3 days ago

Dew Drop – June 2, 2023 (#3956)

Top links today:
- Update: .NET Upgrade Assistant w/ a new CLI tool
- Add first-class calling capabilities to your Windows apps
- Updated Paint app for Windows 11 rolling out to Insiders w/ dark mode & zoom improvements
- Dev Drive: Perf, security & control for devs
- Build your app’s copilot on MS Teams w/ the Teams AI library
- Announcing TypeScript 5.1

https://www.alvinashcraft.com/2023/06/02/dew-drop-june-2-2023-3956/

#dotnet #ai #webdev #cloud #windowsdev #csharp #mobiledev #visualstudio #dewdrop

Maarten Balliauw
3 days ago

Recording of yesterday's stream with @cecilphillip and @khalidabuhakmeh is up!

📺 Building payment flows with #Stripe and #Azure

Go check it out! https://jb.gg/0d7r1m

#dotnet

joreg
3 days ago

Horray, Meadow is now v1.0!

"After 6 years of dedicated development, 3 years of public betas and 1.5MM lines of code, Meadow is now production ready!"

https://blog.wildernesslabs.co/devcamp-2023-announcements/

#meadow #dotnet #csharp #iot #microcontroller

Adam Driscoll
3 days ago

What is my #PowerShell script doing? Debugging memory leaks and high CPU usage with the RuntimeDiagnostics module. https://blog.ironmansoftware.com/runtime-diagnostics/ #dotnet

rory
3 days ago

I've written about the Rat App I'm building and what I'm using to build it #MAUI #dotnet #SQLite #🐀 https://rory.horse/posts/introducing-basemix/

Adam Driscoll
3 days ago

I just published a #PowerShell module for analyzing #dotnet processes (including pwsh). It uses the Microsoft.Diagnostics.Runtime library. You can open memory dumps and attached to processes, dump thread stack traces and view objects. https://github.com/ironmansoftware/RuntimeDiagnostics

Kristoffer Strube
3 days ago

Got my Media Capture Streams and Web Audio Blazor wrappers working today so that I can now connect a Media Stream to an Analyzer Node to make intensity and frequency plots from live sound in real-time.
#blazor #dotnet #audio
Project: https://github.com/KristofferStrube/Blazor.WebAudio
Demo: https://kristofferstrube.github.io/Blazor.WebAudio/AnalyzeMediaStream

A MediaStream being analyzed by an AnalyzerNode. The result of this analysis is shown in two plots for intensity and frequency.
.NET
3 days ago

Last week, we released the May 2023 Cumulative Update Preview for #dotNET Framework.

Here is all the resources you need to take advantage of it. https://msft.it/6017gjB2B

Cecil Phillip 🇦🇬
4 days ago

The CFP for Jetbrains .NET Day Online 2023 is open.
Trying to think about what I should submit before it closes 🤔 Stripe, Dapr, Orleans, Akka, OpenTelemetry...

https://sessionize.com/jetbrains-net-day-online-2023
#dotnet

.NET
4 days ago

In today's #dotNET Data Community Standup replay, we learn what’s new for developers with Azure SQL Database and #SQLServer 2022 and some of the new capabilities introduced into both that have an impact on app development. 🎥 https://msft.it/6014gjBFe

Claudio Bernasconi
4 days ago

📢 .NET Developer Roadmap

I launched my C# & .NET Bootcamp on Zerotomastery.

I worked a whole year on both the course and the roadmap video released today (free).

https://youtu.be/B6P-p6UVyss

Check out the course here: https://claudiobernasconi.ch/dotnet-course

Let me know what you think. 👇

#dotnet #csharp

Claudio Bernasconi
4 days ago

📢 .NET Developer Roadmap

It contains a roadmap for learning C# and .NET development.

It's broken down into the topics required to become a .NET developer.

Watch the video and download the roadmap for FREE. 👇

https://youtu.be/B6P-p6UVyss

#dotnet #csharp

Dev Leader
4 days ago

Happy Thursday! Check this out:

A Simplified Beginner’s Guide to IEnumerable in C#
https://devleader.substack.com/p/a-simplified-beginners-guide-to-ienumerable

#dotnet #programming #coding #csharp #substack

Alvin Ashcraft 🐿️
4 days ago

Dew Drop – June 1, 2023 (#3955)

Today’s top links:
- Replicating a dating app UI with .NET, Uno Platform, and Figma
- Implicit Operators in C# and how to create a multi type
- Speech recognition in .NET MAUI with Community Toolkit
- Announcing the upcoming GA of Microsoft Mixed Reality Toolkit 3
- WinGet Configuration Preview

https://www.alvinashcraft.com/2023/06/01/dew-drop-june-1-2023-3955/

#dotnet #webdev #ai #windowsdev #devops #mobiledev #cloud #csharp #visualstudio #dewdrop

Maarten Balliauw
4 days ago

June's #dotnet Annotated is out featuring a community message by @khalidabuhakmeh plus:

🔒 Choose the right auth by Carla Stabile
💣 Typed exceptions in JSInterop
📊 #AvaloniaUI, Elmish, and OxyPlot in #fsharp by @brandewinder
...and more! https://jb.gg/i6cno2

zetroot
4 days ago

Кстати с #alpine случилось забавное. В нем нет #iculibs, поэтому #dotnet там работает в инвариантной культуре.
Вроде бы неплохо, но драйвер #sqlserver не любит такое, оно где то внутри жаждет en-us культуру и жестко обламывается без нее.
Пришлось поставить icu-libs в образ. + 20 метров к почти каждому образу, обидное.

zetroot
4 days ago

Настали трудные времена. Разработчики засрали свой лоточек выше крыши. Девопсы говорят, что в дев кластере заканчивается ОЗУ и надо уменьщать memory footprint подов. Основная память тратиться как ни странно не на managed heap (все таки gc в #dotnet работает), а на слои контейнера.
Окай, меняем базовый образ.
Майки дают 4 оффициальных образа: #debian, #ubuntu, #alpine и ubuntu #chiseled based размерами (примерно) 200, 200, 100 и 100 метров соответственно.
Не понял прикола ubuntu-chiseled, пошли в alpine. Ну где то метров по 80-100 с пода скинем, что при 3х неймспейсах по 50 подов уже похоже на результат.

Dr. Friedrich von Never
4 days ago

Just published several NuGet packages by a collective name of FVNever.Oddities: https://github.com/ForNeVeR/Oddities/

Support for resource extraction from 16-bit executables, parsing of old WinHelp files, and a couple of associated image formats (MRB, SHG, DIB) for #dotnet (written in a crazy mix of #csharp and #fsharp), all under the almighty MIT license.

I use these libraries to remake old games, but maybe others will find them useful for something, too.

@sinkinstar @jfversluis @jamesmontemagno @davidortinau are they just tied to #dotnet versions now? You can pin those with a global.json file.

Kristoffer Strube
4 days ago

The getUserMedia method really has a lot of checks before we can access a media device. I love how much information and context we can put into XML Docs to give developers context while developing.
#blazor #dotnet
Project: https://github.com/KristofferStrube/Blazor.MediaCaptureStreams

XML comments are presented in the hover-over-method tooltip from Visual Studio. The concrete XML comments are from the getUserMedia method that I have wrapped in Blazor. The noticeable thing is that it has a lot of places where it can throw different kinds of exceptions for different reasons.
blackspike design
5 days ago

See the before/after design of a ASP.NET Razor + Bootstrap line-of-business app – Bootstrap doesn't have to look like Bootstrap!

https://www.blackspike.com/case-studies/dot-net-razor-and-bootstrap-lob-tool-design/

#bootstrap #aspnetcore #dotnet #design

dotnet
5 days ago

📺.NET at Microsoft Build 2023

All of the .NET sessions from Microsoft Build 2023 including microservices, C#, ASP.NET Core, .NET MAUI, cloud native, and so much more!

https://www.youtube.com/playlist?list=PLdo4fOcmZ0oV0mbay2wxFS_ZVRg6cxjdM

#dotnet #dotnetmaui #blazor #AspNetCore

Khalid ⚡
5 days ago

I made a #dropthedot Emoji GIF that you can add to your Slack emoji catalog. Have fun. #dotnet

A white dot dropping on a purple background. (Drop the dot)
Alvin Ashcraft 🐿️
5 days ago

Dew Drop – May 31, 2023 (#3954)

Top links today:
- Easily replicate a sign-up UI in .NET MAUI
- MS Graph Dev Proxy v0.8 w/ minimal permissions detection & improved simulating throttling
- Creating a MS Power App for your ASP.NET Core Web API
- Level-up w/ Live Templates in JetBrains Rider
- Iterating on your VS Welcome Experience feedback
- Introducing Dev Home

https://www.alvinashcraft.com/2023/05/31/dew-drop-may-31-2023-3954/

#dotnet #ai #webdev #csharp #windowsdev #cloud #mobiledev #visualstudio #dewdrop

Cecil Phillip 🇦🇬
5 days ago

There's so many gems in the .NET ecosystem that don't get the love they deserve. Here's a list of (in my opinion of course 🙂) some of the underrated bits in .NET.

🔥 .NET Interactive
🚀 YARP
👀 OData
💪🏾 Reactive Extensions

Curious to hear what you think
#dotnet #AspNetCore

Maarten Balliauw
6 days ago

Do you know about live templates? 🤔

In this blog post, @khalidabuhakmeh explains how to re-use (and share) commonly used snippets with your team, how to add parameters and placeholders, and more.

Go check it out! 👉 https://jb.gg/bnp4lp #dotnet

Khalid ⚡
1 week ago

Not redoing the solution file format in the switch to #dotnet Core was a mistake in retrospect.

@randulo
dotnet.social a friendly place where you can discover and share content about coding, technologies and .NET #dotnet

Khalid ⚡
1 week ago

Looking through the #jetbrains #dotnet days submitted talks/sessions.

Quote Jaws GIF by Top 100 Movie Quotes of All Time
Khalid ⚡
1 week ago
James Westman
1 week ago

I graduate in August, which means I'm looking for a job! I have almost 5 years of experience with #GNOME/#Linux desktop development and over 2 years part-time professional experience with full-stack development (#dotnet, #angular, #ionic). Plus I've dipped my toes in a ton of other things over the years.

Looking for something remote or in the #neworleans area. If you've got anything let me know! DMs open, boosts appreciated.

#GetFediHired #LookingForWork

Angel Munoz
1 week ago

Well! I have to say, kudos to the #winrt projection team from microsoft and #dotnet using the winrt api from both #fsharp and #rust is nearly the same

In this case I'm just using the
Windows.Security.Cryptography.DataProtection namespace to read a file using the winrt api (I could use bcl/std apis I know) convert it into a stream, use the DataProtection apis to encrypt the file, the encrypted file gets saved as a new file (so I can see it rather than just do it to the same file) and then decrypt that file into a new one which technically is just a copy of the first one but after encryption/decryption :)

Rocky Lhotka 🌴 🤘🖖
1 week ago

@khalidabuhakmeh Back when #dotnet was fairly new I did a consulting gig at a big retailer who had built a recommended set of packages and tools for #java and wanted a comparable set of functionality for #dotnet

What we found was that about half the libraries needed to make #java productive (like thread pooling, db connection pooling, etc.) were all built right into #dotnet itself, and so finding #oss or commercial libraries wasn't necessary.

Khalid ⚡
1 week ago

I thought I’d quantitively compare the #dotnet OSS ecosystem with the #Java one regarding packages and OSS offerings.

Java has 560,493 unique packages, while #dotnet has 356,926
Java has 10,718,296 unique versions, while #dotnet has 5,756,824

The Java ecosystem has 44% more packages and 60% more releases.

JetBrains Package Search
NuGet search
Java_Packages = 560,493
Dotnet_Packages = 356,926

Java_Unique_Versions = 10,718,296
Dotnet_Unique_Versions = 5,756,824

Java Avg Number of Releases = Java_Unique_Versions / Java_Packages => 19.123

Dotnet Avg Number of Releases = Dotnet_Unique_Versions / Dotnet_Packages => 16.1289

## Differences in percent

Unique Packages = ((Java_Packages - Dotnet_Packages) / ((Java_Packages + Dotnet_Packages) / 2)) in percent 

Unique Releases = ((Java_Unique_Versions - Dotnet_Unique_Versions) / ((Java_Unique_Versions + Dotnet_Unique_Versions) / 2)) in percent

Unique Packages => 44.3782%
Unique Releases => 60.2299%
Ariel :verified:
2 weeks ago

In retrospect, switching from Java to C#+.NET was a great decision on my end. I've learned in 4 months in .NET more than in 18 months of Java. ASP.NET Core blows Spring out of the water both in performance and developer experience.

EF Core is just brilliant, being able to get only the records I want to query without writing SQL or that weird-ass thingy called JPQL.

Desktop still feels kinda weak but Avalonia isn't bad once you get used to it.

Anyway, props to everyone involved in #dotnet

Khalid ⚡
2 weeks ago

If you’re looking to get into #GodotEngine 4 with #dotnet and #JetBrainsRider, you’ll need to follow these steps:

1. Download the .NET 6+ SDK
2. Download the Godot “Mono” build
3. Start a new project, and open the Editor Settings
4. Set Dotnet | Editor to JetBrains Rider.

You should be good to go.

Side note: It’s good to see that #GodotEngine is team #dropthedot. #gamedev

Godot Engine 4 (mono build) showing the editor settings screen with JetBrains Rider selected for Dotnet projects.
Khalid ⚡
2 weeks ago

@bitbonk You can also choose the number of curly braces ({ }) by the number of “$” at the start of a raw string literal. #dotnet

Khalid ⚡
2 weeks ago

I bet you #dotnet folks didn’t know that raw string literals could have any number of double quotes. As long as the starting number matches the ending number, you have a valid raw literal string.

simendsjo
2 weeks ago

Hi, first post on Mastodon. I'm a self taught software developer using #guix, #stumpwm, #emacs, and currently experimenting with #nyxt.

I'm fond of #foss, and do some drive-by contributions to various projects as I encounter issues.

By day, I'm working as a consultant mostly using #windows, #dotnet and #csharp, but I use #fsharp whenever I get the chance.

Looking forward to meeting likeminded people on Fosstodon!

Khalid ⚡
2 weeks ago

So I was reading an InfoQ recap of the #dotnet 8 preview 4 blog post, and they mentioned the comments section was "mixed".

Some of these folks have rabies.

I can see where some of their comments are coming from, but take it down a notch.

https://devblogs.microsoft.com/dotnet/asp-net-core-updates-in-dotnet-8-preview-4/#comments

Alvin Ashcraft 🐿️
2 weeks ago

Anyone at #msbuild? I have a couple of copies of my books to give away. Find me in a plain red baseball cap and blue Build hoodie.
#dotnet #winui #async

Khalid ⚡
2 weeks ago

We are a good bit into the #dotnet core era and I’m afraid folks still don’t understand how SDKs work or what and why global.json exists.

It’s a common issue to see folks confused as to why something that used to work, starts to fail after an SDK update.

Andrew Lock
2 weeks ago

Blogged: Making authenticated cross-origin requests with ASP​ .NET Core Identity

https://andrewlock.net/making-authenticated-cross-origin-requests-with-aspnetcore-identity/

In this post I describe how to make authenticated cross-origin requests from the browser to an app using ASP.NET Core Identity

#aspnetcore #dotnet #dotnetcore