Video Game Development in .NET Framework

Video game development in Visual Studio Microsoft loves video games. Xbox, Game Pass, and DirectX is a real proof that Microsoft is committed to video game. As a result, we see a lot opportunity to build video game in any platform with Microsoft Based technology. You can see a specific section namely gaming. Microsoft has two categories: Game Development with Unity (C#) and Game Development with C++. It means you can build a video game with managed codes or native C++ codes. Microsoft provides support for Unity (2D/3D), DirectX (2D/3D), Unreal 3D, and Cocos2D. it's more than enough for developing a game. Additional Video Game Development tools If you feel you need more video game development tools you can visit these links MonoGame. It's a successor of XNA Framework. MonoGame provides multi-platform development for video game. You can visit Getting Started | MonoGame Documentation to learn more about MonoGame. What I love from MonoGame is well integrated with Visual Studio. However, it basically collection of library so you need to do extra effort to build game and contents. GoDot. It's a new game engine. GoDot provides project manager and editor for game development. You can learn more here Godot Docs – 3.3 branch — Godot Engine (stable) documentation in English WaveEngine. It's a professional game engine and animation based on .NET 5. You can develop AR and MR video games with WaveEngine. You can see some demos here GitHub - WaveEngine/Samples: This repository contains all the official samples of WaveEngine. Stride. It is awesome game engine with support for multi deployment and C# 8.0 supports. You can learn more at Stride documentation | Stride ( FlatRedBall. It a good game engine for building 2D videos games. You can learn more about Tutorials – FlatRedBall   medianet_width = "600"; medianet_height = "250"; medianet_crid = "858385152"; medianet_versionId = "3111299";

Consuming Rest API in an Easy Way

Background There are numerous ways to consume REST API in C#. Starting with HttpClient, WebClient, HTTPWebRequest and Third-Party API. On this post, I will show you how to consume REST API in an easy way with C#. Requirements For this lab we use: Visual Studio 2019 – Newton soft JSON - Rest sharp - Horoscope REST API sample – // Let's get started #1 Creating a project with Visual Studio 2019 we created two projects the first one is Class Library and the second one is Console App. It used .NET Framework 4.7.2. we downloaded two Nuget package: Newtonsoft JSON and RestSharp for the Class Library project #2 Composing Classes for our REST objects The REST API will be consumed as an object. Therefore, we created several classes and enumeration #3 Creating Class that Consumes the REST API We created a class that has a method to consume REST API. We deserialize the REST API as shown below. We read the content and save the result into Zodiacresult Class. Please note we use DeserializeObject (from newtonsoft) and RestClient (from restsharp). #4 Creating Class that Display the REST API We created a console app that consume the library. The REST API has a nested result. Therefore, the Zodiacresult contains an array namely Meta object. We consume the Meta object and accessing through their properties. #5 Testing the result Lets push the F5 button and you can see, we can consume the rest API easily in dotnet. Have a question? Just put it in the comments. Enjoy your weekend. //

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.


Month List