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?

Elasticsearch NEST – Examples for mapping between Query and C#

During my training with Elasticsearch I would like to map a query with GET/POST method to C# syntax of NEST. It’s very helpful for me to see how NEST composes its internal queries and sends to Elasticsearch server. I just post my sample project here, maybe it’ll help you too.

Continue reading Elasticsearch NEST – Examples for mapping between Query and C#

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?

Quick Start Angular 2 with ASP.NET 5

Angular 2 is now on beta and ASP.NET 5 is on RC version. Both of them are almost near to final release. Use these versions for big projects right now is not a quite right decision because they are still being changed a lot. However, we can begin to make some demo projects to get familiar with new syntax and project templates. In this post, I show you how to make your first app with Angular 2 and ASP.NET 5. This post is only about how to configure so that Angular 2 works with ASP.NET 5.

Continue reading Quick Start Angular 2 with ASP.NET 5

Mac – How to install EOS Utility without CD?

I’m using Qt to develop a software for controlling Canon cameras on Mac OS X. For testing purpose I would like to install EOS Utility on Mac OS X. What makes me suprise is that Canon doesn’t provide link for downloading full EOS Utility but only its updater. If you start the installer, it’ll ask for current installation of EOS Utility. In this post I’ll show how to get full EOS Utility without CD.

Continue reading Mac – How to install EOS Utility without CD?

How to install and configure Mercurial on Ubuntu?

Bitbucket allows us to create a private remote repository based on Mercurial. If you don’t care that the source code can be stolen, you can use his service as your distributed revision control tool. However, if your code contains sensitive data and you would like to host a Mercurial on your server, you can follow the steps below to install and configure Mercurial on Ubuntu.

Continue reading How to install and configure Mercurial on Ubuntu?

How to install CyanogenMod on Kindle Fire 5.1.1 2015?

Last year I bought an Amazon Kindle Fire on Black Friday in shopping season. The 7-inch tablet costs about 50 Euro at that time and was pre-installed with all of Amazon services and apps. Of course, we can’t expect a powerful tablet at that price level but the table’s really good for daily activities such as web surfing, listening to the audiobook or playing small games. I really like it but the apps and services from Amazon. The advertisement on lock screen doesn’t disturb me at all, but the unnecessary apps from Amazon do make me really annoyed. Therefore, I decide to flash the tablet with CyanogenMod to get rid of all stuff from Amazon.

Continue reading How to install CyanogenMod on Kindle Fire 5.1.1 2015?