.net
6 results found
C# throw object reference not set to an instance of an object
I got an exception throw 'System.NullReferenceException: Object reference not set to an instance of an object.' when printing a list of objects.
Asp.net 4.5 : The type 'System.Object' is defined in an assembly that is not referenced
The type 'System.Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
[Resolved] String cannot be of zero length. Parameter name: oldValue
The string cannot be of zero length. Parameter name: oldValue. Error throw in asp.net core when replacing string with empty.
Read configuration value from appsettings.json in ASP.Net Core
In the Asp.Net web app or API to read config keys is very necessary. In this article, I will introduce to you the best way to read configuration value from appsettings.json in ASP.Net Core. I hope it will help you easily to learn Asp.net core.
How to get current url in view cshtml in asp.net core
How to get current url in view cshtml in asp.net core
The type initializer for 'gdip' threw an exception on linux ubuntu
Error: The type initializer for 'gdip' threw an exception on linux when upload image.