Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
My upcoming project is relate to sales system, so one of the main requirement is "user can modify promotion by themselves". Promotions is vary, they give me some of them.
Buy 1 get 1 free, Buy 2 get 3.
One for 30%, two for 50%, three for 80%
Buy product A will discount 30% for product B
20% off for more than 20$ per transaction
I know a little of rule engine, please suggest me a book to learn it too.
A previous SO answer might be of help: Looking for simple rules-engine library in .NET
Have you looked at Windows Workflow Foundation
You could use a commercial rule engine for .Net like InRule or the .Net version of IBM ILOG Rules or FICO Blaze Advisor. All of them make it easy to expose the rules to the business user in a way that makes it safe for them to edit them while providing technical hooks/APIs to make it easy to integrate the rules engine and execution.
You can use BOO DSL features or use Rhino.DSL (we are using it as a macro engine for our project)
as for your example check out this link
You can use a simple attribute based Rule Engine created by me:
http://ruen.codeplex.com/
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Improve this question
I want to learn about Design Patterns and everywhere I see diagrams like this:
Is it UML or something else? I just need a quick reference to learn what do each of different lines mean? which one is inheritance, etc..
1 Yes it is UML. You can read more (with examples) about class diagrams and other UML diagrams e.g. at http://www.uml-diagrams.org/class-diagrams-overview.html
2 Although it is possible to Google out and print and pin up on your notice board some "UML cheat sheet" or "UML quick reference card" (e.g. http://www.holub.com/goodies/uml).
3 it is much better to first read a good book so that you know what is/is_not possible what is the structural/behavioral modeling etc. Explaining UML is not a thing that can be done on 1 single sheet of paper or in one single Stack Overflow answer
Here is a key that I found here
***EDIT #xmojmr's request, here is an updated diagram that I found here (detailed definitions can be found in the linked page):
I recommend you to read UML superstructure specification. Read Classes section to get
information about types of relationship applicable to structural diagrams defined in UML, and much more. This document is base document if you want to learn UML. Dowload it from this site UML Superstructure
Yes, is U.M.L.
You do can learn about applying Design Patterns, without getting into U.M.L., but, the original book, as well as, a lot of documentation uses U.M.L.
I suggest to learn about U.M.L., without Design Patterns, and later, learn about Design Patterns, with & without U.M.L.
Just my 2 cents.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I have been reading about (AOP) Aspect Oriented Programming and I could not find any good article on internet with its implementation in C#. Everyone are talking about AOP Frameworks.
The code the described in below reference is not working at all.
http://www.codeproject.com/Articles/11387/Aspect-oriented-programming-in-NET-Part-II
Can someone share any good implementation code on aspect oriented programming?
Or Else suggest a good AOP Framework to be implemented easily?
As, we are in need to implement AOP in our Project for logging printing and sending mails on completion of specific operations.
Have a look at PostSharp. It is a framework for AOP in .NET that is widely used. In contrast to other frameworks, it uses an approach that weaves the generated code into the intermediate language which is good for performance reasons.
On the website there are also lots of resources about AOP in general and how it can be used. There also is a free edition and a trial version.
However, if you need to only decorate some small portions of your code, using the Decorator pattern or something similar might also be an option.
http://www.codeproject.com/Tips/624586/Introducing-the-KingAOP-Framework-Part-1 seems to fit your need (I've not yet tested it though)
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I did a search online and was not able to find any tool or app that were designed to do this. I am looking for a set of C# class libraries you can link or reference into your code, or external command-line application that would allow me to dynamically compare two database schemas and generate scripts for transforming one database into the other, without loosing any data in a relatively speedy fashion. All tools I have seen so far, works in a static manner, i.e. you are comparing one db to the next to generate change scripts on your own local system. I am planning to include this in an installer, so it will run on a remote system therefore making it critical that it is possible to automate the process. Also licensing should be somewhat successible to that fact, i.e. a small fee per install is acceptable, or a larger one time fee and no inclusion fee.
Redgate can do that. Try their site http://www.red-gate.com/products/sql-development/sql-compare/
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am looking for some (preferably) online tutorials on making controls with 'Rich design-time support'
By Rich design time support i mean like how the menustrip works on a form and such.
Any links to websites, good books or code samples (c# or vb.net) would be great.
You can start with Dissecting A C# Application which goes into many aspects of creating SharpDevelop, C# IDE written in .NET. This covers many aspects of the designer architecture and it is free in a PDF. However, the PDF is hard to find (original links no longer work, but I believe this is a valid copy).
While that will get you started on the ins and outs of the designer, it probably doesn't go into detail on some of the more interesting features such as actions and tasks. For this, MSDN has some extensive information and examples (it didn't used to).
Finally, I find the best resource to be .NET Reflector. Using this tool to look at how Microsoft has done it in various places within the framework has been a great learning exercise when working in design-time support areas. Find a control that does what you want and then go see how it does it.
All of these resources are free, however your time is not. I have found that design-time support can be a breeze in some areas but a complete nightmare in others. Good luck.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Any recommends here? I need something that can take a set of processes and batch them together. For example, I need to:
1) execute some sql
2) run C# snippets
3) have checkpoint steps with human interaction (i.e. send off an email at step X and wait for a user to review a result and click continue etc...)
If you are using C#, you might as well use the Windows Workflow Framework that's part of 3.5. That is pretty much exactly what it's used for.
I use Captaris Workflow for that. Quite expensive but it works really well.
Depends on how much you're willing to code vs how much you're willing to pay. You could code it all in "plain" .NET code for "free". Next step up would be using Windows Workflow, though you'd still need to code the "human interaction" steps. Slightly more expensive would be a tool like FinalBuilder or Automiser, which would mean less code for you to write, and a more visual workflow designer. Even more expensive- but allowing for potentially no code- would be an enterprise system like BizTalk, MetaStorm, K2, etc.