Transaction Scope time limit in ADO.NET

In ADO.NET there is a hard-coded system-wide limit for transaction set to 10 minutes. You cannot change it just like that in your web.config or App.config. You can change it in machine.config though. First, where are the machine configs? For 32 Bits: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machie.config For 64 Bits: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config Now, how to change it? Just add the … Continue reading Transaction Scope time limit in ADO.NET

DLL Injection Part 6 — Injecting managed code into specific App Domain

This is the sixth part of the DLL Injection series. For your convenience you can find other parts in the table of contents in Part 1 – Registry In Part 4 we saw how to inject managed DLL and execute some code in default App Domain. Today we will inject some code into different app … Continue reading DLL Injection Part 6 — Injecting managed code into specific App Domain

.NET Inside Out Part 3 — How to override sealed function in C#

This is the third part of the .NET Inside Out series. For your convenience you can find other parts in the table of contents in Part 1 – Virtual and non-virtual calls in C# A word of warning! Things presented here depend on the implementation details and require an extensive knowledge about the internals. There … Continue reading .NET Inside Out Part 3 — How to override sealed function in C#