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‭

211 posts
60%
+1 −0
Q&A Best practices for business versioning within Web APIs

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...

0 answers  ·  posted 3d ago by Alexei‭  ·  edited 3d ago by Alexei‭

60%
+1 −0
Code Reviews Message consumption with priorities and consumer error handling using EasyNetQ library

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 ...

0 answers  ·  posted 27d ago by Alexei‭  ·  edited 27d ago by Alexei‭

60%
+1 −0
Q&A What software architecture are available for developing an application with multiple business domains that only share some common aspects?

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...

posted 6mo ago by Alexei‭

Answer
60%
+1 −0
Q&A Alternatives to `EXPLAIN ANALYZE` for queries that won't complete

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 ...

posted 7mo ago by Alexei‭

Answer
60%
+1 −0
Q&A Updating the database reverses previous changes

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...

posted 1y ago by Alexei‭  ·  edited 1y ago by Alexei‭

Answer
57%
+2 −1
Meta Should we rename urlrewrite tag to url-rewriting?

How do I get IIS UrlRewrite to handle CSS-delivered woff files appropriately? is the only question currently using urlrewrite tag. However, for future questions I would like to have a more general ...

0 answers  ·  posted 3y ago by Alexei‭

Question discussion tags
57%
+2 −1
Q&A How can I reduce the size of .svn folder?

Note: This question and its answer are an aggregate of the most up to date information about this topic from here. I have noticed that .svn folder has grown a lot and I want to reduce it. How can ...

1 answer  ·  posted 3y ago by Alexei‭  ·  edited 3y ago by r~~‭

Question svn size
54%
+4 −3
Meta How are we supposed to give feedback for poor questions if such comments are deleted?

Providing feedback can be done using comments. However, these comments are supposed to add constructive criticism and/or links to relevant resources. Your first comment does exactly this and it is ...

posted 3y ago by Alexei‭

Answer
50%
+3 −3
Meta Questions easily answered by studying a beginner-level book

I would have a separation between what is on-topic / offtopic and what is worth upvoting or downvoting. Thus for the specific case of questions showing no research, but are on-topic, I would consi...

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

Answer
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
Q&A How to migrate NLog configuration from XML file(s) to application settings (JSON)?

FreeFormatter resource mentioned in the question is useful and I could use the output as a base for getting to a working configuration. All the changes were manually performed. - enable throw conf...

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

Answer
50%
+0 −0
Q&A How to migrate NLog configuration from XML file(s) to application settings (JSON)?

I have just created an ASP.NET Core 6 application and added NLog support for logging: NLogBuilder.ConfigureNLog("nlog.config").GetCurrentClassLogger() However, this API is almost deprecated as ...

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

50%
+0 −0
Q&A How to get rid of HTML tags and convert entities in SQL Server?

One way is to create a scalar function that takes an NVARCHAR(MAX) input and performs the following operations: replaces frequent tags with they plain text equivalent (e.g. <br> with chars...

posted 2y ago by Alexei‭

Answer
50%
+0 −0
Q&A How to get rid of HTML tags and convert entities in SQL Server?

I have to migrate a bunch of text from an old application into a new one. Some of these texts contain HTML tags and entities (HTML editor was used) and now they do not want to support this in the n...

2 answers  ·  posted 2y ago by Alexei‭  ·  last activity 2y ago by gbjbaanb‭

Question html sql-server
50%
+0 −0
Q&A Migrating HTML strings to a more secure alternative

Our team will have to migrate an old application to use a new tech stack. One of the features involves the usage of HTML editors which serialized the content as HTML and I am able to see valid HTML...

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

Question html markdown
50%
+0 −0
Q&A How to mock LazyCache when performing unit testing?

LazyCache provides CachingService as a concrete implementation of the IAppCache. When unit testing simply instantiate the tested service using CachingService: var testInstance = new FooService(ne...

posted 2y ago by Alexei‭

Answer
50%
+0 −0
Meta console.readline tag does not look good to me

I have created this tag because reading lines from the standard input stream is a basic task found in many programming languages. I have also noticed that the tag exists on SO, but this is only to ...

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

Answer
50%
+0 −0
Q&A Is there any breaking change in regard to TrustServerCertificate property of System.Data.SqlClient for .NET 5?

I think I have found the cause of this issue: Changes default behavior of driver to not validate server certificate if client did not request encryption with "encrypt=true" but encryption was en...

posted 3y ago by Alexei‭  ·  edited 3y ago by Alexei‭

Answer
50%
+0 −0
Q&A Is this a known design pattern: a piece of code is responsible for acting as a central proxy for data distributed in various places?

General information As indicated in the comments you are looking for something similar to the Facade pattern. It is still not clear what you are trying to achieve, but the X class seems that it wi...

posted 3y ago by Alexei‭

Answer
50%
+0 −0
Q&A How much memory is allocated for a MySQL VARCHAR variable in a stored procedure?

This answers your questions, not what I suspect to be real issue. According to the specifications a VARCHAR(100) will need actual data stored length + 1. So, the actual size would have mattered if...

posted 3y ago by Alexei‭

Answer
50%
+0 −0
Q&A How to automatically run Entity Framework Core migrations for an application which uses a user with read/write rights on certain tables?

Migrations are applied during the application startup (initialization) only when the application is not accessible yet. One way to go is to leave the existing user as it is and define a designated ...

posted 3y ago by Alexei‭

Answer
50%
+0 −0
Q&A How can I add "withCredentials:true" for HTTP requests generated by Swagger UI?

One way to solve this without customizing the Swagger UI is to deal with it on the server side. The following assumes that the swagger docs is served at /swagger relative path. Middleware /// &lt...

posted 3y ago by Alexei‭

Answer
50%
+0 −0
Q&A How to create a delayed loading indicator when working with ngrx/store?

This heavily relies on this question which deals with another matter. In order to delay the loader, there must be a clear difference between the start of loaded from the caller's perspective and w...

posted 3y ago by Alexei‭  ·  edited 3y ago by Alexei‭

Answer
50%
+0 −0
Q&A How to use LazyCache library with Unity Container?

For LazyCache version 2.1.2 (maybe even earlier) UnityContainer must be instructed to call the default LazyCache constructor which probably relies on MemoryCache (default). container.RegisterType&l...

posted 3y ago by Alexei‭

Answer
50%
+2 −2
Meta Site scope - draft proposal

Based on this proposal, I have created a designated section within the Help section: What type of questions can I ask here? This can evolve over time based on feedback provided by the community.

posted 3y ago by Alexei‭

Answer