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
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
66%
+2 −0
Q&A Save migration info in separate DB schema

If you want to use a custom entity framework migration table, you can set it when configuring the database context as shown here: // this code belong to the database context class protected overr...

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

Answer
85%
+10 −0
Meta Etiquette for posting comments

This question featured a quite heated discussion in the comments which led to some of them being removed. This action was discussed here and I have realized that our community lacks a guide about p...

5 answers  ·  posted 3y ago by Alexei‭  ·  last activity 3y ago by Estela‭

Question discussion comments
71%
+3 −0
Q&A What is an example for a URI which is not a URL?

This article shows in a concise and graphical way the difference between URIs and URLs. A URI is an identifier of a specific resource. Like a page, or book, or a document. A URL is special ...

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

Answer
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
66%
+2 −0
Q&A How to break infinite loop in CTE

Estela's answer provides great insight about how to do it also in SQL Server. Unfortunately, there does not seem to be a build-in array functionality, so one way is to rely on strings as shown here...

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

Answer
66%
+2 −0
Q&A How to work with current entity changes when working with @ngrx/store and @ngrx/entity?

I am fairly new to working with @ngrx pattern in Angular which is a state management pattern relying on Reactive Extensions. One of the convenient structures is @ngrx/entity which helps with manag...

0 answers  ·  posted 3y ago by Alexei‭

81%
+7 −0
Q&A How to properly deal with impersonation in a Web application? (security vs. usefulness for tech support)

Context Our team has begun migrating a pretty old internal application and one aspect that got my attention is the impersonation. This is implemented as follows: only administrators are allowed...

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

75%
+4 −0
Q&A Not obligating http:// or https:// in a url field of a contact form

input type="url" works like this by design: An empty string ("") indicating that the user did not enter a value or that the value was removed. A single properly-formed absolute URL. This doesn'...

posted 3y ago by Alexei‭

Answer
66%
+2 −0
Q&A Submitting a form via XHR/AJAX causes partial data arrival to email inbox (only HTML without input)

I am guessing a little here. By not preventingdefault, the form will POST the data to the server. If you switch to AJAX you have to provide the body as per documentation. However, I do not rememb...

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

71%
+3 −0
Q&A How to tackle database migrations failure during application initialization on production systems?

Context My ASP.NET Core application got stuck in Production with a 5xx error. By inspecting the logs, I have noticed that a database error occurred during application initialization, namely a SQL ...

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

71%
+3 −0
Q&A Are JavaScriptless forms accessible?

As indicated by your source using (or not) JS is mostly independent of accessibility since the latter is obtained mainly through HTML and CSS. As a side note, while not using JavaScript is an opti...

posted 3y ago by Alexei‭

Answer
71%
+3 −0
Q&A PHP emails are sent when $message is a string, but not when its an array

As explained by manassehkatz, the message (aka the body) is a text in PHP (and many other programming languages). If your e-mails have a certain structure, you should create a function that takes ...

posted 3y ago by Alexei‭

Answer
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‭

66%
+2 −0
Q&A How to reason about transaction isolation during development

One way to go is probably to use some kind of transaction scope to include everything (SELECT from order and INSERT into shipment) with a high enough transaction isolation (e.g. SERIALIZABLE for SQ...

posted 3y ago by Alexei‭

Answer
86%
+11 −0
Meta Are code troubleshooting posts allowed?

Yes Questions about troubleshooting your non-working code are on-topic, provided that you include enough information for the community to understand the context (SO names this minimal reproducible...

posted 3y ago by Alexei‭

Answer
66%
+2 −0
Q&A Is it possible to disable the "mysql: [Warning] Using a password on the command line interface can be insecure" warning?

There are multiple ways to do this. Just picked two that I find more usable (not very insecure or hard to do). Use a configuration file to store the credentials mysql --defaults-extra-file=/f...

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

Answer
66%
+2 −0
Q&A How to separate DB query logic from the application other than implementing a repository on top of an ORM?

p.s. I'm not sure whether the criticism applies only to generic repositories or not. This applies to generic repositories as most of their operations (e.g. get entity by id, update the entity,...

posted 3y ago by Alexei‭

Answer
71%
+3 −0
Q&A What are the factors to consider when deciding to split ORM queries or use eager loading?

I have extensive working experience with Entity Framework ORM and have noticed two major ways of writing LINQ (LINQ2SQL): lot of eager loading: the most prevalent, uses (lots) of Includes to eag...

0 answers  ·  posted 3y ago by Alexei‭

71%
+3 −0
Meta Cannot close a question as a duplicate due to "Invalid input for other post" error

Enable text-area for comments to be resized is a duplicate of Can comment input fields be vertically scalable?. I am trying to close it as a duplicate and provide the older question link, but I re...

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

66%
+2 −0
Code Reviews C# MVVM Login Project

Things you might consider to improve your code: Use nameof instead of magic strings. Example: OnPropertyChanged("User"); can be replaced with OnPropertyChanged(nameof(User));. This allows for ...

posted 3y ago by Alexei‭

Answer
71%
+3 −0
Meta Do we need the fullstack tag?

Edit: I have removed the tag. Thanks for the feedback. I am inclined to add a "do not use" request in fullstack tag's description because it is quite vague. What do you think about it?

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

71%
+3 −0
Q&A How to manage views and stored procedures in an ASP.NET Core project?

I am slowly modernizing an older ASP.NET Core Web API and one of the steps involved migrating from database first to code first. Now, all schema changes and seeding is covered by migrations which ...

0 answers  ·  posted 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 3y ago by Alexei‭  ·  last activity 3y ago by Derek Elkins‭