[WF4]Abandon or AbandonAndSuspend

When you host Workflow in IIS/Appfabric. You may have to set the unhandled exception behavior: <workflowUnhandledException action="AbandonAndSuspend" /> So, what is the difference between Abandon and AbandonAndSuspend. By default, WorkflowServceHost has the ability to resume persisted work... [More]

[WF4]Persistence Store Or Instance Store

  Persistence Store and Instance Store actually indicate the same thing.In WF3/3.5, the type is SqlWorkflowPersistenceService So, people usually call it Persistence Store. while in WF4 the type is: SqlWorkflowInstanceStore People call it Instance store. There are other differen... [More]

[ASPNET]Save TinyMCE Content

To save the content of TinyMCE in Ajax way. First, we need to execute the following code to dump the content to the textarea html control. tinyMCE.activeEditor.save(); Then, get the text content: var text = $("#commentEditor").text(); Next, send data back to server:  ... [More]

[JQuery]Using JQuery Ajax

1. Loading JQuery and get it ready.    <script type="text/javascript" src="Scripts/jquery-1.4.1.js">   </script>   <script type="text/javascript">       $(document).ready(function ... [More]

[ASPNET4]Add a HttpHandler to ASPNET4 site(IIS7)

First, create a new .net4.0 Class Library project, add reference to System.Web.dll. then add a new class file to the project named say MyHttpHandler.cs: using System;using System.Web; namespace Xhinker.TableTopic {    public class MyHttpHandler:System.Web.IHttpHandler {  &n... [More]

[ASPNET4]Configuration for Styles/Site.css

When you created a ASPNET4 site use the default VS2010 template. then, you set the authorization as:     <authorization>      <deny users="?"/>    </authorization> Now, you may find that your default page disp... [More]