algorithmicworldautomation_67vt52

algorithmicworldautomation_67vt52

How to fix DataReader.GetFieldType(n) returned null in WebForms project

I had a .NET Web Forms project I was working on, and when running the site locally, I would attempt to navigate to one of the pages, and I kept getting an exception: DataReader.GetFieldType(n) returned null. There weren't any other details or any additional insights to be gained from the stack trace, as it ended literally right at the function I was calling where the exception was being thrown rather than giving any further info as to what system or library calls were being made inside that function. After doing some research and experimentation, there were a few key things I needed to do in order to fix this error.

How to use a REST API

Introduction A REST API (sometimes also called a “web API” or just “API”) is a web standard for creating API (Application Programming Interface) services. REST APIs allow communication between different software systems and enable the transfer of data over HTTP…