Debug a C# application in Visual Studio with command line arguments
To use command line arguments during debugging in Visual Studio Community Edition we will create project profiles. Create the project profile Select the project profile To debug the application with a specific project profile
Comment2GPT AI extension in Visual Studio for multiple models
Visual Studio Community Edition is a free, popular IDE to develop C# business applications. AI assistance can enhance the development process and do the boilerplate creation. As of writing, the most popular free extension that supports multiple AI models…
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,…