[WF4]Rehost Designer With Visual Tracking

This Designer is detailed explained in the last chapter of Book<Microsoft Windows Workflow Foundation 4.0 Cookbook>Download source code here: MyWF4Designer.zip (962.07 kb) Note:This sample I create for personl test only, and may keep changing in the future, since some dlls are borrowed from ... [More]

[WF4]Try Catch activity in code

Use Try Catch activity in the pure C# way. First, Create a workflow with Try-Catch in pure C# code: using System; using System.Activities; using System.Activities.Statements; namespace ErrorHandling {     public class ErrorHandlingWorkflow... [More]

[ASPNET]ASPNET Miscellanea

1. Query String. Client URL: http://localhost:8088/TableTopic/Post.aspx?id=12345678&name=andrewzhuServer Side: public partial class Post : System.Web.UI.Page {    protected void Page_Load(object sender, EventArgs e) ... [More]

[WF4]Hands On Lab: Introduction to Windows Workflow Foundation (WF4)

Here is THE LINK: http://visualstudiogallery.msdn.microsoft.com/7fe6f504-a58d-456e-8f55-e64bddc81a41/ Description: Welcome to Windows Workflow Foundation 4 (WF) Microsoft's programming model, engine and tools for quickly building workflow-enabled applications. This release of WF in .NET Frame... [More]

[WF4]A sample of IActivityTemplateFactory

By default, in WF4, we have a ReceiveAndSendReply activity in Toolbox. But we cannot find such a ReceiveAndSendReply class in .net Reflector. So, where comes the ReceiveAndSendReply activity? yes, it is the magic feature of IActivityTemplateFactory. We can use this class as a composite activity wra... [More]

[VS]Enable Track Active Item in Solution Explorer

Do you want VS2010 Solution Explorer update its selected item base on the active open item. This feature is extremely useful when there are many opened code files in VS2010. We select a document and Solution Explorer will update the selected item automatically. Option->Projects and Sol... [More]

[ASP.NET]How Long Will HTTPHandler Intance Be Pooled

If the IsReusable property is set to true. How long will the instance be pooled?     It is pooled for the life of the application pool. And, it seems we are not able the control the time span. public class HttpHandlerTest:System.Web.IHttpHandler {   &n... [More]