C# Puzzle: out parameters
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 =…
Knowledge Base · 57 articles · since 2017
Field notes from HAVIT — digital products, AI agents and the technology underneath. No marketing, real project examples.
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 =…
Recording from the second lesson (27/Feb 2018) of Cloud Applications Development course (NSWI152) for MMF UK (LS 2017/2018). It is publish on our HAVIT YouTube Channel. Topics covered: Azure…
On one of the projects I’m involved in, whatever we wanted to do with our Azure SQL DB (V12), we got this error: The database ‘tempdb’ has reached…
If you work with Azure SQL or Microsoft SQL Server 2016+, one of the new features there is the Query Store. It stores useful statistics on queries executed,…
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…
Developers sometimes ask me about “database is not currently available” error when using Azure SQL and Entity Framework 6. In this article I explain why happens this error…
LogParser (download) is a command line tool from Microsoft which allows you to query any text-based log file using SQL-like syntax. The basic list of supported formats is quite…
With Visual Studio 2017 being released earlier this year I decided to go for my regular #NoResharper challenge. With every single major version of VS I try to…
Virtual Networks and Virtual Network Interfaces in Azure could have own Network Security Groups. Every group consists from security rules which enable or disable traffic by defined rules.…