Alternative Method for SSL Front End

I mentioned Friday that there is an alternative way of getting the Starter Site to work behind an SSL appliance.  Some appliances allow creating some indication that a connection is secure.  The trick is then to let the Starter Site know that this is what’s happening. There are two main ways to flag the connection…

0

Running the Starter Site With an SSL Front End

There are a number of appliances out there that will carry the work of creating and maintaining an HTTPS (SSL) connection.  This removes the burden from the web server leaving providing better response all around.  Between the appliance and the web server the connection is unencrypted HTTP.  Because the Starter Site is written to require a…

2

"Invalid Viewstate" With Load Balancers

If you are using a round-robin (non-sticky) load-balancer (and perhaps even if you aren’t) you may run into a problem where the client gets errors during the checkout process.  Checking your event log you might find the following error (non-essential information removed): Event Type:        InformationEvent Source:    ASP.NET 2.0.50727.0Event Category:                Web Event Event ID:              1316Event code:…

1

Starter Site on a Non-standard Port

If you install the starter site onto a port other than 80 you may need to do some code munging.  On line 276 of App_Code\SiteContext.cs there is a line of code that looks like this:             builder.Port = -1; // Removes the port setting from the site. This ensures that the correct port is used…

0

Refactoring PageContext

As you all know, writing software is a very dynamic process.  Designs change, users give feedback, and sometimes you are so buried in the implementation that you don’t see flaws in the design.  Occasionally this turns out a design that is less than ideal.  When I stepped back to take a look at the PageSettings/PageContext arrangement I…

1

Page Attributes in the Starter Site

In the last post I mentioned how attributes were used to affect page functionality.  The main class behind that is PageContext and its army of attributes: PageGroupAttribute, PageLayoutAttribute, and SecureAttribute. The attributes control various aspects of the page without requiring the page author to clutter the implementation with virtual method overrides or explicit initialization code.  For instance, the…

1

Starter Site Architecture Part 1 - SiteModule and SiteContext

For the first section of the Architecture Series I’m going to concentrate on the Starter Site.  I’ll be covering the Control Library in a later series of posts. The main code of the site lives in the App_Code directory.  For those new to ASP.NET 2.0, the contents of this directory are compiled together into an…

0

Starter Site Release

If you’re reading this then it means the Commerce Server 2007 Starter Site has been released.  The entire team is happy to finally be able to make this product available to you.  As lead developer for the Starter Site I am finally pleased to see my work hit the street. I want to start my…

1

The Commerce Server 2007 Starter Site is Now Available!

I’m Christopher Doll, Program Manager for the Commerce Server 2007 Starter Site and it is my pleasure to announce that we’ve released the site!   Yes, right now it is available!  We’ve been hard at work, making sure that this is the finest Retail Starter Site ever released for the Commerce Server product.  Some of you…

1