menelion, to dotnet
@menelion@dragonscave.space avatar

Hello fedi, any #DotNet and #NuGet experts here please?
I'm trying to prepare a NuGet package where I need to bundle a folder with a DLL and some accompanying files. Everything is good, the nupkg file is created, the folder is there (I can clearly see it with 7-zip). However, when installing the package, the folder is again there in the NuGet global cache, but not in the project where I install it!
I even asked a StackOverflow question [1] about it, but still no dice. Any thoughts please? Thanks!
[1]:https://stackoverflow.com/questions/78582554/

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

If you’re working on with in , you'll notice that the VCS dropdown shows you if the current branch is tied to a PR and allows you to open it in the tool window. Cool!

khalidabuhakmeh, to CSharp
@khalidabuhakmeh@mastodon.social avatar

I updated the #aspnetcore Hydro sample to use #entityframeworkcore for anyone interested in seeing the sample with a persistence layer implemented.

It’s pretty nice, actually, especially with #csharp 12 features.

#dotnet

https://github.com/hydrostack/hydro-todo/pull/2

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

The VCS integration in #JetBrainsRider is so awesome. If you find a file in your commit window you need to ignore, you can just right-click and "Add to .gitignore”. No more tracking down the file and figuring out where to put the line. #dotnet #git #vcs #software #development

rafaelldi,
@rafaelldi@mastodon.social avatar

@khalidabuhakmeh Cool! I didn't know that

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

I may be late to the party here, but this Hydro project looks very cool.

https://usehydro.dev/

cc @alexzeitler

alexzeitler,
@alexzeitler@mastodon.social avatar

@khalidabuhakmeh The right level of abstraction for me still is MVC + HTMX.

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@alexzeitler I agree.

J_aa_p, to dotnet Dutch
@J_aa_p@mastodon.social avatar

Announcing the official OpenAI library for .NET

"At Microsoft Build 2024, we announced new investments that expand the AI ecosystem for .NET developers. We’re excited to share more detailed plans around Microsoft’s collaboration with OpenAI on their official .NET library."

https://devblogs.microsoft.com/dotnet/openai-dotnet-library/

#dotNET #OpenAI #Build2024 #ChatGPT #Azure

Ciantic, (edited ) to CSharp
@Ciantic@twit.social avatar

C# 13 is adding the ability to make extensions properties, this means we can build a scientific units library or financial units library with the nice syntax:

(15.mm + 12.inch) / 12.sec

or

(15.eur + 1200.dollars) / 12.months

Will be (most likely) a valid syntax by adding extension properties mm, inch, sec, kg for integers.

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

vekzdran, to dotnet

I enjoy Rick Strahl’s contributions and blogs related to . But, did you know he fucking owns punk rock music: https://spotify.link/KMU4EeUKbKb

@rickstrahl respect ❤️

khalidabuhakmeh, to CSharp
@khalidabuhakmeh@mastodon.social avatar

I still don’t understand why extension method implementations are limited to static class containers. #csharp #dotnet

maxitb,
@maxitb@mastodon.social avatar

@khalidabuhakmeh The idea was that you have extension isolated properly from "actual" types and obviously static class allow for additional compiler optimizations. You have also to explicit reference their namespace for proper scoping. I always found it stupid in general, they could have achieved the same with a new keyword and the IL type ends up being a static class with this becoming the first argument in methods. But I guess it was cheaper to implement like that back then.

danschnau,
@danschnau@mastodon.social avatar

@khalidabuhakmeh that never really made sense to me either, but I guess I assumed there was a good reason for it.

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

Hey and @avaloniaui folks. We're looking for happy users who want to give a testimonial for each technology.

If you're interested, please DM me. Boosts appreciated.

Hinnerk,
@Hinnerk@mastodon.social avatar

@khalidabuhakmeh First looked at Rider when MS abandoned VS on Mac. Now using it 100% for Maui and Blazor projects over a couple of month. There was a bit of friction from muscle memory but so far I am missing nothing. If you have questions I am happy to provide experience from the transition.

sinkinstar,

@khalidabuhakmeh @avaloniaui happy to contribute for MAUI if you are still shopping.

nietras, to dotnet
@nietras@mastodon.social avatar

"Automate your .NET SDK updates for consistent and reproducible builds with global.json and Renovate"

https://anthonysimmon.com/automate-dotnet-sdk-updates-global-json-renovate/

#dotnet

nietras, to dotnet
@nietras@mastodon.social avatar

New blog post "Phi-3-vision in 50 lines of C# with ONNX Runtime GenAI"
👇
https://nietras.com/2024/06/05/phi-3-vision-csharp-ortgenai/

Phi-3-vision is multi-modal and supports image + text inputs.

#dotnet #csharp #LLM #AI

video/mp4

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

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

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 livestream and see how to improve your workflows and build custom UIs for your designers with a few attributes thanks to .

🙏 Boosts appreciated

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

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

#CSharp #DotNet

ggmueller,
@ggmueller@mastodon.social avatar

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

Works very good for backend development, deploying via #Docker

#JetbrainsRider is my IDE of choice on Linux.

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