Masthash

#dotNET

Kristoffer Strube
3 hours ago

I think I see the value of primary constructors now. That is so sleek and simple. The only thing I'm wondering is whether all the newcomers to C# will be confused by seeing this when all tutorials out there use the "old" method.
#dotnet #csharp

Rob King
5 hours ago

“The Blazor webassembly runtime is too big and people won’t want to download it!”

Meanwhile:

#Blazor #dotnet

Screenshot of the gmail iOS app showing a 464mb file size.
Brad Wilson
11 hours ago

What is the point of CA1002 ("Do Not Expose Generic Lists")? https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1002

The justification talks about List<T> being "designed for performance, not inheritance". I feel like that's precisely why I want to return List<T>. Why shouldn't I just turn this rule off? Alternatively, what's the value in returning IList<T> here? Because I might want to return a non-List<T> list at some point? That feels YAGNI-ish.

#dotnet #csharp

Brad Wilson
14 hours ago

What exactly is going on here? 🤔 The nullability attributes on Guard.ArgumentNotNull are working in lots of other places. 😕 #dotnet #csharp

Code which is shown to be validating that an argument is not null, but still the C# compiler is throwing CA1062 about validating nullability (and also showing that it knows the value isn't null)
The implementation of Guard.ArgumentNotNull, which is showing the [NotNull] annotation which tells the compiler that the value is not null.

What is the best alternative for #dotnet #dupfinder command line tool from @jetbrains ? #csharp #help #teamcity #mvpbuzz

Kristoffer Strube
17 hours ago

I am progressing on my Blazor Web Audio API wrapper this weekend, going back through some classes and adding documentation. It is a lot of work, but it will make a huge difference in ease of use.
#blazor #dotnet #webaudio
project: https://github.com/KristofferStrube/Blazor.WebAudio

Sample of a class used in the Blazor Web Audio wrapper. It uses XML documentation so that developers can get important insight while developing.

I just merged the sequencing tools as well as several other improvements into SC4X and updated the Godot Asset Library Entry to use the new commit hash. Any minute now the docs website will finish building and will have documentation for the documented classes at Squiggles.Core.Sequencing.

Asset Library:
https://godotengine.org/asset-library/asset/2142

Repository:
https://github.com/QueenOfSquiggles/Squiggles-Core-4X

Docs Website:
https://queenofsquiggles.github.io/Squiggles-Core-4X/

#Godot #GodotEngine #MadeWithGodot #Godot4 #CSharp #DotNet

A really awesome add-on that I found on the Godot Asset Library (so you can install it directly from the editor), is "Rebuild C# Project On Focus".

It's a super simple addon that triggers a rebuild of the dotnet project when focus is restored and it detects a file change. It's incredibly similar to Unity's functionality and is a real time saver because I forget to rebuild all the time!

https://godotengine.org/asset-library/asset/2146

Tags for reach:
#Godot #GameDev #GodotEngine #DotNet #CSharp

xUnit.net
19 hours ago

We have just shipped a new build of the core framework, to fix another assertion library regression related to collections of dictionaries.

Release notes: https://xunit.net/releases/v2/2.5.2-pre.2

(Note: This is only a framework release. There is no corresponding analyzer or Visual Studio adapter release.)

#dotnet #csharp #fsharp #unittest #tdd

No, MS Learn, there isn't only one answer here... 😩 #csharp #dotnet

Washi
22 hours ago

Earlier this month I found a way to consistently pop calculators in #dnSpy by opening a file and clicking some nodes in its browser.

Today I release a write-up on how this can be done:

👉 https://blog.washi.dev/posts/popping-calcs-in-dnspy/

Update dnSpy if you haven't already!

#dotnet #reversing #bug

PAUL COGAN
23 hours ago

