Entity Framework from Database First – CLI

By | Ramblings

Entity Framework (EF) is a Microsoft .NET ORM (Object Relational Mapping) framework for connecting to databases and abstracting away the necessary raw SQL from interacting with entities. It makes it way more efficient to have engineers focus on the logic of the application, rather than the syntax of the queries. Forget SQL Injection attacks as EF will automatically turn variables…

Read More

Python – Schedule Job – Like Cronjob

By | Ramblings

Cron is an incredible scheduler that is extremely versatile with a powerful scheduling engine and precise timing capability, but it’s typical run from a server’s root OS or container image. You could package a linux container with the cronjob task and a shell script as shown at the end of this post OR you can build your own python scheduled…

Read More

ASP.NET Core MVC Faster View Compiling!

By | Ramblings

In previous versions of ASP.NET you could make changes to a .cshtml view file and the changes would automatically be reflected by just refreshing the browser. As of the latest dotnet core build, v3.0, this feature was missing. There is an additional library that you can bring into your project that will re-enable this power. Run the following command to…

Read More