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‭

216 posts
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 3y ago by Alexei‭  ·  last activity 3y ago by gbjbaanb‭

Question html sql-server
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 3y 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 3y ago by Alexei‭  ·  last activity 3y ago by Alexei‭

Question asp.net-core nlog asp.net-core-6.0 nlog-configuration
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 3y ago by Alexei‭  ·  edited 3y 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 3y 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 3y ago by Alexei‭  ·  edited 3y 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‭

Question c# asp.net-core refit polly
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 2y ago by Alexei‭  ·  last activity 2y ago by Alexei‭

Question rancher-desktop wsl wsl-2
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 2y 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 1y 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 1y ago by Alexei‭  ·  edited 1y ago by Alexei‭

Question azureservicebus event-driven
42%
+1 −2
Meta Should we merge the scope, on-topic and off-topic meta tags?

This question is based on Ooker's comment: I suggest us to merge/synonymize the scope, on-topic, off-topic tags Should we merge these meta tags? I am thinking of merging all of them into the ...

2 answers  ·  posted 16d ago by Alexei‭  ·  last activity 16d ago by trichoplax‭

Question discussion tags
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‭

Question asp.net-core lazycache unit-testing mocking asp.net-core-5.0