Posts

Showing posts from 2019

Migrating EDMX to Entity Framework Core

Hi Guys, Recently I worked on a legacy project which used EDMX to model the database layer,  we had a requirement to convert it to Entity Framework Core. I followed the below video which gives the insight on how to do it cleanly. https://channel9.msdn.com/Shows/On-NET/Migrating-EDMX-projects-to-Entity-Framework-Core Hope this helps someone.

Performance Monitor using ElectronJS, Flot Chart and justgauge

Image
Hi Guys, This time I made an experimental Electron JS application to monitor the CPU Usage and Memory Usage. Hope you like it. 1) Install and Create your electron JS app using the following commands. Note : You must install nodeJS before to run these commands. > npm i -D electron@latest > mkdir electronMonitor > cd electronMonitor > npm init 2) Then create file index.html and paste the html <! DOCTYPE html > < html > < head > < meta charset = "UTF-8" > < title > Performance Monitor </ title > < script src = "Styles/flot/jquery.js" type = "text/javascript" > < / script > < link href = "Styles/css/bootstrap.min.css" rel = "stylesheet" > </ script > < script src = "Styles/js/justgage.js" type = "text/javascript" > < / script > < script src = "Styles/js/raphael-2...

Application Pool consuming High Memory

Hi Guys, One of the web application which was in a production environment in my organization suddenly started consuming high memory and eventually freeze. After spending some time troubleshooting code I couldn’t find any issue. Finally I found that it was just a simple web.config settings you and me always tend to ignore. <compilation          …          debug="true"     /> <trace         enabled="true"         …     /> Note : when we debug using visual studio the above values are needed for debugging but when you finally move your application to production, make sure the both of these values are set to “ false ”