Entries by ajtowf

Live coding 5th session – Authentication with ASP.NET Identity, OWIN, WebApi2 and AngularJS

In this session we extended the api to only accept authorized requests and implemented authentication logic from the client. We used ASP.NET Identity for user account management and OWIN middleware for token authentication. The application now supports multiple users and in the next session we’ll implement support for 3rd party login providers such as facebook. […]

Customize your TFS build process to run StyleCop

This will be a short guide on how to get StyleCop to run for every check-in as a part of your build process in TFS or VisualStudio Online. You may also integrate stylecop with the project’s MSBuild file, see StyleCop docs for how to do so.   Start off by downloading and installing StyleCop and TFS build extensions. Build controller changes […]

AngularJS Loading Indicator / Splash screen

How do we prevent the flash of unrendered content (FOUC)? We don’t want to simply hide the unrendered content from the user since the user may think that the app is broken, especially if they’re on a slow connection. The browser will start to render elements as soon as it encounters them, we can use […]

Mobile Angular UI with Bootstrap 3

I’ve been looking for a nice mobile UI framework that plays well together with angular for quite some time now. When I started developing golf-caddie.se jQuery Mobile was pretty much the only competent framework out there and it was quite cumbersome to get it to play nice with angular. So every now and then I try […]

Live coding 4th session – Implementing backend with WebApi2 and EF Code First

Implemented the backend as a RESTful service using WebApi2 and persistent storage to a SQL database with Entity Framework Code First. In the next session I’ll implement support for multiple users and authentication with facebook. Live demo @ http://meetometer.azurewebsites.net/ Source code @ https://github.com/ajtowf/meetometer/   POST SCREENCAST EDIT Forgot to setup automatic upgrading on application startup since I […]

Integrate blog engine into existing site

So I got BlogEngine.NET running on my personal tech blog (this site) and I want to add a simple news feed to my corporate site to announce various happenings and job openings. Wouldn’t it be great if I could just create a dedicated news blog here and then just display the posts on my company […]

Updated blog engine and design

Took the time to migrate to blogengine 2.9 a couple of days ago, about time since the last theme didn’t even have responsive design. I really liked the default theme so I stuck with it, just made some simple tweaks to the layout.  I also made some changes to the YoutubeViewer extension to make it responsive […]

Live coding session 3rd sitting – Storing meetings

Added some functionality to store meetings, everything still lives in the browser and local storage but now we have something meaningful to store and sync with the server that we’ll implement in the next session. Live demo @ http://meetometer.azurewebsites.net/ Source code @ https://github.com/ajtowf/meetometer/ Until next time, have a nice day!   Keywords : VS2013, Azure, HTML5, JavaScript, […]