All Questions
Tagged with .net-core entity-framework
7
questions
0
votes
1
answer
254
views
Processing large number of messages in a thread-safe manner
I have the following use case and would like to implement it in a thread-safe manner. Think of a Stack Overflow-like web application.
Somebody upvotes a question.
A new event is sent to the message ...
2
votes
2
answers
1k
views
C#: Use Double Await Cause Issues?
We have Application service Method, which extracts data from SQL database using Entity Framework Core .
Its Async method along with the Async Controller.
Service:
public async Task<IEnumerable<...
0
votes
0
answers
512
views
Net Core: Solutions to Update History Tables in Application Design
Our company did not properly design Address Record Code Module. Developers are updating Address SQL table with Multiple Service Methods, and are not updating AddressHistory Sql table. They're asking ...
0
votes
0
answers
179
views
Real-time application and RDBMS bottleneck
I'm currently developing a real-time application using .NET Core 2.2. Many IOT devices (could be up to 100) are concurrently sending messages via MQTT. These messages are parsed, elaborated to extract ...
6
votes
2
answers
4k
views
Should AutoMapper be used to Map from ViewModel back into Model?
Should AutoMapper be used to take data from ViewModel and save back into a database model?
I know the opposite practice is good software practice: to have Automapper to extract database models, and ...
2
votes
1
answer
2k
views
Table Per Concrete Type in Entity Framework Core
I'm trying to port code from entity framework 6 (EF6) to entity framework core 2.0 (EF-Core) and have ran into a dead end.
In my EF6 code, I have a base class called Record which defines the base ...
5
votes
2
answers
3k
views
should I create dbContext for my models or use existing ApplicationDbContext?
I'm developing web application using ASP.NET Core. When I use project template Web Application with Authentification:
ApplicationDbContext class generated:
public class ApplicationDbContext : ...