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
Context Our team is developing a solution mainly composed of several microservices relying on ASP.NET Core. We have decided that the simplest and most cost-effective solution would be for service...
Context I was tasked with developing a way to consume RabbitMQ messages that have various priorities (actually different levels of QoS). My restrictions are: high priority messages should have ...
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...
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...
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...
The current project I am working on consists of a bunch of microservices (Web APIs) accessible only internally using Entra ID (formerly Azure ID). To simplify the development, all services expose ...
The main issue with your approach is that, in some cases, you execute a lot of queries to fetch the data. When working with SQL (regardless of relational flavor), you must aim from a set-based appr...
Manually editing the .fsproj file followed by dotnet build worked because some dotnet commands have an implicit restore. I think this is the fastest way to add a dependency when you know its versio...
Important note: this is primarily based on personal fairly long experience with monolithic architectures and limited microservice-based architecture combined with others' experience with microservi...
Note: I have limited experience with PostgreSQL, but extensive experience working with SQL Server, so not everything below might apply to PostgreSQL. I have a large and complex PostgreSQL query ...
Yes, but with some notes I think this a good idea, but we will need to provide more details and agree on some details. A tag must be named appropriately, considering Tag naming guidelines. ...
Another reason could be to allow to perform the merge without auto commit and no fast-forward: git merge the_branch --no-commit --no-ff This allows reviewing the merged changes before they are ...
I don't think it is inappropriate for someone to mark their own answer "Works for me" on self-answered questions, but it feels a little bit redundant since the answer is expected to work for the po...
Stack Overflow has recently announced OverflowAI and I think this video summarises pretty well this. The main drawback is that the users are less incentivized to put effort into answering questions...
Yes Quick starting with an API is definitely ontopic and especially helpful for newbies who struggle to understand the "spirit" of that API. Even if nobody else from the community is into Google ...
Context I have started working on an Angular upgrade for a medium-sized project (from v. 10 to v. 15) and this is a rather long activity that is interrupted by other changes that need to be perfor...
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 ...
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+...
I agree with Dirk Herrmann's answer about this: What if a question is beginner level? I would say: Someone should answer it. Some of the beginner level questions on stackoverflow have rece...
A friend is involved in rewriting a distributed software application and while discussing the architecture, we noticed that in many cases the messages had duplication between headers and payload. ...
I did not find the exact cause of your issue, but inserts should not be treated as updates. One way to do this is the following: static void InsertPost(Post post) { using var context = new B...
We have recently received a search engine optimization (SEO) question. Our scope currently does not explicitly include or exclude such questions, so I thought we should clarify this. Possible opt...
Context I noticed that an application was flooding the database with simple SELECTs. The investigation revealed some bugs in the health check which theoretically implemented caching (to avoid quer...
What you want would be called DbSet<>.Find() combined with eager loading of the related entities. According to the docs, eager loading is not mentioned and its sole purpose is to easily get a...
Note: this is inspired by the comments on this post and especially this one which mentions: We have tags for languages because people have interest or expertise in languages; likewise frameworks...