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]
Packt told me that they made some part of the book public.
Chapter "Hosting WF4 Application"
26. February 2011
1. before start
2. Discussion before the contest.
3. People are happy
4. Still happy
5. Sharp, what are you thinking?
6.Our SAA, sherry Xiong
7.Before the table topic contest, nervous, nervous , nervous
8. Sarah, before the contest, nervous
9.Andrew, b... [More]
1. Why and when to use Inheritance.
a. As a class user, we can create a new class inherited from parent's class. When we use an IDE such as Visual Studio, IDE will auto complete some code for us. - Relationship b. As a class user, we can reuse other's already de... [More]
In an ASP.NET site, some time we want to show a menu item for administrator only. For example, we want to display "edit" link for blogger owner. Below are steps to take action to achieve this feature:1. Create a Web.sitemap file and add menu items to this file
<?xml version="1.0" enco... [More]
16. February 2011
This is a silverlight application that can take a photo via your computer's webcam and save photo to local disc.
Opening a WF4 workflow in xaml editor. you can find that sad:XamlDebuggerXmlReader.Filename attribute point to a physical file path. What a mysterious physical path. Why do we need this attribute? this attribute is used for WF4 workflow debugging. VS debugger will find the break point code line in t... [More]
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]
To get the content of an textarea ,we can use： $("#textareaId").html();works In IE8, but doesn't work in Firefox 3.6. To get the value in Firefox, we can use: $("#textareaId").val();So, What is the difference between html() and val() and ... [More]
Persistence Store and Instance Store actually indicate the same thing.In WF3/3.5, the type is
So, people usually call it Persistence Store. while in WF4 the type is:
People call it Instance store. There are other differen... [More]