.Net Core – Entity Framework Migration and Sqlite

In previous post, I showed you how to implement a custom migration without using Entity Framework for Sqlite database in .Net core. In this post, I’ll use Entity Framework Migration to manage (upgrade / downgrade) our database structure. Both of approaches will work, you can choose one of 2 solutions as you prefer.

Continue reading .Net Core – Entity Framework Migration and Sqlite

.Net Core – How to publish an ASP.NET core application to Linux host

With the growth of many cheap Linux VPS providers and the new releas of .NET core, we have a possibility to host our applications with a low cost. In this post, I would like to write down the steps how I published a ASP.NET core application to a Linux VPS. The application is just a simple “Hello World!” ASP.NET core. The code will be compiled and deployed manually on the Linux VPS. In praxis, you can automatically deploy your app over FTP or use Git to check out the release branch, build and deploy.

Continue reading .Net Core – How to publish an ASP.NET core application to Linux host

DotNetCore – Sqlite with Entity Framework Code First and Migration

In last months there were 2 big frameworks for software development published: DotNetCore and Angular 2. They’re new and powerful. I’ve spent most of my free time to learn both of them. The combination of DotNetCore Web Api and Angular 2 give me a powerful development enviroment for building website or building web-view app (based on Apache Cordova). I’ve started to build some web apps with Angular 2 (for example YouTubeApp or my private dictionary EnDeVi). They are all my pet projects but it’s a good start for learning new stuffs. In this blog, I would like to write about DotNetCore and Sqlite like the previous post Sqlite with Entity Framework Code First and Migration. Basically there’s nothing new with this post, I just want to test how I can write a simple .NET core console connecting to Sqlite database.

Continue reading DotNetCore – Sqlite with Entity Framework Code First and Migration

How to configure TortoiseHg working with GitHub?

I’m using TortoiseHg as my subversion control client. I love it so much. It works perfectly with Bitbucket without using any addon. GitHub is also a popular platform and sometimes I would like to check out the source code from GitHub for debugging and analyzing. Unfortunately, TortoiseHg can’t do that directly, we need an extension for it to use with GitHub. In this very short post, I would like to write down the steps to install hg-git extension for TortoiseHg so that I can check out the code from GitHub

Continue reading How to configure TortoiseHg working with GitHub?

How to install and publish Elasticsearch on Azure Ubuntu?

As part of my self-training with Elasticsearch, I would like to install Elasticsearch on Azure VM und publish it over the Internet so that I can access my server anywhere. It is not recommended to publish Elasticsearch server on the internet because of security. So don’t do this to your production one, but you can use the concept for publishing server on your LAN. The installation and configuration are pretty easy. It does matter where to find and how you should configure Azure and Elasticsearch.

Continue reading How to install and publish Elasticsearch on Azure Ubuntu?

How to connect ElasticSearch to MS SQL server?

As part of my training with ElasticSearch, I would like to connect ElasticSearch to MS SQL server to pre-fill in data for searching. The installation and configuration are not complex but I would like to write down all steps here so that I can look up later. Maybe this post is also interesting and helpful for you. I’m using Windows 10 so all steps written here, are for Windows.

Continue reading How to connect ElasticSearch to MS SQL server?

How to install Mac OS X Sierra 10.12 on VirtualBox?

Years ago I wrote a post for installing Mac OS Yosemite on Virtual Box. A new version of Mac OS X with code name Sierra has been just published therefore I would like to update my post for installing this new version on Virtual Box with the host of Windows 10.

Continue reading How to install Mac OS X Sierra 10.12 on VirtualBox?