Generic MVC View Controller for Angular Apps

I blogged many times before on use of CSHTML MVC views in Angular application.  They make it easier to implement things like validation and localization, as well as generate uniform look and feel for views.  However, I am still against using those views to serve the data.  The data should always come from data services, …

Continue reading ‘Generic MVC View Controller for Angular Apps’ »

Testing Routes for Web Api Controllers

In this post I will describe in detail how to perform integration tests on Web Api controllers, including routes and authentication.  I am going to use the same Angular MVC application I used in many of my Angular posts.  In this application I use Structure Map dependency resolution, but the same testing approach will apply …

Continue reading ‘Testing Routes for Web Api Controllers’ »

VS Live 2014 Chicago

Yesterday I spoke at Visual Studio Live event in Chicago.   I presented two talks, really on the same topic – building web applications with TypeScript and Angular.  My demos and presentations actually touched on a number of other technologies – Entity Framework, Web Api, ASP.NET MVC.  I wanted to post the slides and demos. Build …

Continue reading ‘VS Live 2014 Chicago’ »

Talk at SQL Saturday Atlanta

Today I spoke at SQL Saturday in Atlanta, an excellent event completely dedicated to educating software and database developers on many SQL Server related topics.  I am honored to have been selected to be a speaker.  I spoke on SSDT – SQL Server Data Tools.  As usual, I had fun in a tech crowd.  I …

Continue reading ‘Talk at SQL Saturday Atlanta’ »

Re //Build/ Event in Atlanta

At the //build conference, there were many exciting news about Windows, Windows Phone, Windows Server, Windows Azure, Visual Studio, and new technologies like Cortana and MORE. The new and updated technologies presented provides developers a path to creating and implementing great ideas, and then differentiating them in the market.  We want to share that excitement by bringing some …

Continue reading ‘Re //Build/ Event in Atlanta’ »

Visual Studio Live – Chicago

I’ll be speaking at Visual Studio Live!, May 5-8 in Chicago, IL http://bit.ly/CHSPK02 Surrounded by your fellow industry professionals, Visual Studio Live! provides you with immediately usable training and education that will keep you relevant in the workforce. I’ll be presenting the following sessions: Build Angular Application using TypeScript – Part IBuild Angular Application using …

Continue reading ‘Visual Studio Live – Chicago’ »

Testing Controllers in Angular with Jasmine

I blogged a while ago about how to build ad-hoc test page for Angular / ASP.NET MVC Application.  In this post I will try to establish a pattern for testing Angular controllers using TypeScript and Jasmine.  Before you start, you have to use Nuget and bring in jasmine framework. I used version 1.3, as I …

Continue reading ‘Testing Controllers in Angular with Jasmine’ »

Building Recursive Interfaces in Angular and Entity Framework

I had an interesting problem to study today.  The business problem is quite simple.  I want to allow users to enter a number of items on a screen that are recursively related.  To illustrate here is what I have in mind Item 1 Item 1.1 Item 1.2 Item 1.2.1 Etc.. I do not want to …

Continue reading ‘Building Recursive Interfaces in Angular and Entity Framework’ »

Dealing with Direct Object References in Web Api and Angular

I blogged here a long time ago about one way to deal with direct object references in ASP.NET MVC application.  Today I want to describe my solution to the same problem in an Angular application that is using ASP.NET Web Api for server data access. Core approach is still the same, and I will still …

Continue reading ‘Dealing with Direct Object References in Web Api and Angular’ »