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
66%
+2 −0
Q&A How to create fire and forget tasks Q&A in ASP.NET Core with dependency injection support?

The way I made this work is not very quick but might provide extra benefit in the future. I have added Hangfire support to the application and use its BackgroundJob enqueuing mechanism as follows: ...

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

Answer
66%
+2 −0
Q&A How to create fire and forget tasks Q&A in ASP.NET Core with dependency injection support?

One of the legacy applications our team manages contained the following pattern (in the controller): // initialization private readonly IServiceScopeFactory _serviceScopeFactory; public FooCon...

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

66%
+2 −0
Q&A How to deeply clone an array in Angular / TypeScript?

These can be achieved in several ways, but there might be some drawbacks: through JSON serialization/deserialization: const cloned = JSON.parse(JSON.stringify(array)); The advantage is that ...

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

Answer
77%
+5 −0
Q&A How to deeply clone an array in Angular / TypeScript?

I have an array that I need to clone in Angular / Typescript. That is, any change done on an element from the cloned array should not affect the content of the initial array. How can I achieve thi...

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

77%
+5 −0
Q&A Using nested paths vs. flat ones for API resources

This is based on a code review discussion that I had with a colleague about the way I have designed the resources paths for an ASP.NET Core controller that is currently consumed only internally (by...

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

Question rest api-design
80%
+6 −0
Q&A Can I set a memory limit for the .NET Core garbage collector to collect objects more aggressively?

I have an ASP.NET Core 5 web application that provides functionality that involves file upload + rather large processing (memory consumption mainly). After each processing (with success or not) the...

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

71%
+3 −0
Q&A Tracking what users are searching in a content management system

Server-side solution If you can customize the server-side search functionality, you could add some logging information there. The advantages in this case are: store the data in a useful format ...

posted 2y ago by Alexei‭

Answer
84%
+9 −0
Meta Promoting the advantages Codidact Software has over Stack Overflow or similar communities

Note: some of these points are relevant for all communities, but I would like to focus on Software Development for now I am thinking of promoting Software Codidact, but I could not find a single p...

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

75%
+4 −0
Meta How to promote Software Development Codidact on LinkedIn?

I have recently blown off the dust off my LinkedIn profile and I have realized that I have hundreds of connections. An important fraction of all these connections are into software development and ...

0 answers  ·  posted 2y ago by Alexei‭

75%
+4 −0
Meta Question templates for guidance

I am wondering if it makes sense to define a template for questions. This would act as a guideline rather than a strict template to be followed. I have seen this being used for GitHub issues and I...

0 answers  ·  posted 2y ago by Alexei‭

71%
+3 −0
Q&A Transferring files from a legacy project to an existing one as varbinary

Our team is currently transferring all functionality (+ some changes) from small and very old project A (almost code freeze) to project B (actively developed). As part of the data migration, there ...

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

77%
+5 −0
Q&A Dealing with GETs with long query strings in ASP.NET Core

One of the recent business requirements is to be able to search through a list of entities using a bunch of filters. Most of these filters allow multiple values and the user might theoretically pro...

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

Question rest query-string get
77%
+5 −0
Q&A Handling high frequency requests with cancellations in an ASP.NET Core application

Issue I have recently discussed with a friend a performance issue he and his colleagues have encountered in an ASP.NET Core 5 application (a checkout app, microservices architecture). The problem...

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

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
88%
+14 −0
Meta Why using images for code, errors, logs or similar should be avoided?

There are multiple reasons why using images of code, errors, logs and other text resources used in programming instead of the actual text is strongly discouraged. Shortly put, the question should ...

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

Answer
88%
+14 −0
Meta Why using images for code, errors, logs or similar should be avoided?

I have noticed that virtually any question containing an image of some code or error got a comment asking to replace it with the actual code, error text. Why is it so bad to include an image inste...

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

Question discussion
60%
+1 −0
Q&A What solutions available for a CMS-agnostic contact form?

Besides the aforementioned solutions, Web components might be useful (can be reused in multiple contexts). Examples: in Drupal in ButterCMS in Backdrop CMS in WordPress However, if your fo...

posted 2y ago by Alexei‭

Answer
77%
+5 −0
Meta Specify framework / library version in the answer

As Stack Exchange (Stack Overflow mostly) is struggling to deal with outdated answers, they came with a proposal that we can learn from: Version labels for answers As already most of the feedback...

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

Question discussion answers
75%
+4 −0
Q&A What are the disadvantages of using SQL Server Replication - Transactional Replication type?

The context A reports related process is directly reading the production operational database once about two hours. This involves reading all the data from some 70 tables which takes a couple minu...

0 answers  ·  posted 2y ago by Alexei‭

71%
+3 −0
Q&A Is there any justification for having a single tempdb database to be used by all databases on a SQL Server intstances?

Despite the fact that I have programmed against SQL Server for quite a while I did not pay much attention to the tempdb database. This is especially true if application logic is mostly written usin...

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

80%
+6 −0
Q&A Are there any downsides related to using Maybe or Optional monads instead of nulls?

I have recently stumbled across the Maybe (or Optional) modal usage in .NET Code: example code or this one example article Based on everything I read, there are multiple advantages on relyi...

2 answers  ·  posted 2y ago by Alexei‭  ·  last activity 2y ago by Derek Elkins‭

81%
+7 −0
Meta Why did my question get a downvote?

For me the following reasons might lead to downvoting: Posts that are not related to a specific programming issue, but are rather meant to start a discussion. Example Asking for software ...

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

Answer
83%
+8 −0
Meta Why did my question get a downvote?

Currently, there is no consensus about whether to provide tooltips for the voting buttons (especially the downvote one). However, the community now includes quite a lot of questions that attracted ...

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

84%
+9 −0
Meta Should we allow questions about installation and configuration of software development tools?

A recent flag for this question suggested that it would be a better fit for the Linux community. There is no motivation provided, but I guess it is related to the fact that most of the question and...

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

75%
+4 −0
Q&A Get the length of a slice from a multi-dimensional array

I think what you are looking for is Array.GetLength which: gets a 32-bit integer that represents the number of elements in the specified dimension of the Array.

posted 2y ago by Alexei‭

Answer