Most common mistakes in using Tasks and in asynchronous code [Jiří Činčura, HAVIT Educational window, 25.9.2019]
Recording from HAVIT Educational windows from 25th September 2019.
Topic · 8 articles
Recording from HAVIT Educational windows from 25th September 2019.
Can you imagine a situation when this code compiles and runs? [code lang=”csharp” light=”true”] public void Reset() { this = new Foo(); } [/code] See the result: https://dotnetfiddle.net/JheuMu.
Recording from HAVIT Educational windows from 28th March 2019. Jiří Činčura presented the ref returns in C#.
We are proud to announce Castle Windsor Support for ASP.NET WebForms. Sources, documentation and usage example can be found on GitHub, NuGet package Havit.CastleWindsor.WebForms is in the public…
This method usually outputs false. Can you imagine a situation where it outputs true? [code lang=”csharp” light=”true”] static bool Test(out int x, out int y) { x =…
What is the output when you run this code? [code lang=”csharp” light=”true”] try { try { throw new Exception("A"); } catch { throw new Exception("B"); } finally {…
If you have ever tried to use Quartz.NET (a famous job-scheduling library) with Castle Windsor (IoC/DI container) you might need to register a component whose life-style should be…
In unit-tests you sometimes find yourself in a situation that you need to mock a configuration section. The ConfigurationSection class (or your inherited class) encapsulates nicely and there…