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
62%
+3 −1
Meta Do we really need the [tools] tag?

During my review of the posts and tags, I have seen the tools tags. It is very generic and I am sure if it is helpful. What do you think?

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

Question discussion tags
60%
+1 −0
Code Reviews Are any downsides of hiding the actual Entity Framework Core DbSets and exposing only some generic methods?

I have recently started a project based on the clean architecture principle and noticed that it did not rely on generic repositories since Entity Framework's DbSets are doing the job just fine. In ...

0 answers  ·  posted 4y ago by Alexei‭

60%
+1 −0
Meta Dealing with table tag

This question which is tagged with table tag. I am trying to find a better replacement for it since there are multiple types of tables such as HTML tables or data tables. The question seems to re...

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

60%
+1 −0
Q&A How to generate lots of hyperlinks rather fast using ClosedXML library?

One faster alternative is to use a formula to create the hyperlink. An example is provided below: public static IXLCell SetHyperLink(this IXLCell cell, string url, string text = "link") { if (s...

posted 2y ago by Alexei‭

Answer
60%
+1 −0
Q&A How to generate lots of hyperlinks rather fast using ClosedXML library?

I am using ClosedXML library to generate an Excel containing thousands of hyperlinks using cell's Hyperlink property: cell.SetValue(text).Hyperlink = new XLHyperlink(url); Such a call takes abo...

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

60%
+1 −0
Q&A Order a subcollection from linq

If you are using .NET Core 5.0 or more you should be able to write something like the following (not tested): var data = context.TblOrder .OrderBy(o => o.OrderDate) .Select(o => ne...

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

Answer
60%
+1 −0
Q&A Preloading some data at application startup as fast as possible

One way to do this is to launch a Task at application startup as soon as possible (the DI is configured). The only hard part is to make DI available in the prewarm functionality. The following imp...

posted 3y ago by Alexei‭

Answer
60%
+1 −0
Q&A Preloading some data at application startup as fast as possible

I am caching some very static information (changes once per day) in my ASP.NET Core application. This is normally done when needed ("lazy"). One such cache item is a 50K list of items that are tak...

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

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 3y ago by Alexei‭

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

I have recently an issue at work after upgrading an ASP.NET Core 3.1 application to .NET 5. It worked correctly on all environments (e.g. PreProd, Prod) when targeting 3.1, but failed on Prod only ...

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

60%
+1 −0
Meta Etiquette for posting comments

Before posting this on the help pages, I will compile the feedback in a separate answer. Generally speaking, comments should be helpful feedback and the following are not exhaustive lists. Can in...

posted 3y ago by Alexei‭

Answer
60%
+1 −0
Q&A How to enable or disable a bunch of reactive form controls?

I want to conditionally disabled or not (enabled) a bunch of reactive form controls. However, I have noticed that neither enable or disable function has a boolean parameter to nicely conditionally ...

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

60%
+1 −0
Q&A What should healthcheck of an Web API application actually check?

I have to add health checks to a rather new application (Web API, not a microservice) and I and a colleague are not agreeing about what other systems I should include in the check. This application...

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

60%
+1 −0
Q&A Is it necessary for a build server to remove node_modules before an AOT build?

I am currently dealing with an Angular application that is being deployed using an CI orchestrator and Jenkins. Jenkins job is configured to do the following (relevant steps only): fetch source...

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

60%
+1 −0
Q&A How to upgrade a recent (>= 8) Angular CLI?

Angular CLI official page indicated how to install the CLI, but provides no information about how to upgrade it. I am interested in how to upgrade the CLI.

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

60%
+1 −0
Q&A How can I can I reduce the size of a SQL Server database after being restored and massive embedded files stripped?

One way to solve this is to shrink the database and reindex all tables to fix the indexes fragmentation: DBCC SHRINKDATABASE (TheDatabase); GO -- reindexing all tables to optimize performance ...

posted 4y ago by Alexei‭

Answer
60%
+1 −0
Q&A How can I can I reduce the size of a SQL Server database after being restored and massive embedded files stripped?

My project has the following set up for the production and preproduction ("clone") environment. Production is not accessible at all for the development team, only the preproduction database. Pr...

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

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

I am working on an Angular application using ngrx and I have a loader state + reducer that is used to display a loader. However, very short AJAX calls cause a flicker and I need to delay showing th...

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

60%
+1 −0
Meta What is our policy on tags?

Thanks for raising this question. My answers to your questions: What type of tags will we allow? (Should specific tags like [UrlRewrite] be allowed?) I am not sure what is the best way to deal wi...

posted 4y ago by Alexei‭

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

I want to use LazyCache and UnityContainer together in an ASP.NET classic application (.NET framework 4.6.1+). Namely, to be able to inject IAppCache in various services. For ASP.NET Core and its d...

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

60%
+1 −0
Code Reviews Cache data using Redis Cache in an ASP.NET Core 3.1 project

This is an unanswered code review request of mine from Code Review Stack Exchange. Overview I have developed a small ASP.NET Core 3.1 Web API that provides information that is rarely changed (sever...

0 answers  ·  posted 4y ago by Alexei‭

60%
+1 −0
Q&A How to calculate how much data is stored in a MySQL column?

The reference indicated by ‭jcsahnwaldt‭ indeed specifies the space required by VARCHAR columns, namely (L = string length): L + 1 bytes if column values require 0 − 255 bytes, L + 2 bytes if valu...

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

Answer
60%
+1 −0
Q&A What is the rationale of having Cascade as a DeleteAction in EntityFramework.Core?

After toying a little more with Delete actions for referentials, I think the rational of having the CASCADE DELETE as default is the following: having to DELETE the children before the parent is ...

posted 4y ago by Alexei‭

Answer
60%
+1 −0
Q&A What is the rationale of having Cascade as a DeleteAction in EntityFramework.Core?

I have noticed some time ago that Entity Framework assumes a CASCADE behaviour (implicit value, if not specified) for referential constraints (FKs) when deleting items. This means that by default, ...

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

60%
+1 −0
Q&A In MySQL, is it possible to disable triggers for only certain queries or users?

First of all, it seems that Mysql does not allow to disable triggers. One way would be to set a session variable which can be checked in each trigger. This still incurs some overhead (trigger is st...

posted 4y ago by Alexei‭

Answer