Comments and how to use them

Comments are used in a lot of programming languages. While this concept is useful for a lot of purposes, beginners often start bad habits when commenting their code. In this article I will explain when comments are useful and on the other hand illustrate problems where commenting can be less meaningful or even disturbing. Bad Comments … At first sight (especially at the beginning of your programming career), you might think of comments as the perfect way to describe elements of your code that you don’t fully understand. This approach is not entirely wrong, but it does have a few problems that I will now discuss. ...

December 15, 2017 · 4 min · Marcel Jurtz

Validating LiteDB Data from an Android App

In my new sideproject CryptoFolio, which I announced in this article, I described that I’d like to use LiteDB to locally store data that I received from the coinmarketcap-API. LiteDB is basically a NoSQL database, in particular a document store. It functions on a serverless file basis and can be accessed via a simple API. While it is quite easy to implement the databases functionality itself, testing the resulting data structure is somewhat more difficult. But to be sure that my data is saved correctly, I needed a way to explore the database located on the android device. Therefore, I use the following approach: ...

December 14, 2017 · 2 min · Marcel Jurtz

Sideproject: CryptoFolio

Today I would like to introduce my current side project. I’m currently developing CryptoFolio, an app that allows you to keep track of your investments in cryptocurrencies. Functionality & MVP The first release of the application will allow you to view the current rates of the top 100 cryptocurrencies with the highest market capitalization. You can then add investments, where input, output and the date of the transaction is recorded. ...

December 10, 2017 · 3 min · Marcel Jurtz

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