Encrypting connection strings in Windows Azure web applications

You may not want your connection strings embedded in your web.config in plaintext – that will expose your database credentials to all the world. This blog post shows how to secure the connection strings. It is ugly, but quite doable. Note: SQL Azure team has posted a four-part series on this in September 2010. Some […]

June 12, 2013 · Jouni Heikniemi · 61 Comments
Tags: , , ,  · Posted in: .NET, Cloud, Web

Scott Guthrie moves on to lead the Azure Application Platform team

What could be important enough to interrupt the flow of posts on practical project experience? It is the reorganization that will throw every .NET developer’s favorite übergeek to a new position. Yes, Scott Guthrie is leaving his post as the head honcho for many things such as IIS, ASP.NET, Silverlight and a slew of other […]

May 3, 2011 · Jouni Heikniemi · No Comments
Tags: , ,  · Posted in: .NET, Cloud

NullReferenceException from NHibernate in a WCF Service

Don’t you hate it when you get an NullReferenceException? NHibernate 2.1.2 throws one if you have an WCF Service that accesses the NHibernate context. If you get one from NHibernate.Context.WebSessionContext.GetMap(), read on… It’s really simple but easy to forget – NHibernate’s web session models requires you to have HttpContext available. That particular mentioned method calls […]

December 21, 2010 · Jouni Heikniemi · 5 Comments
Tags: , ,  · Posted in: .NET

ASP.NET MVC 2 Beta and Visual Studio 2010

If you’re eager to try out new things, you probably already run Visual Studio 2010 beta 2. If you do, it’s good to realize that trying out ASP.NET MVC 2 beta on the same machine isn’t really supported – not even on Visual Studio 2008. But as usual, it works just fine if you hack […]

December 9, 2009 · Jouni Heikniemi · No Comments
Tags: , ,  · Posted in: .NET

Microsoft Ajax CDN distributes your JavaScript files

As the role of JavaScript on the web sites grows, the management of JavaScript files becomes more relevant. Content Distribution Networks aim to solve one part of the problem. Earlier on, Google and Yahoo have founded open content distribution networks, providing hosting for JavaScript files needed for web sites. The basic idea behind a CDN […]

October 10, 2009 · Jouni Heikniemi · 2 Comments
Tags: , , ,  · Posted in: .NET, Web