Smart writing on #AI and overhyped expectations of creativity from a generic amalgamator. Measuring its value has me thinking of the clarity and murkiness of academic assessment. https://apperceptive.substack.com/p/th
#AI #AGI #artificialintelligence #intelligence #ai #generative #machineLearning
#AI #AInews #AIupdate #GenerativeAI #dotnet #LLM #deeplearning #DataScience
#tech #humanintelligence #gai

Here's a companion blog post comparing the idiomatic XAML approach with Blazor approach, and also giving a little background.

PS: Did I mention Blazor enables **Hot Reload** for Avalonia apps? 🤯

https://blog.skillrefactory.com/2023/09/23/blazor-avalonia/

#avalonia #blazor #dotnet

PAUL COGAN
1 day ago

Austin-based Diligent Robotics, which makes “socially intelligent” hospital service robots, raised $25M and plans to have 100+ robots in 22 US hospitals by 2024
https://techcrunch.com/2023/09/21/diligent-raises-25-million-to-triple-its-nursing-robots-reach/
#AI #AGI #artificialintelligence #intelligence #ai #generative #machineLearning
#AI #AInews #AIupdate #GenerativeAI #dotnet #LLM #deeplearning #DataScience
#tech #humanintelligence #gai

PAUL COGAN
1 day ago

CLSA: China has 130+ LLMs, or 40% of the global total and behind the US' 50% share; experts say most have yet to find viable business models and are too similar
https://www.reuters.com/technology/chinas-ai-war-hundred-models-heads-shakeout-2023-09-21/
#AI #AGI #artificialintelligence #intelligence #ai #generative #machineLearning
#AI #AInews #AIupdate #GenerativeAI #dotnet #LLM #deeplearning #DataScience
#tech #humanintelligence #gai
#china

PAUL COGAN
1 day ago

Sequoia published a big update to their generative AI thesis shared one year ago. They now say that technological advancements like Moore's Law, the internet, and cloud computing have driven generative AI to constitute a significant innovation milestone.
https://www.sequoiacap.com/article/generative-ai-act-two/?utm_source=aittention.beehiiv.com&utm_medium=newsletter&utm_campaign=private-alternative-to-chatgpt-chinese-ai-influencers-and-the-reversal-curse-today-s-top-ai-news-9-22-23
#AI #AGI #artificialintelligence #intelligence #ai #generative #machineLearning
#AI #AInews #AIupdate #GenerativeAI #dotnet #LLM #deeplearning #DataScience
#tech #humanintelligence #gai

PAUL COGAN
1 day ago

Daniel Huynh introduced BlindChat, a privacy-centric, open-source alternative to ChatGPT. Derived from Hugging Face Chat-UI, BlindChat operates on the client side using transformers.js for local inference and stores chats in the browser cache, ensuring user privacy.
https://huggingface.co/blog/dhuynh95/introducing-blindchat?utm_source=aittention.beehiiv.com&utm_medium=newsletter&utm_campaign=private-alternative-to-chatgpt-chinese-ai-influencers-and-the-reversal-curse-today-s-top-ai-news-9-22-23
#AI #AGI #artificialintelligence #intelligence #ai #generative #machineLearning
#AI #AInews #AIupdate #GenerativeAI #dotnet #LLM #deeplearning #DataScience
#tech #humanintelligence #gai

PAUL COGAN
1 day ago

This article from the Mozilla Foundation surfaces into the human decisions that shape generative AI. It highlights the ethical and regulatory implications of these decisions, such as data sourcing, model objectives, and the treatment of data workers.
https://thoughtshrapnel.com/2023/09/23/if-llms-are-puppets-whos-pulling-the-strings/
#AI #AGI #artificialintelligence #intelligence #ai #generative #machineLearning
#AI #AInews #AIupdate #GenerativeAI #dotnet #LLM #deeplearning #DataScience
#tech #humanintelligence #gai

Dev Leader
1 day ago

Blogged: WUG: Na co mám/můžu použít Roslyn (Olomouc)

https://www.tabsoverspaces.com/id/233926

