Code Maze Author

Vladimir Pecanac

Hi, my name is Vladimir Pecanac, and I am a full-time .NET developer and DevOps enthusiast. I created this blog so I can share the things I learn in the hope of both helping others and deepening my own knowledge of the topics I write about. The best way to learn is to teach.
Also find me here:


MY ARTICLES:

Code Maze Weekly #94

Issue #94 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# File Scoped Namespaces In C# 10 [dotnetcoretutorials.com] Another one of the recent improvements to C#. File scoped namespaces are a feature that can make the code just a...

Code Maze Weekly #93

Issue #93 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# WebSocket per-message compression in ASP.NET Core 6 [www.tpeczek.com] WebSocket per-message compression in ASP.NET Core 6 is a new feature and Tomasz Pęczek gives us a...

Code Maze Weekly #92

Issue #92 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# How To Map A Route in an ASP.NET Core MVC application [khalidabuhakmeh.com] Beginners guide to ASP.NET Core MVC routing by Khalid Abuhakmeh. If you're new to web...

Code Maze Weekly #91

Issue #91 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# Implicit Using Statements In .NET 6 [dotnetcoretutorials.com] Implicit using statements is a new feature that is packed in .NET 6. Check this article by Wade Gausden to...

Code Maze Weekly #90

Issue #90 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# How to Create a new Solution and Projects using dotnet CLI [ardalis.com] A simple script to create a project and add it to the solution via dotnet CLI by Steve Smith. If...

Code Maze Weekly #89

Issue #89 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# Bite-Size C# 10 - Global Usings [exceptionnotfound.net] A new feature is available right now - global usings! Matthew Jones gives us a short intro and an example of how...

Code Maze Weekly #88

Issue #88 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# How to Stop NullReferenceExceptions in .NET: Implementing Nullable Reference Types [christianfindlay.com] Want to learn more about nullable reference types and how to...

Code Maze Weekly #87

Issue #87 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# Creating a Dapper Helper C# Class to Generate Parameterized SQL [exceptionnotfound.net] Do you need a generic, yet fast way to create insert, and update SQL statements in...

Code Maze Weekly #86

Issue #86 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# Appending strings, built-in types, and lists: A deep dive on StringBuilder - Part 2 [andrewlock.net] A continuation of the excellent StringBuilder analysis by Andrew...

Code Maze Weekly #85

Issue #85 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# Building Minimal APIs In .NET 6 [dotnetcoretutorials.com] With the introduction of the .NET 6 features, APIs don't have to be bulky anymore. Check out this article by...

Code Maze Weekly #84

Issue #84 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# How Does the StringBuilder Work in .NET? (Part 1) [www.stevejgordon.co.uk] Properly understanding and using the StringBuilder class is the topic of this series of...

10 Things You Should Avoid in Your ASP.NET Core Controllers

Keeping controllers clean and tidy is something we've learned we should do the first time we've stumbled upon the MVC pattern. But as the project grows and other team members enter the project, things might get out of hand. Especially when deadlines need to be met,...

Code Maze Weekly #83

Issue #83 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# Conditional compilation for ignoring method calls with the ConditionalAttribute [andrewlock.net] Ever heard of the [Conditional] attribute? No? Check out this article by...

Code Maze Weekly #82

Issue #82 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# Customized JSON formatting with Serilog [nblumhardt.com] If customizing logs presentation is your cup of tea, this article by Nicholas Blumhardt is the perfect read for...

Code Maze Weekly #81

Issue #81 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# Caching Enum.ToString to improve performance [www.meziantou.net] How to make converting an enum value to a string using the ToString() less expensive by Gérald Barré....

Code Maze Weekly #80

Issue #80 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# Customizing Serilog text output [nblumhardt.com] Everything you need to know about formatting plain text with Serilog.Expressions, by Nicholas Blumhardt. Minimal APIs in...

Code Maze Weekly #79

Issue #79 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# Benchmarking 4 reflection methods for calling a constructor in .NET [andrewlock.net] Four different reflection methods, four different results. Which reflection method...

Code Maze Weekly #78

Issue #78 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# Secure an Angular SPA and an ASP.NET Core API using Auth0 [damienbod.com] A comprehensive article on securing angular SPA + ASP.NET Core with Auth0 by Damien Bowden. Must...

Code Maze Weekly #77

Issue #77 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# Global Exception Handling in ASP.NET Core – Ultimate Guide [codewithmukesh.com] Handling exceptions in a centralized manner is a good addition to many ASP.NET Core...

Code Maze Weekly #76

Issue #76 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# Adding CAPTCHA on form posts with ASP.NET Core [blog.elmah.io] The necessary evil - CAPTCHA challenges. We don't like to implement them, and we don't like to use them,...