I'm looking at the version 2 of Microsoft's User Interface Process
block and have a query.
I want to avoid old unwanted state cluttering up my database. When a
task is completed the controller should call the CompleteTask() method
to clear the state from both memory and the database. This works fine,
but the problem is after completing the task I want to navigate to
another page such as a home page. You obviously can't the the
Navigate() method to move to the page as the state has just been
deleted. You musn't use the controller to do a response.redirect() as
the controller is UI agnostic, and this defeats the object of having
all this configurable. I don't want to run the clean up script on the
database as there may be suspended tasks in there.
Has anyone else come across this problem? Any ideas?
Regards,
Steve