10. August 2011
xhinker
WF4
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]
18. July 2011
xhinker
WF4
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]
6. June 2011
xhinker
ASPNET
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]
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]
18. May 2011
xhinker
ASPNET
Javascript:
<script type="text/javascript">
var c = 0;
var t;
var timerIsOn = 0;
$(document).ready(function () {
//other event...
$("#testBtn").click(function () {
document.getElementById('txt').value&nb...
[More]
18. May 2011
xhinker
BizTalk
Then add input property for these three Index Functoid
The first Index.
The Second Index
The third Index
18. May 2011
xhinker
BizTalk
1. The first picture: Where does pipeline works in BizTalk at large.
Pipelines are responsible for moving messages to and from the BizTalk message box. 2. The second picture. Receive Pipeline
3. The third picture: Send Pipeline
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]
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]
3. May 2011
xhinker
ASPNET
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]