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

[WF4]WF4 Activity Validation

1. Basic Validation: public class PersonInfo:NativeActivity {        public string Name { get; set; }        public int Age { get; set; }  ... [More]

[WF4]Create Your Own ServiceHostFactory

By using WorkflowServiceHost class, we can create a WF4 service host in code. The advantage of using WorkflowServiceHost is that we can add our own workflow extensions, tracking participant and persistence store. So problem is: can use our own WorkflowServiceHost in IIS7 like we did in the console a... [More]