Create Jasmine Test Harness Page in ASP.NET MVC

In this post I will document how to quickly create a test harness page in ASP.NET MVC project that runs JavaScript tests using Jasmine unit test framework. First of all, let’s talk about project structure.  I have traditional ASP.MVC project and I am using Angular framework to build Single Page Application.  Hence, my project structure …

Continue reading ‘Create Jasmine Test Harness Page in ASP.NET MVC’ »

Talk at AMDev Meetup

I spoke at Atlanta Microsoft Developers Meet up yesterday.   I did the following talk.   Leveraging ASP.NET MVC and Knockout in a Web Application This session is all about leveraging the power of data binding from knockout and traditional ASP.NET MVC views with unobtrusive validation.  We will see how we can inject knockout binding using …

Continue reading ‘Talk at AMDev Meetup’ »

Talks at CodeStock 2013

I spoke at CodeStock last Saturday, for the third time.  I really do enjoy attending this conference, both from attendee and speaker perspective.  I did the following two talks.   Leveraging ASP.NET MVC and Knockout in a Web Application This session is all about leveraging the power of data binding from knockout and traditional ASP.NET …

Continue reading ‘Talks at CodeStock 2013’ »

Injecting Global Variables into Angular Through ASP.NET MVC Master Page

As I am learning Angular, using it in conjunction with ASP.NET MVC I faced the following issue.  I need to inject some global variables into my Angular app.  Specifically, I would like to inject root url and current running version.  Root Url I will be using for communication with the server and version will be …

Continue reading ‘Injecting Global Variables into Angular Through ASP.NET MVC Master Page’ »

Calling MVC Controller On Periodic Basis in JavaScript

Here is a business use case I am trying to address.  After a web page is loaded, I need to make a server call every so often and make certain parts of the web page visible or hidden based on server call results.  In my case I am checking the state of the object in …

Continue reading ‘Calling MVC Controller On Periodic Basis in JavaScript’ »

Binding to Models with Array Properties in ASP.NET MVC

One of the common tasks I encounter periodically is submitting a simple array of strings or numbers from JavaScript to a controller method for processing.  It seems like I struggle often trying to make it work.  So, this time I decided to develop a simple and easy to use solution.  I decided to utilize custom …

Continue reading ‘Binding to Models with Array Properties in ASP.NET MVC’ »

Getting Started with Angular (Modules, Controllers, oh My)

I have started studying Angular framework a few weeks ago.  I always try to keep up with frameworks out there in the world to see if any of them can save me time and fill in specific needs for my projects.  I was attracted by apparent simplicity of Angular, judging by few demos I viewed.  …

Continue reading ‘Getting Started with Angular (Modules, Controllers, oh My)’ »

Your First Mobile Application in Icenium and Web API

Icenium Graphite is a new product from Telerik.  It is a part of a larger offering, Icenium.  You can download it now for free from Icenium web site.  The idea behind the tooling is simple.  It provides an environment for developers to create mobile applications using HTML and JavaScript that can be deployed to iOS …

Continue reading ‘Your First Mobile Application in Icenium and Web API’ »

Using WebApi in Multi Tier Web Application

I really like the idea of using Web Api technology.  I have been wondering however for a while about using this technology in multi-tier web application.  All the demos I have seen expect to have connection string in the web application exposed by Web Api.  I think that not having an ability to run a …

Continue reading ‘Using WebApi in Multi Tier Web Application’ »