#csharp #dotnet #roslyn #community #usergroup #speaking

Marc
1 day ago

Anfang Oktober gebe ich eine Übersicht über UI Frameworks in .NET. Freue mich über interessierte Leute, sei es aus eigenem Interesse oder um mal was anderes wie ASP . NET zu sehen.

https://digitaleinitiativen.at/net-user-group-elevate-your-ui-game-the-frameworks/

#dotnet #wpf #maui #xamarin #avalonia #gtk #qt #blazor #uno

@avaloniaui Is this ☝️ something for you? 😉

#avalonia #blazor #dotnet

Me habia reventado la #API xD

No se que he tocado pero ya furula OwO

200 OK👀

#aspnetcore #dotnet #csharp #visualstudio #coding #restapi #restful #vtuberES #otakubinary

Amitesh Kumar
2 days ago

@array@fosstodon.org congrats 🎉 on your first #dotnet project and learning. Keep learning and updating to inspire others like me... 😊

Well, I'm fairly impressed with my first #dotnet project so far. Following the docs I've been able to create a web project, add PostgreSQL support, add a Model and scaffold a bunch of Razor pages related to that Model. In just a few minutes, I got a full web project ready to play with. Some prior experience with Laravel, Spring and Vue helps getting what's this all about, but this seems fairly easy, and I think learning about this ecosystem won't be as hard as I could have expected. :)

jakenuts
2 days ago

I know it’s a stretch, but are you sitting on a hot *new* C# code/architecture visualization tool that hasn’t gotten the hype it deserves?

I’m hoping to bring more boxes and arrows back into my #dotnet development as lacking them I’m just piling spaghetti on yesterday’s spaghetti and calling it planned development.

Thanks!

#dotnet #architecture #uml #casetools

Daniel Hindrikes
2 days ago

My most popular video is about how to build your own .NET MAUI controls. Have you seen it?

https://youtu.be/3Cd3amJ-qcw

#dotnet #dotnetmaui

2/2 This was because the #Dockerfile that represented the action would have to be invoked every time your action was used, building it before use. I recently learned that with GitHub Actions you can point to a container image rather than a Dockerfile. Your action and publish the built container independently. That plus Native AOT can make for some really compelling .NET GitHub Action functionality. #dotnet #nativeaot

🧵 1/2 🔥 You may know that I'm a proponent of #github actions (and I love #dotnet :dotnet:). You can author .NET GitHub Actions, but you'd have to create a container image. While this was a really interesting approach, it wasn't really practical for workflows that you need to execute quickly! Instead, you might have been inclined to choose the #TypeScript/#JavaScript alternative approach (or composite).

Dev Leader
2 days ago

Happy Friday! Resharing this:

Breaking Free From Exceptions – A Different Way Forward
https://hashnode.devleader.ca/breaking-free-from-exceptions

#dotnet #programming #coding #csharp

Alvin Ashcraft 🐿️
2 days ago
Alvin Ashcraft 🐿️
2 days ago

