Category: Coding
-
An introduction to Dependency Injection (DI) and Inversion of Control (IoC)
There is so much confusion and arguing about what dependency injection is and whether is the same as inversion of control or just one form of it. If you are new to these terms it can be very confusing to say the least. I’ll try to describe what these are with some examples written in C# and…
-
Building a Todo web app using PHP, Laravel and Bootstrap
I want to learn more about web frameworks that I am not too familiar with. My plan is to write simple web and mobile apps using different frameworks and technology stacks that I don’t have much experience with. While this is not going to make me an expert on any of these technology stacks or…
-
Install MongoDB service on Windows 8
MongoDB (from “humongous”) is an open-source document database, and the leading NoSQL database. Written in C++. MongoDB is great for modeling many of the entities that back most modern web-apps, either consumer or enterprise: Account and user profiles: can store arrays of addresses with ease CMS: the flexible schema of MongoDB is great for heterogeneous collections of…
-
How to add a full page background image to your landing page
I recently decided to update the landing page of one of my projects. I wanted to have a full-page background image and change this background image every time a user landed in this page or refreshed it. Here is what I ended up doing: The <html> tag Since we are replacing the entire background of…
-
How to serve static files for your website using Azure
Killer features and a beautiful design are important things when developing a website. However, none of that matters if your site doesn’t perform well or is not able to scale when necessary. Serving static files such as CSS and images from your web server is not ideal. These are some of the disadvantages of serving…
-
Error 0x80131902: Failed to create the managed bootstrapper application.
This error message has been giving me headaches for a while, I have seen it happen in different Windows computers when trying to install a Visual Studio update or a new version of Visual Studio. If you Google for the string “Error 0x80131902: Failed to create the managed bootstrapper application.” you’ll find some sites and…
-
Programming languages and work opportunities
What is the best programming language to learn these days? this is a question that I hear all the time and this question usually generates all sorts of responses, both good and bad. The reality is that when people ask that question they do it for different reasons and so there is no right answer.…
-
Phone Screen Interview
When you are hiring a developer and start looking at resumes or LinkedIn profiles it is very common to find people with a great resume or professional profile – but be careful because having a great looking resume or awesome LinkedIn profile doesn’t always translates into greatness – this guy must be great, it has…
-
How to use Active Directory groups to restrict access to controller actions in ASP.NET MVC and make your application even more secure!
It’s been a year and one of the most popular posts in this blog still today is How To: Secure your ASP.NET MVC application and use Active Directory as the Membership Provider. In that post I promised to write about how to use Active Directory groups to restrict access to controller actions to make your…