Questions tagged [.net-5]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
2 answers

Configure lazy and non lazy DI for automapper

I have the following code to register the dependency injection for automapper: ...
Pete's user avatar
  • 641
1 vote
1 answer

Performance optimisations using Span<T>

For parsing astronomical datasets (mostly images) I have written a parser that reads .fits files in C# .net5.0. The content part of the file basically constists of a blob (byte array) that holds all ...
RononDex's user avatar
  • 185
1 vote
2 answers

Using multithreading to send multiple emails

I'm trying to send any number of emails in the shortest amount of time using .NET 5.0? I've been playing with something like the following but I am not sure if it is optimal or even correct as there ...
Jonathan Wood's user avatar
1 vote
1 answer

Best practices in regards to pass and deserialize data, when calling an API endpoint from a MVC-project?

In my application, I only show users their own data. For that, I need to know in the backend, which user is requesting data. I use the username for that and therefore, I need to send the username as ...
thesystem's user avatar
  • 113
3 votes
1 answer

A versatile deck of playing cards. Standard 52-card deck and more

I have seen many posts regarding a standard 52-card deck of playing cards. I recently was composing an answer to one such post when I realized my answer should be its own post since (A) the answer ...
Rick Davin's user avatar
  • 6,277
2 votes
2 answers

Dapper with shops and payers

I live in the buildings that have 50 people in it and for each floor splits into 2 groups each group is from ~9 people. I'm trying to build an Xamarin app (IOS, ANDROID ,Win10,maybe web app) to make ...
rynex akil's user avatar
4 votes
1 answer

FtpEasyTransfer - .NET5 Worker Service for Easy FTP Sync'ing

I've created a simple worker service, which uses FluentFTP to sync either files or directories from one ftp client to another, or simply to a local machine, depending on how appsettings.json is ...
Brickscrap's user avatar
5 votes
2 answers

Sobel Operator - SIMD x86 Intrinsics Implementation

I'm learning C# .NET 5 Intrinsics and interested in best practices. It's really hard now to find enough information about how SIMD instructions (logically/internally) work in .NET. In addition i'm not ...
aepot's user avatar
  • 2,009