Dew Drop – September 22, 2023 (#4031)

Top links today:
- Visual Studio: New React TypeScript SPA templates & more
- Infinite chat w/ history embeddings
- Watch the Sept 21 MS Event
- Introducing Copilot for Python in Excel: Advanced data analysis using natural language
- New Surface devices bring more value to business
- Announcing Microsoft Copilot, your everyday AI companion

https://www.alvinashcraft.com/2023/09/22/dew-drop-september-22-2023-4031/

#dotnet #ai #windowsdev #copilot #cloud #visualstudio #webdev #csharp #surface #dewdrop

Joe Glombek
2 days ago

“We're all worried about what's going to happen with social spaces as media changes. Joe introduces us to Umbraco within the Fediverse, a decentralized universe of social platforms. Discover how Mastodon can be tailored to the Umbraco community, fostering connections and sharing insights!”

https://skrift.io/98-5

#umbraco #opensource #cms #dotnet #dotnetcore #webdev #webdevelopment #umbracodeveloper #developer #webdeveloper #dotnetdeveloper #skriftmagazine

Skrift: Around the web post reading “Umbraco in the Fediverse - Blog post” with a photo of myself sat working at a laptop.
Ian Cooper
2 days ago

@pblasucci @array @khalidabuhakmeh @fedops

The dynamic to understand with FOSS in #dotnet is that when MS produces its own FOSS frameworks the community tends to rapidly standardize on them.

Whilst this tends to mean there is a "standard way of doing things" in most #dotnet shops, it does tend to kill community enthusiasm for committing time to FOSS themselves.

Daniel Hindrikes
2 days ago

🔥 Dive into the world of Telerik controls for .NET MAUI with my video series! 🚀 Whether you're a seasoned developer or just getting started, you won't want to miss these insights. Check out my latest episode and level up your .NET MAUI game!

🔗 https://www.youtube.com/playlist?list=PLNfklfxfM6YgW7pE0UPH6Y0C0PkDx9mUz

#DotNetMAUI #dotnet #TelerikControls #AppDevelopment"

So, a few hours ago I asked some advice on doubts I had about learning #DotNet #CSharp on Linux. The response has been almost overwhelming. And most important: everybody has been kind, respectful and willing to help. My points:
- Fedi is far from perfect, because people is made like is made. But a sane environment helps with the better of us thriving.
- Keeping off toxic discourses and discussions is rather healthy. Who would have thought of that. ;)
1/n

Steve Croxford
3 days ago

It's taken multiple consultants multiple months to build this "no code" solution that has run into endless bugs with the platform, will cost 10x what our largest #dotnet site does to run while handling 1% of the traffic, all for what is essentially 5 forms and some background jobs/integrations that our devs could have built in a couple of weeks.

Khalid ⚡
3 days ago

@array @davidwengier @dc @pblasucci I just want to code with #dotnet.

Caveman Thats The Way I Think GIF
Rocky Lhotka 🌲 🤘🖖
3 days ago

@array I like the answers from @khalidabuhakmeh.

You can also just install the #dotnet 7 sdk and #vscode to get started. All #foss.

I'd suggest that your first decision is what kind of UI to create. Console is easy, #aspnetcore is quite common, #blazor is very cool, and there are several others if you want to target windows, iOS, android, Mac, etc.

Khalid ⚡
3 days ago

@fedops @array @pblasucci I'd say the relationship with FOSS in #dotnet is "complicated".

It's a vendor-focused ecosystem, so the broader community is used to getting vendor-provided solutions (even though there might be some great community options).

Also, acquisition of software is typically done via enterprise purchase and support agreements, making it more difficult for OSS to get a direct path to business funding.

I predict we'll see more commercial licensing in the #dotnet community.

Any #DotNet #CSharp #VisualBasic developers in the room? I want to start learning it, and I'm having a bad time on what to choose for starters. Taking into account that I'm on Linux, can I really do that? And do I have to use Mono, .NET, anything else? And, C#, Visual Basic, both, neither? I'm a bit confused. Thanks! :)

Maarten Balliauw
3 days ago

Eager, Lazy and Explicit Loading with #EFCore

In this post, we explore the different ways of loading related data using #EntityFrameworkCore, and what the advantages and drawbacks of each approach are.

https://jb.gg/8yqgc1

#dotnet

Daniel Hindrikes
3 days ago

🚀 New Video Alert! 📺 Dive into JetBrains Rider for .NET MAUI as we say goodbye to Visual Studio for Mac. Is Rider the perfect replacement? Find out now!

https://youtu.be/K_Zr1CsHKW8

#JetBrainsRider #DotNETMAUI #dotnet #DevelopmentTools #VisualStudio #Tech #VideoRelease

Maarten Balliauw
3 days ago

