Entity Framework - Is there a safety mechanism to prevent accidentally...
When using Entity Framework and running the Update-Database command, non-updated applications that rely on the database crash due to database context changes.Usually teams have a production database...
View ArticleWhere should linking tables be stored? [closed]
I have a system where properties can be stored, and linked with multiple other entities (each with their own schema). Let's say that Documents can be linked with Users and Assets. What is the best...
View ArticleAdding AI capabilities to my document management system which is built using...
I’ve been working extensively with Copilot agents but only within Microsoft 365—both using Copilot experiences embedded in SharePoint Online and custom agents developed via Copilot Studio. I’ve...
View ArticleHow to test load balanced ASP Core based website?
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 to...
View ArticleHow to write robust or alternative to TSQL data processing routines in...
My company has a workflow that involves ingesting huge amounts of raw data from external sources into SqlServer and then interpreting and weaving that data into our own application tables. This weaving...
View ArticleCould concurrent user-triggered data fetches and inserts lead to deadlocks in...
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...
View ArticleBest practice for handling concurrency in API and DB to optimize the...
I'm a junior DE, learning about RESTful APIs, and intent to use FastAPI for practice, to connect my local (but even if it's an app or web I would have the same question) to a SQL database (DB) server.I...
View ArticleDoes SQL Server Agent predate Windows Task Scheduler?
An old guru once told me that SQL Server Agent was created because Windows Task Scheduler did not exist at the time. However, all of my research shows that they both released in 1995. For Task...
View ArticleTesting C# app backed by MSSQL database and Entity Framework - seeking...
I am new to C#, and Windows (coming from Python, Linux background). I need to add teststo an existing C# codebase, which relies on a MSSQL database and Entity Framework.In my old days when testing...
View ArticleShould I avoid putting Id's in a contract/response model?
Here is the scenario:Let's assume that we have a Telephone and a Driver.Here is the definition of the classes (Pseudocode):Telephone:{ Id: number, [Unique] TelephoneNumber: string}Driver:{ Id: number,...
View ArticleData stream strategy from Ms SQL Server, MongoDB to aws to snowflake
We plan to load data from MS SQL Server and MongoDB to AWS for archival purposes and to Snowflake for reporting and BI purposes. Which data stream strategy is best for our needs?Should we load data...
View ArticleCreating Unit and Integration Tests with Database elements
This is something that I've heard a number of opinions and theories about, but I'm still torn on how to go forward.For context, this particular issue deals with the following technologies, in case that...
View ArticleElasticSearch vs SQL Server full text index for small datasets?
I've got a relatively high-traffic public-facing product-based website backed by SQL Server as the point of authority. It has some search capability on some of the columns of the Items table (year,...
View ArticleHow to organize "master" data VS "working" data in MS SQL
I have this survey software that I'm writing and I'm wondering what would be the best design for my requirement.I'm going to simplify it as best as I can.I have these entities:class Survey { public...
View ArticleHow to set up a sql database to cater for user records, group records and...
OutlineI have an application that loads data from a database. I'm not talking about client data here though, I'm talking about application configuration. The database will therefore come with some...
View ArticleWrite data to SQL Server directly from BizTalk or use external service?
An external source will be sending us XML data that BizTalk will pick up and transform into an internal schema. We need this data to be loaded into a SQL Server database as we're going to expose some...
View ArticleStructure database for timeline with different objects
I need to work on a project where we have a "case". Within this case we need to attach different things, in a timeline.Those things can be:Status change (Open, On hold, Closed)Messages (just text)Calls...
View ArticleDo we have 2 logical query processings, one with indexes and one without...
In the book "Inside Microsoft® SQL Server® 2008: T-SQL Programming" the behaviour of a sql query is explained. The following picture is taken from the book. I have some questions about the...
View ArticleHow to design a process and use the business rules for sending...
Currently working on designing a process which demands me to send alerts like email notifications to the users which meet a business criteria(we can also call business rules). I want to make this...
View ArticleCreating a web portal to access multiple databases (security and best practice?)
I am looking to create a website.There will be a portal, from which the user (and thier associated users) can create/access one or more databases. There will be many different databases in the...
View Article