Accelerating .NET development in AWS

.NET is a first-class citizen in Microsoft Azure. However, you might have a customer who want to develop with .NET but use their existing Amazon AWS infrastructure. Is it hard to start with non-Microsoft environment? This article shows my experience when having Microsoft .NET solution but hosted in AWS. Terminology between AWS and Azure As a developer, we might think that is a solution in AWS does not exist in Azure (or vice versa). The Good News are cloud computing environment in Azure and AWS have similar terminology. Is just like buying a coke with brand Coca Cola vs Pepsi, you will have similar terminology Amazon EC2 vs Azure VM S3 vs Azure Storage Amazon RDS vs Azure SQL Dynamo DB vs Cosmos DB Elastic Beanstalk vs App Services medianet_width = "600"; medianet_height = "250"; medianet_crid = "858385152"; medianet_versionId = "3111299"; You can find a long list of this comparison here. In conclusion, you do not need to worry that your solution is not exist in AWS. .NET Support for Developer Amazon and Microsoft are open platform cloud computing environment. Therefore, you will find the .NET solution cam be deployed there through IaaS or PaaS environment. However, if you want to develop the .NET solution that utilize the AWS services (i.e. S3) you can download AWS Toolkit for Visual Studio. This is a tool that help you connect, manage, and consume the AWS infrastructure directly in your Visual Studio. You can download the toolkit for Visual Studio 2008, 2010, 2012, 2013, 2015, 2017, and 2019 here. AWS Toolkit for Visual Studio Codes. If you are using Visual Studio Codes the AWS toolkit is ready for you. Just search the AWS toolkit and you will find the way You can get see the getting started video here Comparing the Cost between Azure and AWS If your customer, ask you which one is better. You will be said that solution work great. In term of cost, both services are equal. I am hosting a .NET solution in EC2 instance with 4GB RAM, 2 VCPU, and 100 GB HDD, and Windows. I will get I am hosting a .NET solution in Azure VM with similar spec, I will get You can compare between the solution by visiting: Amazon AWS calculator Azure Pricing Calculator So which one do you choose? I recommend you play it around and decide. If your customer requests are AWS, it is a good time to install toolkit! See you next time! medianet_width = "600"; medianet_height = "250"; medianet_crid = "858385152"; medianet_versionId = "3111299";

Test Driven Development in Go Language with VS Codes

