Posts

Configuration in ASP.NET Core

Image
Lots have changed in the new ASP.NET Core world. From the project structure to the hosting model to the improved Razor engine, the Microsoft team introduced a slew of changes that is more apt for modern web development geared toward the cloud. One of the big changes is the configuration model. In a non-core ASP.NET project, we store configuration settings in the appsettings section of web.config . This is no longer the case in ASP.NET core projects. In this post we will take a detailed look at the new configuration model.

Adding Google Maps to Your AngularJS Application

Image
Hi, in this post I will show how to add Google maps to your Angular application. At the end of this post, we will be able to see the map of the United States and we will be able to pan and zoom.

How to Track Pageviews to Your Website using Google Analytics

Image
In this post I will be showing how to add page view tracking to a website using Google Analytics.

Facebook Login with ASP.NET MVC Web Applications

Image
This post is a step-by-step guide on integrating Facebook login with an ASP.NET MVC Web Application. We will start from scratch and end with an application supporting Facebook login.

Auditing Changes with Entity Framework

Image
Today we will see how we can keep an audit record of entity changes using Entity Framework. This is a very useful feature that can also be a business requirement when dealing with important or sensitive information.

Design Pattern Spotlight: Adapter Pattern

Image
The Adapter Pattern 's intent is: "convert the interface of a class into another interface clients expect. Adapter lets classes work together that couldn't otherwise because of incompatible interfaces" (taken from the Design Patterns book). That statement seems intimidating at first, but the core concept is really simple. In fact, I won't be surprised if you are already using this pattern in your application. Let's talk more about it below.

How to View SQL Queries Generated by Entity Framework

Image
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.