Gunakanlah Tools Visual Studio Mutakhir untuk Pengembangan Software

Sekarang Sudah Tahun 2018!

Catatan: Tolong dibaca dulu SEMUA dan jangan ambil setengah-setangah. Nanti salah faham.

Saya melihat yang menggunakan Windows 7, 8, 10 masih banyak yang menggunakan tools lama untuk pengembangan (development) software. Sekarang ini sudah tahun 2018. Janganlah kita menggunakan tools lama yang sudah ketinggalan teknologi dan lainnya. Berikut ini saya akan coba membantu agar para programmer bisa meng-upgrade software untuk pengmbangan dengan yang mutakhir.

Visual Studio 2017 Edisi Community itu GRATIS! Dan nggak ada embel-embel dibelakangnya

Saya ingat dulu pada protes kalau tools untuk pengembangan software mahal. Nah, sekarang Microsoft sudah memberikan Visual Studio 2017 Community gratis tanpa embel-embel dibelakangnya, bahkan sejak Visual Studio 2015 Community. Berikut ini tabel kemampuan Visual Studio 2017 Community yang bisa digunakan. Read More

Why web developers need to move to .NET Core and using ASP.NET Core MVC to build Web and Web Services/API instead

This is my personal opinion and I have a good reason to recommend developers to move to .NET Core instead of .NET Framework. Some might disagree with my opinion, but hey, it’s good to share thoughts and to discuss it. I’m not going to tell what is .NET Framework as you can just Google it, but I can assure you that .NET Framework can only be run on a Windows Operating System machine.

Drawing The Line

There will always be a reason for developers or their team lead to saying that their system is still using old system which is obviously happen to enterprise developers. So, I will draw some lines on who should move to using .NET Core instead of .NET Framework. Here is what is in my mind:

  1. If you are a maintainer of a legacy Windows services backend, web apps or web services, than you need to keep using .NET Framework for now.
  2. If your apps will be deployed on an old Windows Server machines, than you might want to stick with .NET Framework for now.
  3. If you are a VB developers which only relied on VB.NET language, than you have to use .NET Framework.
  4. If you are sure that your system won’t be deployed to a cloud very soon, than you can stick with .NET Framework for now.
  5. If you are stuck without any option whatsoever to use .NET Framework, than you need to continue using .NET Framework.

Beginners, just learn .NET Core instead!

Read More

Creating Chat Bot using 100% ASP.NET Core 2.0 Web API and Microsoft Bot Framework

Bot Application with BotBuilder SDK

To create a chat bot application using .NET Framework, you might already know this type of Bot Application template when launching new project in Visual Studio 2017.

The problem is, the NuGet packages and the template project which is from the BotBuilder SDK currently only support .NET Framework 4.6 and above as stated on the page and not yet supporting .NET Core related. Here is the message from the docs page:

Read More

Using Autofac DI/IoC Container in Xamarin.Forms iOS & Android Mobile Apps

UPDATE (October 27, 2017)

Added MobileClient.UWP Project that support for Windows 10 Fall Creators Update, Build 16299.15. Here is the reference on .csproj for the UWP project:

I have updated the source code on GitHub as well. Enjoy!

On Windows 10 Fall Creators Update:


On Android:


Below is the video on Youtube, showing how to use Autofac DI/IoC Container in Xamarin.Forms iOS & Android Mobile Apps. Just easy and simple.

Source Code:


Real-Time Android and iOS Apps using SignalR Core (ASP.NET Core 2.0)

Last year I tried and make an article on Windows 10 UWP app for Desktop and Windows Mobile (a.k.a. Windows Phone) to work with ASP.NET Core SignalR (the early version). As currently the ASP.NET Core team released the SignalR Core 1.0.0-alpha1-final and the .NET team has released the remarkable and awesome .NET Core 2.0, .NET Standard 2.0 and the latest Xamarin 2.4.0 that is compatible with .NET Standard 2.0, I would like to try this in Xamarin mobile apps that is for Android and iOS.

It turn out awesome and I love it. The demo that I created is a very simple UI (User Interface) of Label and Slider controls. Project on the solution:


Real-time hub API SignalR Core 1.0.0-alpha1-final ASP.NET Core 2.0
Mobile Client
(Android and iOS)
Xamarin.Forms Xamarin 2.4.0
.NET Standard 2.0

Tools that I use for building this project:

Dev Tools/IDE Visual Studio 2017 (Preview) Version 15.4 Preview 3.0
Hosting (Web App) Microsoft Azure App Services

And here is what you will get from this experiment.

Here is the link to the entire solution on my GitHub.

Read More

Hey… what went wrong with Windows 10 UWP project templates – Package Restore Failed

Recently I just updated my development tools, the lovely Visual Studio 2017 version 15.4 from Preview 1 to Preview 2. And I wanted to create demo sample using Windows 10 UWP app project.

Visual Studio 2017 version 15.4 Preview 2

Everything works normally, until I wanted to create a new UWP app project. And here is what happen when I create a new UWP app using blank project template. Read More

ASP.NET Core SignalR for Windows 10 UWP App

It has been quite sometimes I have not use ASP.NET SignalR. As you may know that currently we can use ASP.NET Core for creating WebAPI, it come to my mind to try SignalR service using ASP.NET Core and with Windows 10 UWP as the client for consuming the SignalR service. This blog is about just that, I divide the project into two, that is the SignalR service server and SignalR client which is inside Windows 10 UWP app. So let’s start.

SignalR Service Server

Let’s begin with creating the ASP.NET Core project, fire up Visual Studio 2015 with — of course .NET Core installed.

ASP.Net Core Create New Project

Once created, open the project.json file or Right-Click the References on the Solution Explorer and choose Manage NuGet packages and add the SignalR package library.

Read More

MonoGame UAP for Universal Windows Platform (Windows 10 Build 10240)


Recently I updated my Windows 10 to the latest Build 10240 and I wanted to create my own game framework leveraging the powerful Win2D which is open source from Microsoft and I was thinking, hmm… why not find see the existing game framework first. And yes, it remind me to my experience using XNA which is, well “not available” anymore. So I turn to MonoGame, yes… one of the best open source game framework. And so I did, I download the latest MonoGame 3.4.

Perfect! right… By the way, I’m using Visual Studio 2015 (Enterprise), you can also install MonoGame 3.4 for Visual Studio Community 2015 which is free for developers. Once, installed, I directly see the Project Templates ( yay! very excited ).

MonoGame 3.4 Windows 10 UAP Project Templates
Read More