Welcome to MSDN Blogs Sign in | Join | Help

Ideas for BRE samples

Hi all,

I am planning to create more BRE samples. I would really appreciate if you could let me know what kind of BRE samples you are looking for. If you have any feedback on BRE documentation, send it my way.

Thanks & Regards,

------------------------------------------------------

Sreedhar Pelluru, MCSD .NET, MCTS (BizTalk)               

BizTalk Server User Education Team

Microsoft Corporation

------------------------------------------------------

 

Published Wednesday, September 20, 2006 6:04 PM by spelluru@microsoft.com

Comments

# re: Ideas for BRE samples

Thursday, September 21, 2006 10:14 PM by Ubbara
Its more of a question than a suggestion. I want to know if we can call the BRE from custom code (.NET API) remotely? Lets say, The BRE is installed on Biztalk server. And I have an Asp.NET Web Application on a different IIS Server. Can I invoke the BRE from this ASP.NET web application?

# re: Ideas for BRE samples

Tuesday, September 26, 2006 1:19 AM by AtulGupta
Sreedhar, we talk about rules forward chaining and assertions that can be done in BRE. Can we captures samples around this?

# re: Ideas for BRE samples

Thursday, September 28, 2006 11:01 AM by spelluru@microsoft.com
I will create the sample for using Assert and forward chaining and post it as soon as possible. Thanks the input.

Regards,
Sreedhar

# re: Ideas for BRE samples

Thursday, September 28, 2006 11:09 AM by spelluru@microsoft.com
Ubbara, Note that BRE is not licensed separately. It is only avaialble with BizTalk Server at this moment. While installing BizTalk Server, you can, however, select only the rule engine component. In your sceario, you have one web server and an integration server (biztalk). I recommend writing a web service or a .NET remoting component that wraps calls to BRE and then use .NET remoting or SOAP to get th epolicy executed. HTH, Sreedhar

# re: Ideas for BRE samples

Tuesday, October 17, 2006 5:15 PM by Leonid_Ganeline

Hi Sreedhar,

Now I cannot find any samples of Microsoft.RuleEngine Namespace in the Help.

200-300 classes have no samples. (or I cannot find them?)

Article "Programming with Business Rules Framework" show only several.

I think BRE worth much more attention.

Particularly I'd like to study the Rule Engine domain at start and cannot see any information. Is it meaning that developers have to get this knowledge "by default"?

Thanks,

Leonid Ganeline

# re: Ideas for BRE samples

Tuesday, October 17, 2006 5:44 PM by spelluru@microsoft.com

Hi Leonid,

You can find the BRE samples in C:\Program Files\Microsoft BizTalk Server 2006\SDK\Samples\Business Rules folder. The documentation for these samples is in Development\Samples in the SDK\Business Rules folder.

In the documentation, you find the architecture/overview of BRE in Planning and Architecture\BizTalk Server Architecture\Runtime Architecture\Business Rule Engine.

Please download the latest documentation at http://www.microsoft.com/downloads/details.aspx?FamilyId=3294DDAF-9F67-409F-A92D-2F6070DC0D1A&displaylang=en

to see the latest changes I made to the documentation.

In this documentation, you should see most of the BRE documentation at one place \Development\Creating and Using Business Rules.

Let me know if you are looking for more samples/sample code for the BRE.

Regards,

Sreedhar

# re: Ideas for BRE samples

Sunday, October 22, 2006 7:11 AM by shanavas

I have a BRE policy being called from an orchestration, and I am using a fact retriver class to retrive connection string to my database. What is the ideal place to keep the connection string..? BTSNTSVC.exe.Config is the default confif file for BRE as well..?

# re: Ideas for BRE samples

Sunday, October 22, 2006 12:29 PM by spelluru@microsoft.com

Yes. You are right. The BRE also uses the same configuration file. Here is a sample Microsoft.RuleEngine configuration section in the BTSNTSvc.exe.config file. Please see Microsoft BizTalk Server 2006 Help\Development\Creating and Using Business Rules\Rule Engine\Rule Engine Configuration and Tuning Parameters. You can find the latest BTS 06 documentation at http://www.microsoft.com/downloads/details.aspx?FamilyId=3294DDAF-9F67-409F-A92D-2F6070DC0D1A&displaylang=en.

<configuration>

   <configSections>

       <section name="Microsoft.RuleEngine" type="System.Configuration.SingleTagSectionHandler" />

   </configSections>

   <Microsoft.RuleEngine

       UpdateServiceHost="localhost"

       UpdateServicePort="3132"

       UpdateServiceName="RemoteUpdateService"

       CacheEntries="32"

       CacheTimeout="3600"

       PollingInterval="60"

       TranslationTimeout="3600"

       CachePruneInterval="60"

       DatabaseServer="(localhost)"

       DatabaseName="BizTalkRuleEngineDb"

       SqlTimeout="-1"

       StaticSupport="1"

   />

</configuration>

You could store the connection string information in appSettings section of the configuration file.

Regards,

Sreedhar

# re: Ideas for BRE samples

Friday, December 29, 2006 12:33 PM by mikewalker

I have a Reference Architecture for Banking using BizTalk as a BRE. Maybe this can stimulate additional thoughts. If you interested in discussing Financial Services scenerios there are tons of opportunities.

http://blogs.msdn.com/mikewalker/archive/2006/12/04/building-office-business-appplications-book.aspx

# Business Rule Engine BRE Blog by Sreedhar Pelluru Senior Programmer | Paid Surveys

# Business Rule Engine BRE Blog by Sreedhar Pelluru Senior Programmer | Portable Greenhouse

# Business Rule Engine BRE Blog by Sreedhar Pelluru Senior Programmer | Outdoor Decor

Anonymous comments are disabled
 
Page view tracker