Skip to main content

Questions tagged [asp.net-core]

A free, open source and cross platform web development framework for building .NET web applications.

4 votes
3 answers
389 views

I was browsing the source code of a project and I found out when you requested the theme variables for the current theme through one of the defined helpers, the application caches the result twice. ...
Dmitry's user avatar
  • 49
0 votes
1 answer
186 views

I have a simple ASP Core based website that is connected to my local SQL Server Express, some of the third party plugins used, do have reliance on other products i.e. scheduling timers. I would like ...
KeithViking's user avatar
2 votes
2 answers
202 views

I'm facing a tricky situation that might result from a not thoroughly thought-out design, and I'm hoping to understand whether a deadlock might be a realistic cause – and if so, how to prevent similar ...
ComfortableOnion's user avatar
1 vote
3 answers
242 views

I am developing some modular libraries that contain common APIs, data, and functionality. One of the core assumptions to these libraries is you would use which you want to compose your project, but ...
SventoryMang's user avatar
3 votes
1 answer
612 views

I'm starting a new project and I want to follow a Clean Architecture(ish) approach. I've modeled my projects in that manner (attached diagram). For the API I'm using FastEndpoint since I like it, it'...
developer82's user avatar
-2 votes
1 answer
300 views

I'm working on an ASP.NET Core application that requires handling multiple types of a single entity. Each type has its own properties and validation rules, which has led to confusion and complexity in ...
Marko Sami's user avatar
0 votes
1 answer
377 views

I'm working on an ASP.NET Core application that uses Identity for user management. I have an AccountService with a Register function, where I accept a RegisterBaseDto that contains the role ...
Marko Sami's user avatar
-1 votes
3 answers
243 views

What is the best way to go about creating an app that waits for a long time before running a task? Let's say I need my application to wait for 1 year and be precise to the second, what would be the ...
iKingNinja's user avatar
1 vote
2 answers
1k views

I'm working on an MVC application using C#/asp. The project is following an n-tier architecture style with a separate data layer, domain layer and presentation layer. My question is related to the use ...
AnabolicMike's user avatar
2 votes
5 answers
409 views

A couple days ago I asked about the Purpose of async/await in web servers, and got in-depth answers explaining how in fully asynchronous code, it frees up the CPU completely while also releasing the ...
Medinoc's user avatar
  • 385
23 votes
4 answers
9k views

I don't understand why I keep seeing async/await recommended (or sometimes, even enforced) for ASP.NET Core web applications and APIs. As far as I can tell, every request is already being run on a ...
Medinoc's user avatar
  • 385
4 votes
2 answers
2k views

The usual advice for using EF Core in a web application is to use a scoped DbContext per HTTP request. This is even the suggested default for web application in the Microsoft documentation. I recently ...
Mad Scientist's user avatar
-1 votes
3 answers
339 views

Background: I work on a small group (5-10) of lightly used .Net web applications. The applications typically have dedicated databases, but there are instances of an application accessing another ...
jessiebot's user avatar
0 votes
1 answer
277 views

We are implementing an application by trying to follow the Clean Architecture template for C#. Our application is an ASP.NET core web api and we want to implement the observability for that ...
Enrico Massone's user avatar
0 votes
1 answer
184 views

I'm creating a web application with Asp.Net Core MVC, and I've replaced Entity Framework with a custom data store. I've decided to use Dapper, but have never used it prior to this project. So I'm ...
eaglei22's user avatar
  • 147

15 30 50 per page
1
2 3 4 5
15