ServiceStack Logging with Slack Integration

Besides my series on how to get started with ServiceStack, I have already published a few articles that are related to the topic, but do not belong directly to the introductory series. In the last such article, I used the example of coinmarketcap.com to show how to access third-party APIs using the C# client. Today, I’ll show you how to use ServiceStacks Logging API and link it to a slack channel. The prerequisites for this article are an existing Slack account and a simple ServiceStack service (see my article on this topic). ...

December 6, 2017 · 2 min · Marcel Jurtz

Query Coinmarketcap API using ServiceStack

In the first article of my series on using ServiceStack I mentioned the feature of the framework that the individual components can be used independently of each other. This short article is intended as an example of how the C# client can be used separately from a custom service to communicate with third-party APIs. If you would like to know more about the client specifically, you can read my article on this feature. ...

December 4, 2017 · 3 min · Marcel Jurtz

C# Preprocessor Directives

You can use preprocessor directives in csharp to provide straightforward instructions to the compiler. For example, these directives allow you to execute certain code elements only under predefined conditions. Another possible field of use is simply the structuring of your source code into blocks, which can be folded in and out of Visual Studio. In this article I will discuss some of these directives. Preprocessor directives are always started with a #-symbol. ...

December 2, 2017 · 2 min · Marcel Jurtz

ServiceStack - Authentication and Authorization

This is the fourth part on my series on how to get started using ServiceStack. Be sure to check out the earlier articles, if you haven’t read them already: Part 1 - What is ServiceStack and why should I use it? Part 2 - Building a Simple Service Part 3 - Using the C#-Client Today, I’ll be adding basic authentication and authorization to the project we’ve created over the last parts. As always, you can get the source code from GitHub. ...

December 1, 2017 · 6 min · Marcel Jurtz

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