Had to work with a .NET Framework + packages.config + NuGet restore target this week and OMG, today's #dotnet is so different and much better. It truly is time to #dropthedot and show a difference between old era/new era.

Rocky Lhotka 🌲 🤘🖖
4 days ago

@khalidabuhakmeh @cwoodruff @maartenballiauw @breakpointshow @rafaelldi It will be interesting to see if the web socket issues are largely resolved in #dotnet 8 with the new #signalr features.

Rocky Lhotka 🌲 🤘🖖
4 days ago

@cwoodruff @maartenballiauw @breakpointshow @rafaelldi @khalidabuhakmeh Personally, I think #blazor is finally an answer to #dotnet having a decent UI framework. The productivity of VB6 with the reach of the web.

Owain Williams
4 days ago

With #hacktoberfest just around the corner, now is a great time to get involved in #opensource projects.

Looking for a #dotnet project to help with? Why not check out #umbraco

You can also contribute to the documentation so no coding required.

Kouji Matsui (sdf.org)
4 days ago

AspNetCore.JsonStreamer 0.2.0 is out now!

JSON Lines streaming serializer on ASP.NET Core, uses standard type of IAsyncEnumerable<T>.

It is simply to use, add AddNewtonsoftJsonStreamer() instead of AddNewtonsoftJson().

https://github.com/kekyo/AspNetCore.JsonStreamer

#dotnet #aspnetcore #jsonlines #ndjson

Steve Croxford
5 days ago

I've been having so much success adopting using Span/Memory and ArrayPool in both work and personal projects, it really irks me when I run into Apis that haven't gotten the love yet. Currently scowling at the Directory/File Apis being the cause of almost all the GCs in my search app :blobfoxrage: #dotnet

Maarten Balliauw
6 days ago

Blogged a bit about discriminated unions in #csharp (yes, attributed #fsharp). Mainly to highlight some of the clever operator overloading in #aspnetminimalapi.

https://blog.maartenballiauw.be/post/2023/09/18/discriminated-unions-in-csharp.html

#dotnet

xUnit.net
1 week ago

It's release day! 🎉

We just shipped v2 Core Framework 2.5.1, Analyzers 1.3.0, and Visual Studio adapter 2.5.1. The focus of this release was resolving issues related to the new assertion library introduced in 2.5.0, as well as fixing any showstopping bugs.

Enjoy!

Release notes:

https://xunit.net/releases/v2/2.5.1
https://xunit.net/releases/analyzers/1.3.0
https://xunit.net/releases/visualstudio/2.5.1

#dotnet #csharp #fsharp #unittest #tdd

Alexandre Mutel
1 week ago

Whenever there is a new .NET runtime, I'm checking some basic benchmarks with Markdig (converting a large markdown document to HTML) and Scriban (text templating benchmark). Wanted to check how latest .NET 8.0 RC1 is doing.

I rememmber that between net6.0 and net7.0 the difference was marginal for Markdig, slightly better for Scriban, but between net7.0 and net8.0, it's around 17% faster, meaning that JIT codegen and BCL got quite improved, that's pretty cool! 😎

#dotnet

Alexandre Mutel
1 week ago

Reverse engineering natively-compiled .NET apps from Michal Strehovsky from the .NET Runtime team https://migeel.sk/blog/2023/09/15/reverse-engineering-natively-compiled-dotnet-apps/ #dotnet

Hey #dotnet people, how many users are using the dotnet SDK on your Mac?
Trying to prove a point over at https://github.com/dotnet/sdk/issues/23165#issuecomment-1720095077 /cc @khalidabuhakmeh @simoncropp @jchannon

Maarten Balliauw
1 week ago

The `JetBrains.Annotations` package can improve #aspnetcore code completion and navigation for folks using your code! 🔮

Check this post by @khalidabuhakmeh and add some quality-of-life improvements for those using your in-house #dotnet framework or OSS library.

https://jb.gg/t601c4