I have a control in which we show some links to different sites based on some business rules. Currently all business logic to build link list is in control. I plan to move out the busincess logic from the control.
what will be a good design for this? can I use any design pattern?
You shouldn’t get too caught up in thinking about patterns. Most of the time they are overkill and add too much complexity. Particularly with a trivial scenario like this.
Just utilize good object-oriented practices and you’ll be fine. Encapsulate your business logic in another class and provide public properties for your control to access it. Keep it simple!