Suitable 'business Rules' Tool / Engine For Web Application?
Mar 15, 2010
I am building a web application that has multiple alternative paths to most of the use cases. These paths I perceive as business rules. I would like to code my application first for main scenarios and then apply alternative scenarios as business rules (rules can be added and removed even when application is in production).I think my application deserves a rule engine. I haven't used any in the past. So I have few queries, but before that here is the profile of my application:
Web based application (data intensive)Somewhat critical (related to health care) - dynamism needs to be accounted for Microsoft .Net platform (ASP.Net, MS SQL Server, WCF)Here are some queries:
How best to externalize rules?
Is it possible to apply rules immediately or batch-wise is the only possibility?
How can Business User be in control of rules?
What best (suitable) rule engine is there? (I prefer to accommodate an open source product)
I'm curious about the extent to which I should go to enforce business rules. I have validators on my pages and business rules in the middle tier. Should I also enforce business rules on the back end
I have been assigned the task to create a rules engine with another programmer for a company. They want it totally dynamic (parameterized sql type dynamic, no inline or any wishy washy coding practices). So I have ended up with no idea what to really aim at since this is the first time for this type of project. I am hoping someone has some ideas if they have experience this before. I am thinking of going in this direction.
In my web app tool I configure the sub-directory where blog engine is as an as an application.
This is what am getting Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0103: The name 'ExtensionManager' does not exist in the current context
Source Error: [Code]....
Line 53: foreach (SortedExtension x in sortedExtensions)Line 54: {Line 55: if (ExtensionManager.ExtensionEnabled(x.Name))Line 56: {Line 57: a.CreateInstance(x.Type); [code]... Show Detailed Compiler Output:
Lets assume that I have my own business layer containing my business objects and my business services. And I have decided to create a "SilverLight Business Application" (with SL v 4.0) and I want to use my already used Business Layer from the SL application I plan to develop.
I know that I cannot include a project which is not a SL project.
I got one project Inventory management system to develop in asp.net , i need to know before developing this webapp what are the points i need to keep in mind, and what are the inputs i have to know to build smooth application..
so whenever any project comes to develop how big company are all planing to develop i need to know that
The user is geeting following error while uploading a file to the asp.net page. But when I try to upload the same file, I don't get this error. Is there a way to troubleshoot this problem? Also is there a way to capture exact error? I tried to have custom error page.
Runtime error
Description Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off".
<!-- Web.Config Configuration File --><configuration> <system.web> <customErrors mode="Off"/> </system.web></configuration> Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's configuration tag to point to a custom error page URL. <!-- Web.Config Configuration File --><configuration> <system.web> <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/> </system.web></configuration>
Recently we've developed an E-Commerce web application for a client. We are at the stage before launch and the client is not happy to disclosing live merchant account details to us because they don't want us to potentially being able to see their clients' data.
Since we are going to maintain their website (running off their servers but we will still have access to the site files) I cannot see an easy solution to this other than trust.
How to implement and maintain E-commerce application when business don't want to disclose merchant details to developers?
I am lookinf for a Unit testing Tool for asp.net web application. i intended to use visual studio 2008 web test. Please tell me where can i get nice tutorials to start up on this tool. and also suggest me is any other web testing tools out there.
i install the Ajaxtoolkit but any time i try to use any control in this case tab control give's me this report.
Server Error in '/WebSitetest' Application.
Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "AjaxControlToolkit.Properties.Resources.resources" was correctly embedded or linked into assembly "AjaxControlToolkit" at compile time, or that all the satellite assemblies required are loadable and fully signed.
Description:An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "AjaxControlToolkit.Properties.Resources.resources" was correctly embedded or linked into assembly "AjaxControlToolkit" at compile time, or that all the satellite assemblies required are loadable and fully signed.
I have downloaded all the required setup to use windows application. I am using vs 2008, already downloaded Windows Mobile 6 Professional SDK Refresh, Windows Mobile 6 Standard SDK Refresh. its buliding and deploying successfully. But I am not able to place tools, because there are no tool in toolbox. What i should do to see the tools in tool box.
i see most MVC database application are developed using one form or another ORM. Is it suitable to develop MVC application without ORM (e.g. no Entity Framework 4, nor Linq to SQL) ?
Is anyone able to see Web Site --> ASP.NET Configuration if you are creating a web application using File --> New Project --> Visual C# --> Web. If so, how and where?
Base on what I've tried, the menu Web Site --> ASP.Net Configuration appears only if you create a website by File --> New Website.
What I am actually trying to find is the Web Site Administration Tool (WSAT).
I have 25 websites in which each website have 500 pages. I want to know in which page the specific code was implemented let say if i want to know in which page <span>test<span> is implemented under each website. Is there any way to know through any tool or application.
Error 1 'ASP.admin_new_user2_aspx.GetTypeHashCode()': no suitable method found to override c:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Files eststatus2production7e352623d1efa770App_Web_cx7fp0f_.18.cs 4443
here's the code:
[System.Diagnostics.DebuggerNonUserCodeAttribute()] public override int GetTypeHashCode() { return 210248864; }
When I compile, this error message comes up: 'Framework.ImportControllerFactory.CreateController(System.Web.Routing.RequestContext, string)': no suitable method found to override I have navigated to the definition in the DefaultControllerFactory, and it's (snipping the comments):
I want to move all the website (developed in ASP.NET) images to another server. The image hosting server should be dedicated only image processing like image resizing and etc.
Which server is best suitable for this? Taking another IIS server would require more investment again. Instead can I go for Apache or Lighttpd?
Also the server should be capable to process / resize images even though there is heavy load.
point me in the direction of getting the Razor View Engine working correctly with an empty "non MVC" web application. I can correctly set it up with a MVC app or with a Web Site (Razor), but if I try and get it running with and empty app, I run into the following two problems:
1) I can't add new razor files to the application (*.cshtml files)
2) Once deployed to AppHarbor, the .cshtml files aren't found unless they have the extension specified (i.e. /Default won't work, but /Default.cshtml does)
I would like to implement IOC and DI and have been looking at the various open source IOC's such as Unity, StructureMap, Ninject, and Castle Windsor, but I noticed that some of them are based on .Net 3.5 framework. Does this matter? Which IOC's would be most suitable or easily integrates for use in an MVC3, EF4, and .NET 4 framework application? Which would be the simplest to implement?
I'm writing messages to a Message Queue in C# as follows:
ObjectMsg objMsg = new ObjMsg(1,"ascii",20090807); Message m = new Message(); m.Formatter = new BinaryMessageFormatter(); m.body = objMsg; queue.Send(m);
and I'm trying to read the messages as follows:
Message m = new Message() m.Formatter = new BinaryMessageFormatter(); MessageQueue mq = new MessageQueue("./pqueue"); m = mq.Recieve(); ObjMsg msg = (ObjMsg )m.Body;
However I'm getting an error message which says: "Cannot find a formatter capable of reading this message."