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

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

Mitos Pengembangan Web di Microsoft Edge (Bahasa Indonesia Edition)

If you are looking for the English Version: Web Development Myths On Microsoft Edge

(Language: Bahasa Indonesia)

Microsoft Edge sudah tentu merupakan Browser modern untuk menggunakan HTML5 Standar Web, secara teknis mirip dengan browser IE11 (Internet Explorer 11), Chrome, Firefox, Opera dan Safari. Namun, Microsoft Edge sangat berbeda dengan browser lain, sebagai contoh tidak ada support untuk BHO (Browser Helper Object) atau dukungan (support) untuk menjalankan komponen ActiveX serta Plugin. Mungkin dalam masa yang dekat akan memiliki support untuk browser extensions, namun didalam artikel ini saya tidak ingin membahas masalah tersebut.
Read More

WordPress in Azure | Part 1 – Create WordPress Blog in less than 5 minutes (Cloud PaaS)

There are several ways to create WordPress in Microsoft Azure cloud, using PaaS (Platform as a Service) and IaaS (Infrastructure as a Service). I would like to share how I did it as a guide and show you how easy to create WordPress blog in Microsoft Azure using the cloud PaaS first. Cloud PaaS means that you only manage the application and the database. Azure PaaS is part of the Azure App Services and has the feature of elastic auto scaling, meaning you can configure the web app to automatically increases or decreases the server instances as required due to high or low traffic or by CPU performance needs. Therefore, you also only pay on what you use. In PaaS, the server infrastructure, networks, the middle-ware, the frameworks, etc. are all maintain by Azure app services. Since we only maintain the application and database, practically you can create WordPress web app in less than 5 minutes.

Well, 5 minutes is if you at least already know little bit about Azure or at least know some of the steps. But hey, I tested myself, I can create in less than 5 minutes with the condition that you already prepare for what you are going to enter, like the web app name, database name, site title, password, etc. If you are still thinking on what to enter on every step, than I believe the time will be more than 5 minutes.

Okay, this are the first title from four parts article. Here is the four title that I will create:

  1. WordPress in Azure | Part 1 – Create WordPress Blog in less than 5 minutes (Cloud PaaS)
  2. WordPress in Azure | Part 2 – Editing the WordPress PHP code using Git
  3. WordPress in Azure | Part 3 – Managing (Backup and Restore) WordPress MySQL Database
  4. WordPress in Azure | Part 4 – Configure Auto Scaling in Azure Web App

Read More