CARVIEW |
Select Language
HTTP/2 200
date: Wed, 30 Jul 2025 10:28:49 GMT
content-type: text/html; charset=utf-8
cf-ray: 96742be00edc25e0-BLR
cf-cache-status: DYNAMIC
cache-control: private
set-cookie: prov=6cd31e99-31f7-4993-9536-e106634428eb; expires=Thu, 30 Jul 2026 10:28:49 GMT; domain=.stackexchange.com; path=/; secure; httponly
strict-transport-security: max-age=31536000; includeSubDomains
vary: Accept-Encoding
content-security-policy: upgrade-insecure-requests; frame-ancestors 'self' https://stackexchange.com
x-clacks-overhead: GNU Terry Pratchett
x-frame-options: SAMEORIGIN
x-request-guid: e59bb75a-afd3-4e42-8076-fd7dbdf990d8
x-worker-origin-response-time: 474000000
x-dns-prefetch-control: off
set-cookie: prov=6cd31e99-31f7-4993-9536-e106634428eb; Path=/; HttpOnly; Domain=stackexchange.com
set-cookie: __cf_bm=hynZjc6DflXBr.9avbfIgglD6WPGY8KNvwqYGqeGZnA-1753871329-1.0.1.1-99xTmhD3bv00MZLy5e3Zgc5sZQ6jAiwz_fDfjE1dGunPLAk.QeXf3pZMyTp75t9S6G66g.LdR.LW6agoEaojNKx2atvOm6Rkl8cfAKzEPBI; path=/; expires=Wed, 30-Jul-25 10:58:49 GMT; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: _cfuvid=M59Fp93g1MpV5KQ5jxAYn7b2.Nk0oTK4Oc19KJA.YtI-1753871329774-0.0.1.1-604800000; path=/; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
server: cloudflare
content-encoding: gzip
Newest '.net-core' Questions - Code Review Stack Exchange
Skip to main content
Stack Exchange Network
Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange
The 2025 Developer Survey results are in. Explore insights into technology and tools, careers, community and more.
View results.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about TeamsQuestions tagged [.net-core]
.NET Core is an open-source, modular implementation of the .NET Framework. It can be used in a wide variety of applications and verticals, ranging from servers and data centers to apps and devices. .NET Core is supported by Microsoft on Windows, Linux and macOS.
90 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
2
votes
1
answer
135
views
Simple priority task scheduler implementation
My project I am working on requires the following functionality for the processed messages:
each message has a priority
messages with higher priorities should have precedence over the ones with lower ...
1
vote
2
answers
454
views
Thread-safe int wrapper in c#
My system is a .NET Core 7 console app, which starts some background threads. I need to pass some int values (counters, etc.) between the main and background ...
1
vote
2
answers
100
views
4
votes
2
answers
153
views
Classes are using interface to send different messages to a console in C#
This is a follow-up of my thread in Class SettingView sending messages to a console in C#.
Here is the whole project on GitHub.
The starting point
After attending ...
1
vote
2
answers
203
views
Class `SettingView` sending messages to a console in C#
My challenge is to transfer examples from textbooks or videos into something I am coding on my own.
Environment
Visual Studio 2022
Net 7.0
ConsoleApp
My goal
My idea is to have a solution to provide ...
3
votes
3
answers
637
views
Algorithm to find sequential ID gaps in List<long>
I had to develop an algorithm that will find gap between sequential Ids within a List<long>.
For example as input we had the following ...
2
votes
1
answer
5k
views
HttpClient retry handler on response 429
When the remote server returns a 429 (Too Many Requests) response with the Retry-After header, the HttpClient can handle such cases with a handler:
...
4
votes
2
answers
244
views
Automating the process of determining which boxes to load on each flight for freight company
I was given a test assignment for the interview of the company and below is the code that I shared with them. I developed it using .NET 6 (Core) Console application.
Actual problem statement:
Coding ...
1
vote
1
answer
166
views
Azure DevOps Git: Fork into another Repo using Azure DevOps REST API
In my Azure DevOps Project, I have a Git repository that I would like to copy to another Azure DevOps Project.
In other words, I should be able to copy the original repo into other Azure DevOps ...
3
votes
2
answers
665
views
3
votes
1
answer
296
views
Export and import work items from Azure DevOps
I'm working on an application that exports and imports work items from Azure DevOps. To import work items into Azure DevOps, I have written the following code.
Would you be able to review and make ...
2
votes
1
answer
2k
views
.Net Core 6.0 : Entity Framework - Either Or / Neither Nor / Both in Where clause
I am building a .Net Core 6.0 application that uses Entity Framework.
I have situation where I need to apply the filter(Where clause) based on two properties (eg: Guid? skillType, string skillName). ...
0
votes
0
answers
783
views
Hangfire context constructor injection
I tried following IHttpContextAccessor pattern but for Hangfire context. What I'm mostly interested in is CustomScope class with Resolve method. I'm using ActivatorUtilities there because otherwise I ...
3
votes
2
answers
165
views
RawSqlQuery minimizing risk of field name confusion
Is there a way to make the following code more maintainable?
...
3
votes
1
answer
363
views
EFCore Monitor Interceptor with logging queries
I created a SqlMonitorInterceptor that will check the execution time of queries and log errors. The main idea is to log queries in such a way that they can be easily copied into SQL Server Management ...
- The Overflow Blog
-
-
- Featured on Meta
-
-
Related Tags
c# × 85
.net × 15
asp.net-core × 12
performance × 5
async-await × 4
f# × 4
logging × 4
serialization × 4
generics × 3
json × 3
asp.net-web-api × 3
scheduled-tasks × 3
stream × 3
asp.net × 2
algorithm × 2
beginner × 2
console × 2
linq × 2
design-patterns × 2
multithreading × 2
more related tags
Hot Network Questions
- Can I bring mycelium pellets into Greenland?
- Why did many arcade games have separate sound CPUs?
- VMWare, SAN, SSD, Influence of the fill level on the performance of a virtual hard disk
- Hybrid centrifuge module for an interstellar spacecraft
- Should I regularly reapply thermal paste?
- How many possible MD5 hashes are there, 16³²? Or do MD5 checksums have error correction (in which case <16³² possible hashes)?
- Looking for a piece of writing that describes the head of Michelangelo's David floating in space
- On Debian, XFS, I can edit a file of another user with permissions 644 without ACL
- Can I combine 2 car reservations on adjacent dates with Hertz?
- How to get the index of a point with specific attribute values (using geometry nodes)
- What is known about the third time derivate of the expansion of the Universe?
- How loud were the top-of-the-range propeller aircrafts like the Lockheed Constellation when commercial jet travel appeared?
- Does Christianity recognize different types of knowledge of God?
- Expected Value of Squared Area of Triangle Formed by Random Points on a 5×5 Grid
- Appendix: Section header and content on different pages - Article class
- Is Samson referred to/mentioned in the siddur/liturgy?
- How to speed up this NIntegrate which is calculated many times?
- Electrician ran neutral and ground to the same bar, and is telling me it's common practice. Pictures show my main and sub. Is he right?
- Golden-section optimization with complication
- Why not use the "age" tool for encrypted backups?
- Reason why golems do not run on wheels
- Expected Cards Left When One Color Is Exhausted
- How Does Code Reuse Work at NASA
- In Euclid's Elements, Book I, Proposition 47, Interpretation in terms of areas