EntityFramework 6 : Unable to generate an explicit migration because the following explicit migration are pending:

What happened ? I was trying to do an entity migration using Package Manager console in Visual Studio for my newly edited entities. But while I was executing 'update-database' command with '-verbose' flag, it throwed an error and update had failed. After I fix the error in the entity, I was trying to run 'add-migration' … Continue reading EntityFramework 6 : Unable to generate an explicit migration because the following explicit migration are pending:

Advertisement

Start your first React application using ‘create-react-app’

Nowadays, React is one of the popular libraries to develop user interfaces (UI) . It had developed by the Facebook couple of years back although they open-sourced the codebase for the enterprise use. A lot of brands such as Netflix, the New York Times, Pluralsight, Facebook, Instagram, TikTok, Snapchat, Uber, Reddit, Flipboard, Onedrive, DropBox, AirBnb, … Continue reading Start your first React application using ‘create-react-app’

Getting started: Azure DevOps CI/CD Pipeline for ASP.Net core – Part 1

Introduction Let's get straight to the topic. Earlier days when we were developed a web application we need to execute a few steps before we get that into the production. No matter how big or small the fix or the feature or the application, it needs the same process to follow such as testing, building, … Continue reading Getting started: Azure DevOps CI/CD Pipeline for ASP.Net core – Part 1

Cognitive Services: Custom Vision API (Part 2) – Create a web application to get predictions with the classification model

In part 1 of this article, I have created the image classification model for the application using the Custom Vision web interface. Now let's consume the API and predict results. I'm going to create an ASP.NET core 2.1 MVC web application which can predict the type of the dog for a given image URL or … Continue reading Cognitive Services: Custom Vision API (Part 2) – Create a web application to get predictions with the classification model

Running your application in parallel cores using Parallel

In C# language there is a way to use all the available cores in your computer simultaneously to run your application logic. This will improve the processing time of the application and lead you to better performance. NOTE -  Think twice whether you've applied parallelism to the correct logic in your application. If not, you … Continue reading Running your application in parallel cores using Parallel

Cannot start your application. The workgroup information file is missing or opened exclusively by another user – Exception when connecting to AccessDb

Recently I tried to connect to a Microsoft Access Database through an ASP.NET web application. But the Access database which I tried to connect was password protected. Therefore I used below connection string to connect to it. private const string connString = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=\\sg1dp0041fas\RAP\Appendix\DB\Resource Allocation1.4.accdb;Password=databasePassword"; But then the application threw an exception as below, Cannot … Continue reading Cannot start your application. The workgroup information file is missing or opened exclusively by another user – Exception when connecting to AccessDb

Cognitive Services: Custom Vision API (Preview)(Part 1) – Create your own model using web interface

Custom Vision API is an AI service under Cognitive Services provide by the Microsoft which helps you to develop your own image classifications. The primary objective of this classifier is to sort images into tags/classes according to the characteristic. This article split into three parts as below, Create your own model using web interface in … Continue reading Cognitive Services: Custom Vision API (Preview)(Part 1) – Create your own model using web interface

SSL Certificate Not Found in IIS due to missing private key that corresponds to the certificate

  Background The SSL certificate I have created for my intranet web site is not showing inside my IIS. But I can see it in the certificate snapshot where you can see all the certificate of your local computer by typing mmc command in run dialog. What is the cause? Then I realize the Private Key … Continue reading SSL Certificate Not Found in IIS due to missing private key that corresponds to the certificate