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";

Indonesian Tutorial for Unity and Visual Studio

Building Game is Fun! Video Game is fun, building game is more fun and challenging. On this weekend, I create five videos related with the beginner tutorial in Unity 2020 and Visual Studio. You can learn for free in #VSID YouTube Channel. On the first season, we have five videos to introduce you the Unity platform, Visual Studio, and C# scripting. Environment configuration. We will learn about how to setup Visual Studio 2019 and Unity 2020 Basic Scripting in C#. On this video, we will learn how to attach script in Unity using a C# programming language Components and Assets. On this video, we will discuss how to become productive by understanding the components and assets in Unity Timer Programming. On this video, we discuss how to create the timer that can be useful for many games. Triggers and Events. On this video, we will discuss how to codes about triggers and events interaction between objects. For example, our player reach the coins and get a point. medianet_width = "600"; medianet_height = "250"; medianet_crid = "858385152"; medianet_versionId = "3111299"; You can see the Indonesian video on this playlist See you in the season 2! medianet_width = "600"; medianet_height = "250"; medianet_crid = "858385152"; medianet_versionId = "3111299";

Three Steps to Setup Virtual Labs

Virtual Labs Decision Model Although virtual lab is promising to deliver the hands-on experience to the student in massive and simple way. Virtual Labs is not a silver bullet for any situation. Virtual Lab can be done if There is no need with special hardware There is no urgent need for specific physical skills / behavior The hardware can be replaced by the simulator The software can be obtained by the student / the organization The safety and health environment protocol can be prepared and followed by the student Virtual Labs Execution Model Whether you are creating a lab for DevOps, professional development for your employer, or managing classroom / school lab for course. Virtual Lab might be an answer for delivering a practice experience to the students / participants. Today I will discuss how to setup the virtual lab by using Cloud Computing technology. There are two main scenarios for virtual labs. The scenario can be blended for specific need. // Self-Paced Virtual Lab. This is asynchronous model when student can learn and practice with their own hardware or organization hardware. The idea of this virtual lab is by giving the student guidance and the student can do hands-on-lab based on their prime time. Remote Learning Virtual Lab. This is synchronous model when student can learn and practice with the assistance of a mentor / facilitator. The idea of this virtual lab is by giving student virtual classroom and assistance during the hands-on-lab. Virtual Labs Infrastructure Option There are two options when preparing the infrastructure Bring your own device (BYOD) option. The student will prepare the hardware, the software, and the connection itself. The organization needs to prepare a guide / hands-on-lab module for the lab. This can be done when the software / hardware can be obtained easily (consumer computing platform) Virtualization option. The organization will prepare the computing infrastructure and the simulator. The organization manages many aspect of the infrastructure the student only need to prepare the sufficient internet connection. Virtual Lab Setup The virtual lab can be setup based on the three previous steps above. To understand more, let's do some virtual lab implementation sample. Virtual Labs Implementation Sample Let us Imagine Contoso University will hold a virtual lab session for their object-oriented programming lab works (OOP Lab works). Virtual Labs Decision Model Yes, the virtual lab can be implemented because OOP Lab works does not need special hardware OOP Lab works only need computer and IDE (Integrated development environment) OOP Lab works safety and health environment can be followed by student Virtual Labs Execution Model The OOP lab work has 6 units module, 5 practice sessions and one capstone project session. 5 units will follow the remote learning virtual labs, and one capstone unit will follow self-paced virtual lab. Virtual Labs Infrastructure Option After capturing the student hardware capability, the Contoso University choose the virtualization option. This is to make sure that every student will help similar experience with hardware and software configuration. Virtual Lab Setup On this setup, the organization already subscribe two cloud services Office 365 subscriptions for education. It is a free subscription from Microsoft Cloud Computing Subscription based on Microsoft Azure. You can start free here Hardware Configuration The organization creates the Azure Lab Services by following these steps Campus admin creates the lab account Instructor / facilitator creates the OOP lab here Students will connect to the lab Software Configuration Microsoft Teams is created by following these steps The hands-on lab module is created and deployed in Microsoft Teams The assessment is created and deployed in Microsoft Teams Assistant is enrolled to the Teams Channel is configured and the students are enrolled The VM is created by following Azure VM with Visual Studio 2019 on it. The VM contains Microsoft Teams application from Office 365 subscription Having idea to implement Virtual Lab for any other scenario, please share on the comment below. //

5 Tips to improve your codes

On this video, i will share about how to improve your codes after your first iteration. This video will discuss what you should prepare, engage, and solve in the codes development world. After seeing this video you will understand how to plan, prepare, and develop your own codes You can visit the useful link of this video below  //

Object Oriented Analysis and Design with Visual Studio

Today, i created a video about object oriented and analysis design overview. This document will discuss how to do software development by following OOAD approach. After watching this video, you will understand how to Create use case Create domain model Create class diagram  Create codes based on your class diagram Enjoy! medianet_width = "600"; medianet_height = "250"; medianet_crid = "858385152"; medianet_versionId = "3111299";

Five Things that you do in Visual Studio 2019 to Improve your codes

