.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Foundations: Managing State With Durable Services

Posted By:      Posted Date: August 21, 2010    Points: 0   Category :ASP.Net

This month Juval Lowy tackles questions such as when to keep proxies and services in memory for better state management in long-running workflows.

Juval Lowy

MSDN Magazine October 2008

View Complete Post

More Related Resource Links

Foundations: Workflow Services for Local Communication


This month's column describes how to use WCF for communication between a workflow and a host application in Windows Workflow Foundation 3. This knowledge should help developers with their efforts using WF3 and prepare them for WF4, where WCF is the only abstraction over queues (referred to as "bookmarks" in WF4) that ships with the framework.

Matthew Milner

MSDN Magazine November 2009

Foundations: Easily Apply Transactions To Services


Managing state and error recovery using transactions is the topic of this month's installment of Foundations.

Juval Lowy

MSDN Magazine January 2009

Foundations: Workflow Services


With the NET Framework 3.5, Windows Workflow Foundation can now truly be integrated with Windows Communication Foundation. This column describes how the integration works and how to make use of it effectively.

Matt Milner

MSDN Magazine Launch 2008

ASP.NET: Nine Options for Managing Persistent User State in Your ASP.NET Application


ASP.NET provides many different ways to persist data between user requests. You can use the Application object, cookies, hidden fields, the Session or Cache objects, and lots of other methods. Deciding when to use each of these can sometimes be difficult. This article will introduce the aforementioned techniques and present some guidelines on when to use them. Although many of these techniques existed in classic ASP, best practices for when to use them have changed with the introduction of the .NET Framework. To persist data in ASP.NET, you'll have to adjust what you learned previously about handling state in ASP.

Steven Smith

MSDN Magazine April 2003

Taming the Stateless Beast: Managing Session State Across Servers on a Web Farm


Running a Web farm means managing session state across servers. Since session state can't be shared across a Web farm with Internet Information Services 5.0, a custom solution is required. One such solution using a tool called the session manager is described here. The article begins with a description of the SQL Server database used to store state information, the stored procedures used to update it, and the retrieval of session data. ASP code drives the session manager tool and the COM and COM+ components that run the stored procedures.

John Papa

MSDN Magazine October 2000

Reporting services cache state "rsExecutionNotFound"

Hi This is my problem: I execute the report in the reporting services, in a  client-server software, and it gives me some pages of information, until now everything works fine, after a while, ( this is about 2 minutes ) when I try to go to the next page in the client, it show me the error: Execution '<there is a big number here>' cannot be found ( rsExecutionNotFound ) I dont know what is this, I read about sessions, configuration, timeout on the web, but not solved my problem, could someone help me with this ? Thanks a lot......

Hosting workflow services with durable timers / delays

If I host a workflow service in IIS, will persisted workflows with expired timers be reliably and automatically reloaded? What about if I host it with WorkflowServiceHost in my own app? I haven't been able to find a clear answer to this question - all I found were old posts referring to the betas, where apparently you needed Workflow Management Service to do this, but this isn't in the shipping version of Workflow Foundation. I'd greatly appreciate a clear unambiguous answer.

Managing a composite web services with SSIS 2005



I'm trying to use two web services with the related wsdl files. I haven't implemented these web services and the wsdls.

In SSIS 2005, as the Http connection I'm using a link f.e. this: http://mysite/webservices/mywebservice?wsdl. In this manner, in a web service task I can download the first wsdl (it is strange that I specify for the WSDLFile path also the file name before to download the file). For the first wsdl I can select the service and then the method. I have created a second web service task: then I have use the same http connection and I have download the second wsdl (for the WSDLFile path I have the same case for the 1st wsdl), but I cannot see any services and so any methods.

Well, if I open each single wsdl I can see a certain set of xml elements, but if I open the wsdl from the link http://mysite/webservices/mywebservice?wsdl=mywebservice.wsdl I can see a merged wsdl file. I hope to have given an idea of the issue. How can I manage these particular WSDLs in SSIS 2005 (or SSIS 2008), please?

Many thanks for your suggests


Rule "SQL Server Database Services feature state" failed


I'm trying to do a SQL 2008 cluster installation.
I installed one node and now I'm trying to add a failover cluster node.

in the "add Node Rules" I get following message:

Rule Check Result
Rule "SQL Server Database Services feature state" failed.

The SQL Server Database Services feature failed when it was initially installed. The feature must be removed before the current scenario can proceed.

Can anyone help me?

Installing and Uninstalling Services

Installing and Uninstalling Services.Unlike most projects you create in Visual Studio .NET, Windows Service projects cannot be run directly from the development environment by pressing F5. This is because the service in the project must be installed before the project can run.

You can quickly install your service application by using a command line utility called InstallUtil.exe.

Truly Understanding View State

This article provides a detailed understanding of the ViewState.

Getting Started with Windows SharePoint Services

Of all of the capabilities of SharePoint, I thought I would start with the most basic installation - as a corporate intranet. It is likely that we will need to discuss some of the elements of SharePoint as we go along, so this also gives us the opportunity to review these elements for future reference.

Before going into too much detail, I would like to point out that you can try the core SharePoint framework (known as Windows SharePoint Services or WSS) for free. On Microsoft's Web site you can download a trial version of Virtual PC 2004 (VPC). Using VPC, you can install the Windows 2003 Evaluation Kit and the WSS add-on. This combination will give you 45 days to evaluate the setup.

Building a Searchable Phone Directory with Windows SharePoint Services

I want to continue to build out the intranet site we've started in our previous articles. A standard item in every intranet is a staff/employee list. Most companies implementing Windows SharePoint Services (WSS) are large enough to have a database that contains all employees. We will use the aggregation features of SharePoint to include data from this database into our intranet.

Building a 3-Tier App with Silverlight 3, .NET RIA Services, and Azure Table Storage

Silverlight 3, .NET RIA Services, and Windows Azure Services Platform makes a 3-tier Cloud application easier to build: Silverlight 3 as presentation tier, .NET RIA services as the business logic and data access tier, and Windows Azure Table as the data storage tier. The sample application in this article demonstrates the architecture with a simple Survey application with all these technologies working together from Windows Azure.

New Features in Windows SharePoint Services 3.0

Windows SharePoint Services 3.0 (WSS 3.0) is the next version of WSS 2.0, released on 2007, and Microsoft Office SharePoint Server 2007 (MOSS 2007) is built on top of this. Windows SharePoint Services 3.0 takes full advantage of Microsoft ASP.NET 2.0 and the core Microsoft .NET 2.0 runtime. WSS 3.0 offers a lot of new features and programmability support. I have consolidated a list of new features and enhancements in the below section:

Design Patterns - Using the State Pattern in C#

What is the State Pattern?

The State Pattern is a behavioral pattern that can be used to alter the behavior of an object at run time. As the state of an object changes, the functionality of the object can change drastically. This change of behavior is hidden from the Client and the Client interfaces with a wrapper object known as the Context. The State Pattern is a dynamic version of the Strategy Pattern.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend