jonspark, to CSharp
@jonspark@howdee.social avatar

Is C# development still tied to Windows? It's been a very long time since I looked and I’m curious what people's preferred development environment is…?

ggmueller,
@ggmueller@mastodon.social avatar

@jonspark Been developing for 2 years exclusively on Linux (PopOS) now.

Works very good for backend development, deploying via

is my IDE of choice on Linux.

alvinashcraft, to dotnet
@alvinashcraft@hachyderm.io avatar

Building Linux Desktops apps with .NET and Uno Platform | On .NET with James Montemagno.

#unoplatform #devcommunity #dotnet #csharp #xaml #mobiledev #linux
https://www.youtube.com/watch?v=OxyJYF2HgBM&ab_channel=dotnet

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

I noticed that the library is publishing new packages again. In honor of its revival, here is a lightswitch example written in . 💡

Toggling a lightswitch workflow on and off

khalidabuhakmeh, to unity
@khalidabuhakmeh@mastodon.social avatar

This livestream will live on in the halls of Valhalla for eternity… or as long as YouTube is around.

Come join this #JetBrainsRider #Unity livestream and see how to improve your #gamedev workflows and build custom UIs for your designers with a few #csharp attributes thanks to #Odin.

🙏 Boosts appreciated #dotnet

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

jupiter, to gamedev
@jupiter@mastodon.gamedev.place avatar

How to indent? (also has switched parameter orders, part of the experiment)
(Poll in next Toot)

#GameDev #CSharp #GodotEngine

nicola, to dotnet
@nicola@fosstodon.org avatar

Today, I learned how to handle custom claims in an Open ID Connect-authenticated ASP.NET Core app.

https://nicolaiarocci.com/how-to-handle-custom-claims-in-an-oidc-authenticated-aspnet-core-app/

#dotnet #csharp #programming

alvinashcraft, to dotnet
@alvinashcraft@hachyderm.io avatar

Building .NET apps for Linux from any operating system with @UnoPlatform.

#dotnet #linux #unoplatform #csharp
https://platform.uno/blog/building-net-apps-for-linux-from-any-operating-system/

arialdo, to CSharp
@arialdo@mastodon.online avatar

Apparently, the fastest way to check if an enumerable contains at least 2 elements in #csharp is:

xs.Skip(2).Any()

Unbelievably faster than:

xs.Take(2).Count() == 2

or a foreach list with a counter.

infoq, to CSharp
@infoq@techhub.social avatar

#CSharp 13 is here in preview!

Microsoft unveils notable updates including params parameter improvements, new extension types, and several performance and memory enhancements.

Dive into the details on #InfoQ 👉 https://bit.ly/4aHKuQJ

#dotnet #dotnetCore

bradwilson, (edited ) to dotnet
@bradwilson@mastodon.social avatar

This is super duper extra important.

C# Nullable Reference Types are a compile-time thing, not a runtime thing. "string?" and "string" are both just "string" at runtime.

This means:

  • Always guard against your users passing null even for types that shouldn't allow it, because it's not a runtime guarantee.

  • You can't create overloads that differ only on nullability (i.e., Method(string) vs. Method(string?)) because they're the same type at runtime.

Turious, to dotnet
@Turious@mastodon.social avatar

If I have a simple C# 4.8 application and I wanted to add a way to feed it instructions remotely, how would I do that? This will be a program running fullscreen that needs full control of the mouse/keyboard.

All API tutorials I can find either describe .NET Core or controller options I do not have available because this is a basic project.

#dotNET #csharp #help

andrewlock, to dotnet
@andrewlock@hachyderm.io avatar

Blogged: Blocking primary constructor member capture using a Roslyn Analyzer

https://andrewlock.net/blocking-primary-constructor-member-capture-using-an-analyzer/

In this post I describe a Rosyln analyzer you can use to enforce that primary constructors are only used for initialization and never to capture as fields

maegul, to CSharp
@maegul@hachyderm.io avatar

Iceshrimp: A fediverse platform

Was just told (by @Subversivo ) about this: https://iceshrimp.dev/iceshrimp/iceshrimp.net

are rewriting the whole thing (a JS/Node / fork) in C# with Blazor for the frontend.

Cool to see. Should handle the performance issues that have plagued the *key forks and maybe provide a new general branch of fediverse platform.

What lang/stack isn't represented on the fediverse now? C++, Kotlin?

@fediverse
@fediversenews

taurus, to Java
@taurus@thicc.horse avatar

:boost_anim_vanilla: Hi, I'm in need of employment and perhaps you or someone you know is in need of me:

I'm a software developer w/ 7 years professional experience
Mostly #Java #Kotlin #Android #Csharp
During my B.Sc. i had stellar grades.

(!) I'm only available in part time due to my health

I have experience working remote.
I'm located near Hannover, DE.
CV available upon request

#fedihiring #fedijobs #forhire #getfedihired #hireme #jobs #jobsearch #jobseeker #lookingforwork #opentowork

jupiter, to gamedev
@jupiter@mastodon.gamedev.place avatar

"Final" state of the N-Body-Problem demo of my FOSS Entity-Component System, https://fennecs.tech 🦊💫

#GameDev #3BodyProblem #ScreenshotSunday #GodotEngine #Csharp

