Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Posts by Alexei‭

212 posts
50%
+0 −0
Q&A Working with a generic class that uses a type that should be of generic type

I have followed Nick Chapsas' tutorial to avoid throwing a ValidationException to treat validation errors and instead rely on LanguageExt.Common.Result<> from LanguageExt library. I have ma...

0 answers  ·  posted 2y ago by Alexei‭

Question c# generics .net .net-6
50%
+0 −0
Meta Renaming GNU/Linux tag to gnu

I have noticed that we have several questions tagged with GNU/Linux. I would like to rename this tag to gnu to reflect what seems to be the canonical name and also be consistent with tag naming (a...

2 answers  ·  posted 2y ago by Alexei‭  ·  edited 2y ago by Alexei‭

Question discussion tags
50%
+0 −0
Q&A How to define Polly policies when working with Refit library in ASP.NET Core?

Note: this is based on my question on SO and subsequent activity there I am trying to add resilience using Polly to HTTP calls that are performed using Refit library. I am using the Refit factory...

1 answer  ·  posted 2y ago by Alexei‭  ·  last activity 2y ago by Alexei‭

50%
+0 −0
Q&A How to define Polly policies when working with Refit library in ASP.NET Core?

Refit allows such configuration out of the box bt using AddRefitClient (which resembles the well-known AddHttpClient). This indeed requires explicit configuration for the HttpClient, but the config...

posted 2y ago by Alexei‭

Answer
50%
+0 −0
Meta interface and interface-type tags

Yes, I have added that tag. I tried to create a tag to match the "interface when working with objects" concept. I am not happy with interface-type because it suggests typeof(ISomeInterface), but I...

posted 2y ago by Alexei‭

Answer
50%
+0 −0
Q&A How to inject environment configuration values when deploying an Angular application in Kubernetes or similar infrastructure?

Note: this is mainly based on Build your Angular App Once, Deploy Anywhere article. Read this article, especially the drawbacks section. The basic idea is to create and read a configuration file t...

posted 2y ago by Alexei‭

Answer
50%
+0 −0
Q&A How to move Rancher Desktop virtual disk file to another location?

I am using Rancher Desktop as an alternative to Docker Desktop. After using docker for a while I have noticed that C:\Users\user\AppData\Local\Docker\wsl\data\ext4.vhdx has grown quite a bit (20GB+...

1 answer  ·  posted 1y ago by Alexei‭  ·  last activity 1y ago by Alexei‭

50%
+0 −0
Q&A How to move Rancher Desktop virtual disk file to another location?

It seems that the file can be moved if rancher data is exported unregistered from WSL and reimported in a new location. The process is very similar to the one used for Docker Desktop. Example for ...

posted 1y ago by Alexei‭

Answer
50%
+0 −0
Q&A Does Socket.AcceptAsync throw SocketException for any transient reason?

The source code for the Socket.AcceptAsync class seems to be this one. The relevant code (the one related to exceptions being raised) is the following: private bool AcceptAsync(SocketAsyncEventAr...

posted 11mo ago by Alexei‭

Answer
50%
+0 −0
Code Reviews Azure Service Bus queue message consumption in an ASP.Net Core 6 application

My team is introducing Azure Service Bus consumption into the solution and we have developed an implementation that we want to act as a model for other services in the future. It is split in two p...

0 answers  ·  posted 9mo ago by Alexei‭  ·  edited 9mo ago by Alexei‭

50%
+0 −0
Code Reviews Time measurement in an ASP.NET Core application

My team introduces lots of time measurements for various code sections that might take longer than expected in a real-life flow. These rely on initializing a StopWatch, getting the elapsed time an...

0 answers  ·  posted 8mo ago by Alexei‭

40%
+0 −1
Q&A How to mock LazyCache when performing unit testing?

A few of my services rely on LazyCache and they use it by injecting IAppCache. For unit testing, I would like to mock this. I have found MockCachingService, but it does not do any caching (as spec...

1 answer  ·  posted 3y ago by Alexei‭  ·  last activity 3y ago by Alexei‭