Resolving TypeError: Cannot Read Property ‘errors’ of Undefined in Angular Forms

In this blog post, we’ll explore a common issue faced by developers while working with Angular forms, specifically when dealing with nested form controls and validation. We’ll use a real-life example to illustrate the problem and discuss the solutions to fix the error: TypeError: Cannot read property ‘errors’ of undefined. Problem Description Consider an Angular…

System.Security.Permissions missing when invoking JsonConvert.DeserializeObject in .NET Core 2.0

Are you encountering the “System.Security.Permissions” error when using JsonConvert.DeserializeObject<T> in your .NET Core 2.0 project? Don’t worry, you’re not alone. In this article, we’ll explore the causes of this issue and provide you with effective solutions to resolve it. Understanding the Problem The “System.Security.Permissions” error typically occurs when you try to deserialize an incoming string…