Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
From Readme
It is a sample implementation to ilustrate Busy Database antipattern
The BusyDatabase sample code comprises the following items:
BusyDatabase Application
Azure SQL database with AdventureWorksLT sample
The BusyDatabase WebAPI project contains two controllers:
TooMuchProcSqlController
LessProcSqlController
The
Get
action of both controllers returns an XML formatted list of order details.The
TooMuchProcSqlController
runs the Transact-SQL statement defined in the TooMuchProcSql.sql file in the project to retrieve and format the data by using Azure SQL Database. TheLessProcSqlController
uses the simpler Transact-SQL query defined in the LessProcSql.sql file in the project to retrieve the data and uses .NET to format the result.Redo the example following the same concept:
The application run locally against a deployed database. The same idea than cloud patterns.