Blog
Writing & notes
Thoughts on web development, tooling, and the things I learn along the way.
Git
C#
How to use other developers work in own project - NuGet Package Manager
NuGet is a package manager for .NET developers widening horizons and makes our job easier. This great tool is giving ability to simply consume libraries made by other developers and use them in our own projects.
Inheritance - Family in programming
Class Inheritance is based on connections between parent class (superclass) and child class (subclass). Child class is able to inherit and use parents’ class (public or protected) variables and methods as same as its own. It has few advantages like among others repetition avoidance what gives ability to create bigger systems without making mess or easy further system development without need to alter variables and methods trough all classes because shared instances are defined only once.
Serialization - how to save objects to file
But this option is good only if we want to create brand new object. What if we want to save object data to file and recover it later? We can either use StreamReader or serialization!
Docker
Start with Docker part 1 - From Development to Release in Seconds
Docker is a tool allowing us to build Containers with a pre-configured environment which can run on every computer with Docker installed. Docker uses special dockerfile which contains a list of commands to execute by the new container, and finally, run our <strong>application</strong> in precise the same environment among all our machines.
Start with Docker part 2 - First .NET Core Container
In the previous tutorial, we learned basic concepts of working with Docker. This tutorial will focus on creating and deploying basic console .NET Core 2.1 application into the Docker container. We will also try to interact with our new container sending some stdin to it.