Windows Identity Foundation : A SignInResponse message may only redirect within the current web application

No Comments

We have run into an issue in the WSFederationAuthenticationModule class within WIF. The bug has been posted here on Microsoft connect. http://connect.microsoft.com/site642/feedback/details/573589/wsfederationauthenticationelement-web-config-requires-trailing-slash-after-home-realm-otherwise-an-error-occurs Basically the issue comes when the application requesting authentication from your STS sends a redirection url without a trailing slash…

Getting back into it.

No Comments

Well I've been back from the holiday for a month or so. Been staying away from the blog for a while as I've had so much work to do since I got back that I need to prioritise. I'm currently working on starting a new project in ASP.NET MVC…

Multi Tenant update

No Comments

Hi, I've received messages and I know a few of you are waiting for a good tutorial on multi tenancy. I've been busy working as I'm going on a trip and will be away for the next 6 weeks. So it's going to have to wait, we haven't gone live…

IIS 6 Session timeout issue (Web.Config cannot solve all timeout problems)

No Comments

We were receiving calls from a client saying that they kept being kicked out of one of our systems quite regularly usually after 20-30 mins of inactivity. We got to work and firstly checked the usual suspects, the web.config file sessionState timeout and the forms timeout for forms authentication…

SaaS Multitenant ASP.NET 4.0 - Step 1 Introduction

No Comments

Introduction This is the first in what I have planned to be a series of posts all about moving your application(s) to a multi-tenant architecture. I have noticed that there really isn't enough being done in the way of frameworks and tutorials in the area of multitenancy, especially using…

EF 4.1 DbContext Issue : Manually opening and closing the database connection

No Comments

As I'm sure many of you are aware the Entity Framework will create and close database connections automatically when needed. This is great most of the time, however when we want to manually configure the connection for performance or to perform a list of actions within a transaction we don't…