Category: Coding

  • Creating a new .NET Core application using the dotnet command line

    .NET Core is a general purpose development platform maintained by Microsoft and the .NET community on GitHub. It is cross-platform, supporting Windows, macOS, and Linux, and can be used in device, cloud, and embedded/IoT scenarios. This is a simple guide to get you started with .NET Core by creating a simple Web API template using…

  • How to add simple logging to your Web App using Elmah

    Logging is a crucial part of any application. Logging can be used to track events, identify code issues, security holes, etc. In this blog post, I’ll describe how to add logging to your ASP.NET web application using an open source logging framework called Elmah. Elmah has been around for a while, it became very popular…

  • A weekend of code, ideas, and diversity

    This past weekend I attended the 2016 Diversity Hackathon organized by Women Who Code Austin. This event was a 3-day hackathon and a celebration of diversity. This type of event sparks my curiosity and creativity in a very particular way. There are always constraints of time, resources, equipment and space. And yet, somehow people at…

  • What is your dream job?

    Have you asked yourself this question? what’s your dream job? To be honest I am not sure if I can answer this question. My dream job is really a list of things I am actually doing presently and other things I wish I could do as well. I am curious to know what your dream job…

  • How to enable the new Command Prompt features on Windows 10

    Windows 10 is packed with lots of new and old features such as the beloved Start menu. One of my personal favorites is the new Command Prompt and its new features. For years, a lot of us have suffered the limitations of the command prompt such as not able to resize the window or simply paste data using Ctrl+V. These annoyances are now…

  • Programming: A short history of computer languages

    Programming: A short history of computer languages

    What is computer programming The action or process of writing computer programs, that is the definition of computer programming. Unfortunately, that doesn’t tell us much. In a more descriptive way, programming refers to the act of describing processes and procedures by developing a list of instructions and commands for a computer to execute. The type…

  • An introduction to Single Responsibility principle (SRP)

    This is the fifth and last article describing SOLID principles. This article is about the Single Responsibility principle. Hopefully it will help you understand what the principle is all about and why it’s important to keep it in mind when designing and writing your code. What is the Single Responsibility principle? Here is the definition…

  • An introduction to Open Closed principle (OCP)

    This is the fourth article on SOLID principles which I started a few weeks ago. I hope this is useful for you and that it gives you a simple understanding of what the Open/Closed principle is all about. What is the Open Closed principle? Bertrand Meyer coined the term Open/Closed Principle which appeared in his book…

  • An introduction to Liskov substitution principle (LSP)

    This post is about the Liskov substitution principle (LSP). This is also the third of my posts about SOLID principles, following the posts I wrote about DI and ISP in the past few weeks. What is Liskov substitution principle (LSP)? This principle is based on Barbara Liskov’s definition of subtyping, commonly known as the Liskov substitution principle…

  • An introduction to Interface Segregation Principle (ISP)

    Last week I wrote a post about Dependency Injection (DI) with some basic examples in C#. Today I would like to write and offer a simple example of what is known as Interface Segregation Principle (ISP) which can happen if you are not careful when using and implementing interfaces in your code. What is Interface…