Error when adding new Data Source

Pieter van der Westhuizen, a professional freelance web & mobile developer and founder of Coalition Software.
Search for a command to run...

Pieter van der Westhuizen, a professional freelance web & mobile developer and founder of Coalition Software.
A recent requirement came up for configurable dynamic forms in a mobile application. There are a few dynamic form packages for Flutter, but I wanted a bit more control over the schema and behavior of the form. Here follows my attempt at creating dyna...

If you've ever written a mobile app with Flutter that integrates with an API, then you'll know that there are a lot of model objects that get passed between the app and the API. JSON Serialization in Flutter can also take a fair amount of boilerplate...

Back in May 2020, Microsoft announced a new feature for Azure Blob Storage called Blob Index. Essentially, this enables you to add key/value tags to your Blob objects and be able to query said Blob objects without having to use a separate service lik...

In my last post, "Using AWS Cognito with Xamarin Forms", I showed how to authenticate with Amazon Cognito using Xamarin Forms and the Xamarin.Essentials Web Authenticator. In this post, we'll go through the process of using the AWS Cognito Hosted UI ...

In this post, I'll show you how to quickly and easily set up user authentication for your Xamarin Forms app using Amazon Cognito. AWS Cognito is a user identity management solution by Amazon. It is a really easy way to add authentication to your appl...

I’ve experienced the strangest error when I try to add a new datasource via the Data Sources window in Visual Studio. The Data Source Configuration Wizards pops up, I select I want to bind to an object, click on next and get the following error:

(Click to view larger image)
Yes, the dreaded Object reference not set to an instance of an object error.
After a considerable amount of time spent checking references, adding references, re-building and a lot of profanity, I finally discovered that VS expects a class in the root of your project for the Data Source Configuration Wizard to bind to an object. I moved all my forms and classes to folders within my project, thus I had no classes in the root of my project.
After creating an empty Class1.vb in the root of my project the error went away.
Go figure!!