glowy simulations of 2, 3, 4, and 5 star systems, stylized in a demo for a game Engine. The title reads "N-BODY PROBLEM", and there's a logo of a fox stylized as a lightning bolt in the center. An FPS counter reads values at around 500 fps for 100 parallel simulations. A larger block of text reads: This demo showcases the power of fennecs Entity-Entity relations in solving a common ECS challenge: managing N:N relationships efficiently. The renowned 3-Body-Problem demonstrates that even slight variations in initial conditions can lead to dramatically different and chaotic outcomes in systems with three or more interacting bodies. With fennecs, multiple Entities can interact with each other seamlessly, enabling complex behaviors such as flocking, leader-following, and grouping by spheres of influence. The framework achieves this while maintaining good cache coherence, memory locality, and optimal iteration order. Each colored cluster represents a small, self-contained clique where 2, 3, 4, or 5 stars (Entities) have relationships with all other Entities within the same group, forming a distinct Archetype. All simulations coexist harmoniously and interactions are driven by the same runner passed to a single Query, ensuring each Entity is processed exactly once for each other Entity it interacts with. The two other Queries then simply integrate the calculated forces into movement and position.

minioctt, to random Italian

C’è qualche novità per il web, nell’ambiente dei giochi C# e .NET. Già la roba fatta con quelle tecnologie poteva girare da anni sul web eh, ma… non farò finta di sapere cose che non so (non uso nessuna delle due tecnologie), ma ciò che voglio dire è che i gaymers sono passati all’attacco; ora pare esserci qualche risorsa in più, tipo FNA.WASM.Sample, che fa vedere come portare a WASM un gioco fatto con FNA-XNA. 🤔️

Quindi? Beh, un’idea venuta a caso la settimana scorsa era “cosa se portassi Celeste al browser?“, ma non ho poi fatto nulla, presa da altre cose. Volevo quasi quasi iniziare stamane, ma giusto per scrupolo cerco di nuovo sul web “celeste wasm”, sia mai che la volta scorsa mi era sfuggito qualcosa. E, nell’arco di precisamente questa settimana, non so se mi hanno letto nel pensiero o spiato spacctorium, ma hanno effettivamente iniziato e finito il fottutissimo celeste-wasm. Un po’ mi rode, ma meglio così, ho più tempo per altre imprese. 🤯️

Già a dir poco godurioso, ma qualcosa da sistemare rimane, tant’è che mi sono permessa di aprire la issue #1 per consigliare compressione e streaming degli asset. Vi invito a provare direttamente su https://celeste.r58playz.dev, ma per copyright hanno fatto che gli asset sono criptati e bisogna dare un file da un’installazione di Celeste per decifrarli… se vi serve, non lo linko, ma l’ho caricato sull’homeserver come altre volte, e se ravanate lo trovate. 👾️https://octospacc.altervista.org/2024/05/25/gayming-web/

xunit, to dotnet
@xunit@dotnet.social avatar

We just shipped v2 Core Framework 2.8.1, Analyzers 1.14.0, and Visual Studio adapter 2.8.1.

Release notes:

https://xunit.net/releases/v2/2.8.1
https://xunit.net/releases/analyzers/1.14.0
https://xunit.net/releases/visualstudio/2.8.1

eldamir, to CSharp
@eldamir@hachyderm.io avatar

Today, I wasted 2 hours debugging what I thought was very odd behaviour in #csharp until I learned that async Task and async void are two very different things, and now I am very angry about async void. Was about to ban its usage entirely, but this SO article was helpful in explaining how it can be useful and not just a foot-gun

https://stackoverflow.com/questions/12144077/async-await-when-to-return-a-task-vs-void

xoofx, to dotnet
@xoofx@mastodon.social avatar

Just released https://github.com/XenoAtom/XenoAtom.Interop providing a set of low-level and modern .NET P/Invoke for several C/C++ libraries (musl, libgit2, sqlite, zlib...) 🚀

After SharpDX 15 years ago, this is probably the most advanced interop codegen I have made in the past years. 😎

Early preview! Still no doc, but lots of cool stuffs there!

cwoodruff, to CSharp
@cwoodruff@mastodon.social avatar

Stay updated with the latest network programming knowledge in #CSharp and #DotNet! 📚 Check out the new RSS feed for "Beyond Boundaries - Networking Programming with C# 12 and .NET 8" for tips, updates, and expert insights.

Follow along at https://rssviewer.app/https%3A%2F%2Frss.app%2Ffeeds%2FvKGL7EwYiW9kGoW4.xml

xoofx, to dotnet
@xoofx@mastodon.social avatar

Just updated my Vulkan bindings https://github.com/XenoAtom/XenoAtom.Interop/tree/main/src/vulkan

I have used the vk.xml registry & parsed the man docs to generate a complete Vulkan API with intellisense! 🚀

I took also the opportunity to add overloads in/out parameters, ReadOnlySpan/Spans and make optional params with default value. Lots of codegen, but that was worth it 😎

The vulkan_core.generated.cs is over 90,000 lines of C# code 🙈

Next step: Bare metal Vulkan C# NativeAOT on top of the Linux kernel + libdrm 😱

#dotnet #csharp

heaths, to rust
@heaths@fosstodon.org avatar

“Dev by a thousand cuts”

That’s often what #rustlang feels like. I started learning C in the late 80s and BASIC before that. Since then I’ve become an expert in several languages and proficient in several others. I’m an experienced #polyglot and though the rust compiler is by far the most helpful - and pushing other compilers to improve - there’s a lot of sharp edges in the grammar itself. Some other polyglots I’m getting into the language agree.

heaths,
@heaths@fosstodon.org avatar

@ekuber totally agree. But when we’re ready, I haven’t seen any good sources for guidance about perf. Flame graphs are nice, but knowing what to do first to avoid most problems - or how to fix code after finding problems - is important. #csharp, for example, has a lot of authoritative articles on performance, going into details of spans and such.

heaths, to CSharp
@heaths@fosstodon.org avatar
xoofx, to unity
@xoofx@mastodon.social avatar

Somes folks have been wondering what is happening with the .NET Modernization in Unity and the migration to .NET 8 and CoreCLR, so here is an update https://forum.unity.com/threads/unity-future-net-development-status.1092205/page-54#post-9848724 🤗

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines