Click here to Skip to main content
15,883,837 members
Home / Discussions / Web Development
   

Web Development

 
QuestionSpeculative question on Identity Server Pin
Ger Hayden20-Nov-19 22:05
Ger Hayden20-Nov-19 22:05 
QuestionWindows Service Pin
RajaMohammed.A20-Nov-19 20:42
RajaMohammed.A20-Nov-19 20:42 
AnswerRe: Windows Service Pin
Richard MacCutchan20-Nov-19 22:20
mveRichard MacCutchan20-Nov-19 22:20 
QuestionWeb Application in Visual Studio 2019 Pin
Ebrahimaw20-Nov-19 13:08
Ebrahimaw20-Nov-19 13:08 
AnswerRe: Web Application in Visual Studio 2019 Pin
Eddy Vluggen20-Nov-19 13:56
professionalEddy Vluggen20-Nov-19 13:56 
QuestionPlayer ranking Pin
padre_17-Nov-19 5:16
padre_17-Nov-19 5:16 
AnswerRe: Player ranking Pin
Roberto M.7915-Sep-20 4:20
Roberto M.7915-Sep-20 4:20 
QuestionTransaction scope and web apis Pin
Ger Hayden13-Nov-19 23:16
Ger Hayden13-Nov-19 23:16 
One of my API controllers is hitting two databases each on its own context, and I do not want any tables updated until I am satisfied that it is safe.

With that in mind I wrapped the code in a C# transaction scope but when I reached a point where I had to fire scope.dispose, the API call crashed out with a code 500 and any previously executed inserts were not rolled back.

I have successfully applied entity framework core transaction protection to the code block so it is not an issue, but I am curious to know if anyone has tried and succeeded or failed in the same thing.

A quick look online did not show up anything.
Ger

AnswerRe: Transaction scope and web apis Pin
Eddy Vluggen13-Nov-19 23:42
professionalEddy Vluggen13-Nov-19 23:42 
PraiseRe: Transaction scope and web apis Pin
Ger Hayden14-Nov-19 0:07
Ger Hayden14-Nov-19 0:07 
GeneralRe: Transaction scope and web apis Pin
Richard Deeming14-Nov-19 1:33
mveRichard Deeming14-Nov-19 1:33 
GeneralRe: Transaction scope and web apis Pin
Eddy Vluggen14-Nov-19 1:46
professionalEddy Vluggen14-Nov-19 1:46 
GeneralRe: Transaction scope and web apis Pin
Richard Deeming14-Nov-19 1:55
mveRichard Deeming14-Nov-19 1:55 
GeneralRe: Transaction scope and web apis Pin
Eddy Vluggen14-Nov-19 2:17
professionalEddy Vluggen14-Nov-19 2:17 
GeneralRe: Transaction scope and web apis Pin
Ger Hayden14-Nov-19 10:15
Ger Hayden14-Nov-19 10:15 
AnswerRe: Transaction scope and web apis Pin
Richard Deeming14-Nov-19 2:42
mveRichard Deeming14-Nov-19 2:42 
GeneralRe: Transaction scope and web apis Pin
Ger Hayden14-Nov-19 10:13
Ger Hayden14-Nov-19 10:13 
QuestionWorkBox is not broadcasting updates. Pin
Member 1088816411-Nov-19 3:53
Member 1088816411-Nov-19 3:53 
QuestionPlease help: “Invalid argument supplied for foreach()” in Wordpress Pin
Member 146471226-Nov-19 13:28
Member 146471226-Nov-19 13:28 
AnswerRe: Please help: “Invalid argument supplied for foreach()” in Wordpress Pin
Richard MacCutchan6-Nov-19 21:38
mveRichard MacCutchan6-Nov-19 21:38 
AnswerRe: Please help: “Invalid argument supplied for foreach()” in Wordpress Pin
jkirkerx7-Nov-19 12:29
professionaljkirkerx7-Nov-19 12:29 
Questionweb development Pin
Member 142901874-Nov-19 1:55
Member 142901874-Nov-19 1:55 
AnswerRe: web development Pin
Richard MacCutchan4-Nov-19 2:27
mveRichard MacCutchan4-Nov-19 2:27 
QuestionJquery fuction not called when I append achor tag . Pin
KGr2830-Oct-19 4:29
KGr2830-Oct-19 4:29 
AnswerRe: Jquery fuction not called when I append achor tag . Pin
Richard Deeming30-Oct-19 5:30
mveRichard Deeming30-Oct-19 5:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.