[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]

[Log]Three man at table

There were three of us – Ryan, Alie, and myself. We were sitting in the restaurant, waiting our courses, boring, and talking about how bad we are – from both the work and daily trivial life point of view, you know – hard and painful life. We all feeling seedy except Alie, He bought... [More]