Not Using Session in ASP.NET means Session Affinity/Sticky Sessions Not Necessary in Web Farms!

So, I’ve always incorrectly thought that somehow, the cookie stored in asp.net was somehow tied to the Session provider in asp.net.  Turns out I’m wrong.  This came up because I was discussing with another engineer whether we need to bother with a Session provider since we do not use Session in our web application.  That is, we don’t ever store information by saying something like: Session[“MyKey1”] = “MyShoppingCartInfo1”; My assumption was that somehow, the Cookie planted on the client’s browser was in lock step with the IIS server through Session and that even if we did not store Session data, we still had to hook up a Session Provider.  Wrong I am. … Continue Reading

How to do URL Rewrites with ASP.NET 2.0 3.0 3.5 on IIS6 and IIS7 and What is Wild Card Mapping

x3.png

The Problem Over the past several years I've found myself running into the same problem over and over so I thought I'd blog the solution so at least I don't waste time figuring it out again.  So, when do you need this?  The answer for me is that I want to be able reference a web site without having to expose the underlying site structure.  For example, on the home page of my business, I want people to be able to type http://73rdstreet.com/Home and be taken to http://www.73rdstreet.com/HomeSite/Home.aspx. The Symptom You may see errors that say something like: Server Error in Application ... HTTP Error 404.0 - Not Found … Continue Reading

Using LINQ to Merge Mailing Lists and Filter Opt OutsBuilding the Code Camp Web Site (Article 5)

Article Series Article 1: Best Practices for Building an ASP.NET quality web site Article 2: Multi Level ASP.NET Menu with CSS Friendly Control Adapters Article 3: Creating a Theme For Each Year of Code Camp Using Skins in ASP.NET Article 4: Creating a Modal Login Window Using the Telerik Modal RadWindow Component Article 5: Using LINQ to Merge Mailing Lists and Filter Opt Outs Article 6: Multi Level ASP.NET Menu with CSS Friendly Control Adapters (The Source Code!) The Problem For the third year in a row, Silicon Valley's Code Camp is happening.  The way I've organized the data is that … Continue Reading

Creating a Modal Login Window Using the Telerik Modal RadWindow ComponentBuilding the Code Camp Web Site (Article 4)

test.png

Article Series Article 1: Best Practices for Building an ASP.NET quality web site Article 2: Multi Level ASP.NET Menu with CSS Friendly Control Adapters Article 3: Creating a Theme For Each Year of Code Camp Using Skins in ASP.NET Article 4: Creating a Modal Login Window Using the Telerik Modal RadWindow Component Article 5: Using LINQ to Merge Mailing Lists and Filter Opt Outs Article 6: Multi Level ASP.NET Menu with CSS Friendly Control Adapters (The Source Code!) Introduction This article shows how to create a modal windows (not a popup) that displays a login windows (asking for username and … Continue Reading

Follow

Get every new post delivered to your Inbox

Join other followers: