Data is Null. This method or property cannot be called on Null values.
When the .NET Entity Framework retrieves data from the database and parses it into the structure that we specify in our code, we have to make sure nullable columns are modeled with nullable properties in our code. When null values are retrieved and the…
Build a standalone Windows executable in Visual Studio
Standalone Windows executables are compiled ahead of time (AOT) and distributed as three executable files (.exe, .dll, .runtimeconfig.json). This format is ideal for small executables called from the command line or from other applications. To create an…
Developing a secure .NET 8 (core) console application
In this post we will develop a .NET 8 console application which reads the configuration values from environment variables. This enables us deploy the application in an EKS cluster and read the config values from any secure secret storage. The develoment…
SSIS package development with Visual Studio
Visual Studio Community Edition has all the features for MSSQL SSIS package development. We need to download the SQL Server Integration Services Projects extension. In the package properties set DelayValidation to True to avoid long wait when opening the…
ERESOLVE could not resolve
When we try to refresh or install NPM packages there can be version conflicts between packages and the dependency requirements. The error message can vary, but it is similar to npm error code ERESOLVEnpm error ERESOLVE could not resolve To be able to…
Migrate a PostgreSQL database to another database server
To migrate a PostgreSQL database to another database server Back up the source database Restore the database on the target server
Migrating Remix web applications to Node 20 and React Router v7
React Router, written by the Remix team, provides the missing routing services for React applications, used by 7 million websites. Remix propvides other features to make react application development more intuitive by providing The Remix team also added…
Module … has no default export
When a Node.js module import causes the Module … has no default exportorInternal server error: [vite] The requested module ‘…’ does not provide an export named ‘default’ error message, change the import statement,…
Error: Dev server origin not set
We can set up a new Remix web application based on the Getting Started guide at Remix Quick Start We will encounter a few surprises during the setup: We need to allow legacy dependencies during the command:npm i -D @remix-run/dev vite --legacy-peer-deps…
Using the Visual Studio Code Debug Console
When we activate the Debug feature of Visual Studio Code, the Terminal displays the console output. To find the correct location of data among the objects and variables, we can use the Debug Console. Start the application in debug mode Explore the object…