Monthly Archives: November 2021

More than one DbContext was found. Specify which one to use

This blog article shows you how to handle the error message “More than one DbContext was found. Specify which one to use. Use the ‘-Context’ parameter for PowerShell commands and the ‘–context’ parameter for dotnet commands.” When you type update-database … Continue reading

Posted in Uncategorized | Leave a comment

Could not find a part of the path … bin\roslyn\csc.exe

The short blog shows you one of the possible ways to resolve the error “Could not find a part of the path … bin\roslyn\csc.exe” like the one below. Go to Visual Studio. Select  Tools -> NuGet Package Manager -> Package … Continue reading

Posted in .Net, Cloud, Community, Computers and Internet, Operating System | Tagged | Leave a comment

Modern Blueprint for Endpoint Protection ebook

In this eBook, you will be equipped with the key components of an endpoint security strategy for a hybrid working culture: Inside the endpoint device Know more about the roles and importance of TPM and UEFI. Access to the device … Continue reading

Posted in .Net, Cloud, Community, Computers and Internet, CTO, Data Platform, Microsoft Office, Office 365, Operating System | Tagged | Leave a comment

ASP.NET Minimal API How To Create

This blog article shows you how to create ASP.NET Minimum API. Create a new project in Visual Studio 2022, you might not have this template in Visual Studio 2019. Select ASP.NET Core Empty. Click Next. Enter the Project name and … Continue reading

Posted in .Net, Cloud, Community, Computers and Internet, CTO, Data Platform | Tagged | 2 Comments

The reasons to hold on for Windows 11 upgrade

This blog article tells you why should you hold on to Windows 11 upgrade for now at least. 1. After upgrade to Windows 11 about 3 weeks ago. Microsoft Office 365 Crashes like nobody business. It is not only PowerPoint. … Continue reading

Posted in .Net, Cloud, Community, Computers and Internet, CTO, Microsoft Office, Office 365, Operating System | Tagged | Leave a comment

Compare Database Schema between SQL Database and Visual Studio Database Project

This blog article shous you how to Compare Database Schema between SQL Database and Visual Studio Database Project. In, https://chanmingman.wordpress.com/2021/11/16/compare-database-schema-between-visual-studio-database-project-and-sql-database/, we compare the other way round. In this the source we choose the SQL Database. Right click the Database Project … Continue reading

Posted in .Net, Cloud, Community, Computers and Internet, Data Platform | Tagged | Leave a comment

Debug Windows Service In C# Without Installing

This blog article is to show how to Debug Windows Service without installing. When you create a Windows Service. You should see the code similar to the one below but without the WriteLog. public partial class Service1 : ServiceBase { … Continue reading

Posted in .Net, Cloud, Community, Computers and Internet | Tagged | Leave a comment

CTO November 2021 articles and resources

These are the good reads found in this month. 7 tasks every IT leader should delegate 1. Nonstrategic tasks that aren’t high priority 2. Hands-on configuration and development 3. Any task already handled by a designated IT team member… https://www.cio.com/article/3634431/7-tasks-every-it-leader-should-delegate.htmlContinue reading

Posted in .Net, Cloud, Community, Computers and Internet, CTO, Data Platform | Tagged | Leave a comment

The term ‘Update-Database’ is not recognized as the name of a cmdlet

This blog article shows you one of the possible way to resolve the error “The term ‘Update-Database’ is not recognized as the name of a cmdlet“. In my project I have added Microsoft.EntityFrameworkCore and Microsoft.EntityFrameworkCore.SqlServer packages. When I issue the … Continue reading

Posted in .Net, Cloud, Community, Computers and Internet, Data Platform | Tagged | Leave a comment

Compare Database Schema between Visual Studio Database Project and SQL Database

This blog article shows you how to compare the schema in Visual Studio Database Project and SQL Server Database Objects. First you need to import the database schema into the Database Project, check the link at the bottom. For me, … Continue reading

Posted in .Net, Cloud, Community, Computers and Internet, Data Platform | Tagged | 1 Comment