On this article, we want to show you how to implement test driven development in Go Language with VS Codes. What is Test Driven Development Test Driven Development (TDD) is a programming technique when you do test first development. It is introduced in the era eXtreme Programming with their Agile process. The idea of test driven is like this Create the empty function with input and output. Create the unit test regarding the function Make it fail (yes, it shall fail since it's empty function) Correct the function Make it pass It provides you an extra step, but it will make your code quality better Before we start Before we start you should install Visual Studio Codes Go Languages SDK Go extension in VS Codes You can visit the tutorial here. medianet_width = "600"; medianet_height = "250"; medianet_crid = "858385152"; medianet_versionId = "3111299"; Demonstration On this video demonstration, I will show you how to: Create a skeleton function Invoke the Test Generator to generate the test function Creating test case Invoke the unit test Fix the codes Rerun the test till pass medianet_width = "600"; medianet_height = "250"; medianet_crid = "858385152"; medianet_versionId = "3111299";

Visual Studio Codes and GIT Beginner Tutorial Revisited

Four years ago, I created a tutorial about how to use GIT in Visual Studio Codes. Time pass by, Visual Studio Codes provides better integration with GIT in their current version. In this article, we will show you how to use GIT easily in the Visual Studio Codes Before we go Before we dive into the integration between Visual Studio Codes and GIT. You need to have: Current version of visual studio codes. Download here Current version of Git. Download here Account on SCM provides such as Azure DevOps Account, GitHub Account, Bitbucket, etc. Step by Step medianet_width = "600"; medianet_height = "250"; medianet_crid = "858385152"; medianet_versionId = "3111299"; Creating a project in SCM providers Obtaining the clone repository URL Installing SCM provider extension Configuring authentication in Visual Studio Codes Working and Testing GIT operation You can see the Indonesian video here. // video References First time about GIT? You can download this book, to get started. Need more information about integration in Visual Studio Codes, you can read the document here medianet_width = "600"; medianet_height = "250"; medianet_crid = "858385152"; medianet_versionId = "3111299";

Comparing Xamarin and Cordova on Visual Studio 2015

In Visual Studio 2015, you have two options to build mobile apps. The first one is to use the power of the modern web (HTML5+CSS+JS) and the second one is to use the power of C# and object oriented language. This article will discuss those two implementation namely Apache Cordova for building mobile app using the power of web, and Xamarin to develop with the C# language. Xamarin Some of you might know about Xamarin. Xamarin is an extension on Visual Studio that can help you build native mobile application using C#. Whether your project is IOS, Android, or of course Windows Phone, Xamarin will help you to build awesome application. However, there are several challenges on Xamarin which are Is separated extension. Unfortunately, by using Xamarin you should paid yearly to develop and deploy the app starting with 25$ / month – 158$ / month. Although, Xamarin provides a free /low fee subscription but it is limited to student, and academic The code reusability between 60%-100%. it means you can’t really how that write once run anywhere. You should tweak it at least for the user interface by converting to XamarinForm It depends on mono runtime. Mono runtime is good but has limitation compared with original .NET Framework. Despite of the limitation, Xamarin has potential solution if you need. High performance application that can access native API Strong typed and object oriented development to support you flexible architecture Drag and Drop user interface development. If you are Windows Developer, no need to learn JS or HTML. You can build using drag and drop style for IOS or Android. Cordova Cordova is a framework that help you build an application with HTML, JS, and CSS. This is a better solution rather than Xamarin if your: Fluently with HTML5+ JavaScript + CSS No additional cost like Xamarin, it bundles with Visual Studio 2015 even for Community Edition Shared user experience, and shared JavaScript library will help you reach 100% codes similarity Although, it has several challenges such as: Limited native API. as the time, this blog is written. The limited native API has only access to limited functionality of the OS. Interpreted result. The Cordova original results is not native, developer should do extra steps to make the development just like native. And it’s a long story for some real/complex project Open framework makes some newbie developer confuse. For example, you can create same application on Cordova by using AngularJS, WinJS, and Backbone. Which one is better? which one is faster? its depends on your experience by using that framework. Conclusion So which one? it depends on your situation. This is not choice you can test both when necessary and decide it by looking your team performance.

Visual Studio ALM is now Platform-Agnostics

Starting from year 2015 and beyond, Visual Studio has three members which are Visual Studio IDE. A complete end to end application lifecycle management solution for you to plan, build, deploy, and operate your solution. Today Visual Studio supports major development target such as Windows, Android, and IOS. Therefore its platform-agnostics support for any need of development. However, its only can be developed on Windows platform. Visual Studio Online. A complete end to end web application that deliver ALM on the top of teamwork through codes managements, work management, and release management. A must have for teamwork development. it supports GIT, TFS, Eclipse, Visual Studio IDE. Its platform-agnostic that support any platform and tools that you choose for development Visual Studio Code. A lightweight Visual Studio IDE that only supports web and cloud development. its platform agnostic since it supports any operating system like IOS, Linux, and Windows. However, it only supports web and cloud development only. No support for WPF, Windows Form, or Console application. So what i suggest is: Enrol the Visual Studio online at http://visualstudio.com If your team is has similar platform, you can choose Visual Studio IDE from free version such as Community to commercial one such as Ultimate If your team has different platform and only develop on the web, Visual Studio codes is your solution Happy coding!

Topics Highlights

About @ridife

This blog will be dedicated to integrate a knowledge between academic and industry need in the Software Engineering, DevOps, Cloud Computing and Microsoft 365 platform. Enjoy this blog and let's get in touch in any social media.

Xbox

Month List

Visitor