How to View SQL Queries Generated by Entity Framework

Entity Framework works by translating C# code into SQL statements, executing those statements on a target database, and taking care of mapping any return values back to C# objects. But have you ever wondered what the generated SQL statements actually look like? In this post we will be using a free and simple tool that lets us view the SQL executed on the database.

AngularJS AJAX GET and POST Example with ASP.NET MVC JsonResult

A while back I blogged about Using JQuery AJAX GET with ASP.NET MVC JsonResult. This time, we will be talking about using AngularJS for making GET and POST methods using the $http service.

Some Tips on Organizing Code

One of the signposts pointing to clean code is well-organized code files. Contrary to popular belief, aesthetics and organization are important when it comes to writing code, because having organized and structured code improves readability. A piece of code written once will get read multiple times, so it's worth the time to put a little more effort into improving the code's readability. In this post I will be sharing some tips on how to make more organized and readable.

End-to-End Image Upload with Azure Storage, AngularJS, and Web API

A common feature in web applications is image upload. Images can be stored on disk, in the database, or in some other server. In this post we will take the third approach and store images using Azure Storage. We will also be using AngularJS on the front-end and Web API in the back-end.

Developer Mindset - Software as a System

In this post I will share a mindset that would help you build cleaner and more maintainable code. I am calling this as thinking of "Software as a System".

Converting JSON Data Into C# Objects

There are times when we would need to convert JSON string data into C# objects. An example would be when consuming some Web API that returns JSON data. Although we can work with the JSON string data directly, it would be much nicer if we could somehow convert the data into an object, so that we can work with them more easily. In this post we will talk about how to do this.

Libraries and Frameworks

Today we are going to take a look at libraries and frameworks. We will describe each of them and take a look at some examples for each. We will also take a look at a practical example of how being able to distinguish between the two will help us in our daily coding.

Using Bower in Visual Studio

Today we are going to look at a very useful tool for managing client side CSS and JavaScript libraries - Bower.

Why Use ViewModels?

Let's talk about a simple but important topic: why use viewmodels in our web applications. Specifically, the kind of viewmodels that we will be talking about are the ones that are used as parameters or return values in controllers.