Building codes is one of the top missions of any software developer in the world. Improving our codes to improve code readability, maintenance, and performance. Today, we will discuss five things that you can do to improve your code's quality by using Visual Studio. Let's get started   // #1 Code analyzers This is a good feature to understand your codes better. This technique uses FX cop to analyze your codes. You will have a recommendation, code-tips, and comments about your codes based on common coding practices #2 Code Cleanup You can run code cleanup to clean and to eliminate useless codes. You can configure the clean up just like a disk cleanup in windows. Less is more. #3 Live share Need a code monkey or support from the expert pals. You can get in touch with them by using Live Share. Live share is a code-sharing feature by using live streaming protocol. You can collaborate with more than five persons to build codes on the same pages. The editing process will be live just like document editing in Office 365. Just give them a link, and you are ready to go #4 Refactoring Refactoring comes with quick action features that allow you to improve the codes through a contextual recommendation. Just hover your codes and choose quick actions and refactoring, you will amaze how refactor process can help you to compose efficient codes. #5 Say no to Copy and Paste Codes Visual Studio has a code clones features to help you identify the repetitive codes. You can run the code clones, and the Visual Studio will help you identify the replicated codes and how to manage it. Pro Tips: Run the code clones, and then refactoring will make you. That's it five tips to manage your codes easily by using Visual Studio 2019, have other tips to improve your codes? Just put in the comment, and I will add it to the list. Enjoy your weekend //

Beginner Guide for Azure Artifacts

You have three teams. The team has a new project called Hotel Technology. Hotel Technology provides end to end solution for room reservation and guest management. You create two main system the first one is web app (team A) and the second one is a windows app (Team B). Both developed with .NET Standard. The problem is two apps need one custom package namely Hotel Backend package. Hotel Backend Package is a custom package that updated by another teams (Team C). The question is how to make sure that the Team A and Team B always obtain the latest version of the Team C custom package. This kind scenario can be helped by the Azure Artifacts. medianet_width = "600"; medianet_height = "250"; medianet_crid = "858385152"; medianet_versionId = "3111299"; Azure Artifacts is a new kid on the block that help teams to maintain a development package that can be used across the team. Imagine the concept of custom dependency for a project. Azure Artifacts helps you to manage the package. Let's get started how we do that. Creating new feeds Registering feed to Package Manager Configuring the Builds Pipeline Obtain the feed artifacts Creating new feeds On this scenario, team c creates a feed. Feed is endpoint that broadcasted the custom package. In the Azure artifact, you can create new feed easily. The feed will be broadcasted as an URL that can be consumed through Visual Studio or another system. Feed works like NuGet Registering feed to Package Manager After creating a feed, you will obtain unique URL that can be registered in Visual Studio. This can be done by visiting NuGet package manager and add the package sources. Configuring the build pipeline The registered feed can be pushed by the Azure Pipeline. With NuGet Push, we can push the result of the build to the feed. Obtain the feed The feed can be obtained by refreshing the feed in visual studio or Azure artifacts page That's it, enjoy the artifacts and package management medianet_width = "600"; medianet_height = "250"; medianet_crid = "858385152"; medianet_versionId = "3111299";

Getting Started with Spotify API with Visual Studio

I have personal project to understand the meaning of music through Azure Cognitive Services. In order to obtain music information, I use Spotify. Spotify is a music subscription services just like Amazon, Pandora, or Apple Music. Spotify has API that can be accessed through our application. On this post, I will overview the Spotify API and how to integrate it on Visual Studio 2019 Development environment. medianet_width = "600"; medianet_height = "250"; medianet_crid = "858385152"; medianet_versionId = "3111299"; Before we begin You should register and create Spotify account and activate your developer account here. You should also install visual studio 2019 here Our Mission On this mission, we will explore the Spotify API and will create skeleton project in Visual Studio. #1 Creating and Application on Spotify You can login to Developer Dashboard on Spotify. If you have trouble login, I suggest you use another browser like Opera, I have login issue with Edge / Internet Explorer. You will create an app to get client ID and Client Secret. After obtaining client ID & Secret, we can continue the look the documentation #2 Understanding the Spotify API features Let's visit the docs pages here. You can see that Spotify has several categories on their API platform. The Web API. Many analytics scenario can be obtained through this API. Playlists, recommended song, history, and many more. It is good API for your music and personalization need. Web Playback. This will developer create music player by using Spotify control. IOS, Android, and Widgets. This API will have specific features for the selected platform. For this article, I will choose the Web API and see the dynamic documentation through console. You can explore the API, through console. It uses JSON for the data format. #3 Creating Spotify Project On this step, I will use class library that will use the Spotify API. You can create any project in Visual Studio. You have two choices to consume Spotify API. The first choice is by using JSON Parser (just like Newton Soft). The second choice is using the API wrapper. We use the second choice on this article Open your NuGet Manager and Search Spotify I use Spotify Net by installing through NuGet #4 Let's Call the API We got some help from Spotify Net. It means we don't need to do REST API call. I create a class library project with SpotifyHelper class. The AccessToken can be obtained from here and click the Get Token. In real project, we will create a login to obtain the token. The codes will list top ten artist based on user. #5 Let's test the API I create the windows forms app. Creating a simple interface and call the class library I get my top ten artist that listened by the user  That's it! You can try by yourself and ping me for any questions. medianet_width = "600"; medianet_height = "250"; medianet_crid = "858385152"; medianet_versionId = "3111299";

Visual Studio 2019 Installation Tips

On this video, we show you how to install the Visual Studio 2019 in elegant and modern way. The five tips show you how to minimize the problem in the installation. Here are the tips Choose the installation package based on your needs (never install the entire package) Always consider to visit the individual package to see your needs Restart your Windows first and make sure the space is sufficient. If you have Visual Studio 2017, install Visual Studio 2019 first to make installation faster by utilizing the existing package. Choose download all then install, rather than download and install here are the Indonesian video.   //

Object Oriented Pillar Demonstration

On this video, we will discuss about the object oriented pillars. it includes polymorphism, inheritance, and encapsulation. This 15 minutes video will tell you the story by creating an application namely CarApp. You can download the codes here You can visit related material here //

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