The quest for a HTML5 document viewer
Background My first thought when we were planning the project was to go with something like Google Docs Viewer or a similar solution, but since the application will be running on the clients intranet, this was a no go. Neither the application nor the
Creating multilingual support using AngularJS
"Create multilingual support for the web site". I just got this task for a client project, and I think it’s fair to assume that others will get this task in the future, so this blog post shows how I implemented this for my project.
Scaling concurrent connections with node.js and Socket.IO on IIS
These days I am working on a websockets-solution based on node.js and Socket.IO. With my development server running in Azure on IIS behind the brilliant iisnode I had everything set up and ready for performing some basic load tests, or so I
Patch Tuesday tip (especially useful for VM users)
After updating the .NET framework through Windows Update, you could experience a temporary performance degradation. For users of multiple VMs, this can be a big problem. Here is a tip for speeding up the process. First, a little background. My virtual environment is rigged
Configuring the secure token signature algorithm in Thinktecture IdentityServerV2 core
Recently I implemented a POC of a custom STS using the thinktecture IdentityServerV2 core. For quick testing purposes i set up a relying party with a symmetric signing key, and got this working. Then i wanted to change this to sign with a certificate.
Authorize and RequireHttps attributes in MVC with claims and ADFS/WIF
Do you struggle with this error? ID1059: Cannot authenticate (...)? We're here to help. But be warned, facepalms might occur. Update 2013-09-08 After a while, I still had errors, even with the attributes in the correct order in my code. So what was
Forms authentication using ASP.NET Identity & VS 2013 Preview
One of the many new features of Visual Studio 2013 is the new membership system called ASP.NET Identity. The old SimpleMembershipProvider has been replaced. In line with the unification of ASP.NET, ASP.NET Identity can be used for all types of ASP.
Making RequireJS play nice with ASP.NET MVC
Working with web-projects are getting more and more Javascript heavy, and good developers as we are, we cry out for structure! There are several ways of achieving structure when working with Javascript, and in this blogpost we'll look into RequireJS. This is
Automated code quality testing using Roslyn
Roslyn is an exciting project from Microsoft which after years in the making is currently available as a community technology preview. It is described as a “compiler as a service” and promises to give you as a developer access to a rich set of
Creating a reusable base for WP7 apps - Commands
Commands In Part 2 [http://www.novanet.no/blog/yngve-bakken-nilsen/dates/2012/3/creating-a-reusable-base-for-wp7-apps/] we looked at how we could solve navigation in a managable way. I did this by the assumption that one view would have one viewmodel, and apparently this caused some
Creating a reusable base for WP7 apps - Navigation
Navigation In Part 1 [http://www.novanet.no/blog/yngve-bakken-nilsen/dates/2012/3/wp7-boilerplate/] we covered the basic stuff like ViewModels, setting up the project structure. In this part we'll move forward, and see how we can implement navigation and commands in
Creating a reusable base for WP7 apps - Groundwork
Laying the groundwork New project Let's start out by creating an standard Windows Phone 7 app (selecting version 7.1 as the framework) ![New Project Screenshot](/content/images/2014/10/new-project.png) This should leave us with a codetty empty solution with
Consistent look and feel in a SharePoint 2010 farm
Developers love hierarchies, inheritance and reuse. In ASP.NET it is possible to create a hierarchy of master pages through nesting, where child master pages inherit the HTML framework from its parent master page. As SharePoint is built on ASP.NET, one could assume