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 for its pluggable framework. Elmah can be dynamically added to a running ASP.NET web application, or even all ASP.NET web applications on a machine, without any need for re-compilation or re-deployment. Another common open source logging framework for .NET is a port of the excellent…

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 these events create interesting applications. It is very exciting and motivating to be part of a hackathon.   These events usually start with a networking meeting where hackathon participants have an opportunity to talk about their ideas, listen to other people’s ideas and to form…

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 is so I created a page where you can answer this question: https://internsandinternships.com/whatisyourdreamjob So tell me, what is your dream job? After collecting enough answers I’ll be sending the aggregated results to the email address you use when answering the question in this page.

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 part of the past, and if you want to enjoy these new features too, you’ll need to follow the steps below. Enable New Command Prompt If you have upgraded to Windows 10 and you use the Command Prompt, make sure you follow these steps to enable…

Alfred Edward Chalon [Public domain], via Wikimedia Commons

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 of objects that these instructions manipulate are numbers, words, sounds, images, and the like. The goal of manipulating these objects is to make a computer perform a task and get results which would be nearly impossible for a human being to perform in a timely and…

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 from Wikipedia: The term was introduced by Robert C. Martin in an article by the same name as part of his Principles of Object Oriented Design, made popular by his book Agile Software Development, Principles, Patterns, and Practices. Martin described it as being based on the principle…

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 titled Object Oriented Software Construction in 1988. The principle reads “software entities (classes, modules, functions, etc.) should be open for extension, but closed for modification“.