• Creating a photo album for ASP.NET MVC 5 Users using Azure BLOB storage

     In this blog post, we will integrate ASP.NET MVC with Azure BLOB Storage by saving an image for an ASP.NET Identity 2.0 user in Azure BLOB Storage. We’re going to cover a lot of ground in this post, including:

    • Using ASP.NET Identity 2.0 user as reference in other table.
    • Creating a one to many relationship with ASP.NET Identity 2.0 user table
    • Connecting an ASP.NET MVC application to Azure Storage
    • Creating or Uploading…
    • Mon, Jan 25 2016
  • Creating Unit Tests for ASP.NET MVC Controllers

    In this blog post, we will learn to write unit tests for various MVC controller’s behaviors, such as view’s return types, redirecting to different actions etc. Specifically, we’ll cover writing Unit Tests for:

    1. ViewData of the Controller
    2. TempData of the Controller
    3. ViewBag of the Controller
    4. View of the Controller

    Let’s get started!

    Creating the MVC Project under Test

    Let us go ahead and create…

    • Fri, Jan 15 2016
  • Getting started with Azure API Apps and Azure MVC web App in Azure App Service

    In this article, you will learn how to create Azure API Apps and an MVC client deployed in Azure We App. This is going to be a very simple application connecting various components of Azure App services, and to build it we’re going to use Azure API App, Azure Web App, and SQL Server in Azure. A high level architecture of the application can be drawn as shown in the image below:

    Essentially, in this post we will…

    • Mon, Jan 11 2016