ServiceStack - Using the C#-Client

After we covered the basics of ServiceStack in part one and how to set up a service in part two of this series. Today we’ll go through how the C#-Client can be utilized to make communication between applications even easier. The sourcecode for todays article is available GitHub. If you missed one of the previous parts, feel free to check out Part 1 - What is ServiceStack and why should I use it? or Part 2 - Building a Simple Service. ...

November 27, 2017 · 3 min · Marcel Jurtz

ServiceStack - Building a Simple Service

This is the second post in my series on building web services with ServiceStack. In the first part, I covered the benefits of using ServiceStack, this article continues with the setup of a basic service and its several components. In this and the following parts I will create a simple example project to illustrate the use of servicestack. This project will be an expenses tracker. In this part, we will develop the functionality to add expenses and establish an overall balance. In the following part we will combine them with the C# client. ...

November 25, 2017 · 5 min · Marcel Jurtz

C# - Mastering the Basics - Application Architecture

In this series, I discuss the optimization of the basics of programming in C#. This article deals with the basic structure of an application and its different components. C# Application Architecture The top level always represents the so-called solution. A solution can contain several different projects, whereby a project can be used by different solutions, which allows to reuse source code. Each of a solutions projects compiles into either an executable or a dll. ...

November 25, 2017 · 2 min · Marcel Jurtz

What is ServiceStack and why should I use it?

This article is the beginning of a series of articles in which I want to discuss the basics of building web services and designing REST APIs using ServiceStack. This first article discusses the question of what ServiceStack is all about, the benefits of it, and why you should use (or at least try out) this framework. The following articles will then discuss the design of a simple service by using a simple example to illustrate the various possibilities it offers. Each chapter ends with a summary to provide a quick way to look up previous sections. ...

November 23, 2017 · 4 min · Marcel Jurtz

Voxel Explosions in Unity

This article describes the process of creating voxel explosions in Unity by using particles. For our models, we use MagicaVoxel, but every other tool can be used as well. The final result will look similar to this: Setting up the test environment For test purposes, I’ve set up a basic FPS environment using the built-in CharacterController package. I then added a gun model to the _FirstPersonCharacter _game object, which is located as child element in the hierarchy of the FPSController. The following snippet shows the code I added as a custom script component to the gun: ...

November 16, 2017 · 7 min · Marcel Jurtz