ASP.NET In-Proc Session State vs Out-Proc Session State

Recently we faced a scenario, where a piece of code in ASP.NET MVC application works fine in local development machine and same code fails to work in test environment. The code is pretty simple and can’t behave odd in test environment. During the troubleshoot process, we have decided to use in-proc session state in test environment…

0

Little strange thing

Last week, my colleague and I were working on an issue in which we had to restrict user from clicking the same submit button (on a form rendered in a browser) multiple times. We thought of handling it through the client side JavaScript. It was a simple fix to handle onClick event of the submit button…

4

Semantic Logging in ASP.NET MVC

Overview  This post gives you an introduction to Semantic Logging and also provides step by step guide to use Semantic Logging in an application. Semantic Logging helps us to log structured information to variety of logging destinations. Logging plays major role in an application during troubleshooting or debugging. Poor logging causes problems while troubleshooting an…

2

Creating OWIN based WS-Federation application

Introduction Recently I have worked on an ASP.NET MVC application which uses OWIN middleware components for WS-Federation authentication. This post gives you an overview about OWIN and step-by-step guide to create basic WS-Federation application using OWIN middleware components. What is OWIN? Open Web Interface for .NET (OWIN) defines an abstraction between .NET web servers and…

2

Customizing ADFS 3.0 Sign-in Page

Introduction In ADFS 3.0 (aka ADFS in Windows Server 2012 R2) customization of Sign-in page is quite different from the earlier versions of ADFS. This post gives an overview of Sign-in page customization in ADFS 3.0. Customization Options In ADFS 3.0 there is no dependency on IIS. Hence, there is no IIS available in the ADFS…

18