Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8423203
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T03:39:46+00:00 2026-06-10T03:39:46+00:00

I am new to workflow foundation and I am using workflow foundation 4.5 (VS2012

  • 0

I am new to workflow foundation and I am using workflow foundation 4.5 (VS2012 RC). I want to build a workflow where i can add/remove rules on the run time. So i was thinking of using a set of rules on a separate .rules file and change this as and when I need it.

However, i can’t find this on VS2012. Is there any way that I can uses dynamic rules in workflow foundation 4.5?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T03:39:48+00:00Added an answer on June 10, 2026 at 3:39 am

    This code block should allow you to load and execute your rules dynamically. You can see the rest of this post, which will also show you how to save those files dynamically, here.

    static RuleSet Load(string filename)
    {
        XmlTextReader reader = new XmlTextReader(filename);
        WorkflowMarkupSerializer serializer = new WorkflowMarkupSerializer();
        object results = serializer.Deserialize(reader);
        RuleSet ruleset = (RuleSet)results;
    
        if (ruleset == null)
        {
           Console.WriteLine("The rules file " + filename + " does not appear to contain a valid ruleset.");
        }
        return ruleset;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new to workflow foundation. I'm trying to build a .NET 4 console application.
I'm new to Workflow Foundation. I've worked my way through one book (K. Scott
new on ruby and using windows xp and rails 3, i want to send
I am new to workflow and just know some of its features. I want
After migrating to TFS/VS2010 I want to redesign/migrate the build process to the new
I've seen that BizTalk 2010 supports the new Mapper Activity for Workflow Foundation (
I'm new to Workflow Foundation 4, and I've been struggling for days to do
Using Windows Workflow Foundation WF4, I've got a custom activity with a System.Guid property
I'm relatively new to using Windows Workflow but we have a requirement whereby all
I'm new to XNA and am wondering if there is some builtin workflow for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.