Skip to content
Advertisement

Tag: entity-framework

Entity Framework .NET Core returns ‘Data is Null. This method or property cannot be called on Null values.’ but not in Debugger

The problem: on C#, MVC API with Angular 6 front end on IIS deployed solution. A simple HTML table with 8 filtering fields on specific columns runs queries on the back-end through an API HttpGet call. The function itself works ok, but NOT for specific strings. On the field ‘Description’ for example, the back-end returns ‘Data is Null. This method

Advertisement