Join Now
|
Login
home
login
join now
products and pricing
design pattern framework
dofactory social
questions
explore
ask question
tags
users
all references
design patterns
connection strings
visual studio shortcuts
html color codes
c# coding standards
contact us
training courses
schedule
registration
sitemap
about us
training and education for professional developers
login
join now
C#, ASP.NET, WPF, WCF, LINQ, PATTERNS
how to search
Home
Questions
Explore
reset
Explore
34
records found
date
active
views
answers
votes
Complex Business Rule - Custom Validation sample
Hi, I recently purchased Design Pattern Framework 4.0. In the document it is mentioned like Here is an example of a more complex rule. There may be a rule that states that customers are ranked according to their ...
4 days ago
by
Hemal Shastri
60
93.0
Last:
2 days ago
by
Dan McMillan
280
99.1
Design Pattern Framework
Custom Validation
Views
89
Answers
1
Votes
0
Answer
Code
Follow
0
Question on Factory Method
Hi all, I work on bus terminal project that website users can reserve and purchase bus tickets on. I have 2 levels of users: admin and other users. Admin and other users classes are empty and don't have any ...
5 days ago
by
Yekta Yeganeh
50
50
Last:
2 days ago
by
Shashichandra K
50
50
Factory Method Pattern
Views
173
Answers
2
Votes
0
Answer
Code
Follow
0
Paging Support using Repository Pattern
I am new to Design Patterns and am working on a project based on the Patterns In Action 4.0 solution. I am trying to implement paging support in an MVC web application and am having an issue. The paging ...
23 days ago
by
Mario Lopez
50
50
Last:
8 days ago
by
Mario Lopez
50
50
Repository Pattern
MVC
Pagination
Views
439
Answers
3
Votes
0
Answer
Code
Follow
0
camelCase - PascalCase vs. CamelCase - pascalCase
The article on c# coding standards in the reference section of dofactory states: do use CamelCasing for class names and method names. do use pascalCasing for method arguments ...
Jul 31, 2010
by
Dirk Andries
70
94.1
Last:
14 days ago
by
Dan McMillan
280
99.1
DoFactory
Coding Standards
C#
Views
521
Answers
4
Votes
2
Answer
Code
Follow
0
Using Membership database ASPNETDB
How do I create / add an additional user to the membership database (ASPNETDB)? Are there some tools / utilities? Thanks ...
14 days ago
by
Wolfgang Haeussler
59
92.5
Last:
14 days ago
by
Dan McMillan
280
99.1
Design Pattern Framework
Membership
Views
186
Answers
1
Votes
0
Answer
Code
Follow
0
Silverlight Patterns 4.0
On page 26 of your Silverlight Patterns 4.0 document you show RegistrationDataResources.resx and ValidationErrorResources.resx in Web | Resources folders. I do not see these in my solution or ...
15 days ago
by
M S
50
50
Last:
15 days ago
by
Dan McMillan
280
99.1
Design Pattern Framework
Silverlight
Views
262
Answers
1
Votes
0
Answer
Code
Follow
0
How to cast a List<T> to an ObservableCollection<T> in Silverlight
I am in Silverlight, and have a generic list: List<T>. Now I wish to cast it to a generic observable collections: ObservableCollection<T>. I understand I can iterate over the list and add each ...
Jul 22, 2010
by
Jacob Tanner
60
93.0
Last:
19 days ago
by
Christian Jacob
525
99.9
Silverlight
List
Observable Collection
Views
576
Answers
2
Votes
1
Answer
Code
Follow
0
Patterns In Action Model() lambda
I'm walking through Patterns In Action and the Model constructor has: SafeProxy.DoAction<ActionServiceClient>(Service, client => ...
Mar 22, 2010
by
M S
50
50
Last:
22 days ago
by
Christian Jacob
525
99.9
Design Pattern Framework
Lambdas
Views
532
Answers
1
Votes
0
Answer
Code
Follow
0
Replace conditional (VB.NET: Select-Case) with Strategy Pattern... HOW?!
Alright folks,... let's get to the point: Buzz words sometimes help to understand that there is something that needs to be improved. What might be even more helpful is a hint on HOW to actually improve something. ...
27 days ago
by
Christian Jacob
525
99.9
Last:
24 days ago
by
Robert Blixt
620
100.0
Strategy Pattern
VB.NET
Conditional
Views
479
Answers
2
Votes
2
Answer
Code
Follow
1
Sample VB.NET code for a Strategy Pattern for algorithms
Hi, I'm using the Heads Up Patterns book for getting into Design Patterns. The book uses a Duck to illustrate the Strategy pattern. Could this be the reason why people think Strategy ...
30 days ago
by
Mike Angelastro
65
93.7
Last:
26 days ago
by
Christian Jacob
525
99.9
Strategy Pattern
Factory Pattern
Views
297
Answers
2
Votes
1
Answer
Code
Follow
0
Factory Method Pattern differs from the one on Wikipedia
The Factory Pattern method mentioned here clearly differs with the one mentioned on wikipedia(http://en.wikipedia.org/wiki/Factory_method_pattern). e.g. the one on Wikipedia doesn't mention about abstract product ...
Jul 27, 2010
by
Pankaj Mhatre
100
95.3
Last:
Aug 08, 2010
by
Ronald Garlit
405
99.8
Factory Method Pattern
Views
579
Answers
2
Votes
2
Answer
Code
Follow
2
Looking for suggestions: what is the best Mocking package for .NET?
I am diving deep into unit testing, mocking, stubbing, IOC, and everything that goes with it. I am looking for some guidance from those who are using these tools 'in the field.'&n
Feb 13, 2010
by
Hans Overkamp
84
95.1
Last:
Aug 08, 2010
by
Ronald Garlit
405
99.8
Mocking
Moq
Rhino Mocks
Views
780
Answers
3
Votes
0
Answer
Code
Follow
0
Difference between Strategy Pattern and Factory Pattern?
Is there any major difference between Strategy Pattern and Factory Pattern? As for me its look alike and I am a bit confused which to use when. I see that the Factory Pattern gets me ...
Aug 06, 2010
by
Imran Khan
250
96.9
Last:
Aug 06, 2010
by
Rajesh Pillai
408
99.8
Factory Pattern
Strategy Pattern
Views
430
Answers
1
Votes
0
Answer
Code
Follow
0
Difference between Strategy and Template Method
Could some please clarify with the real-world example the difference between Strategy Pattern and Template Method Pattern. Thanks in ...
Aug 03, 2010
by
Xavier Chinnappan
50
50
Last:
Aug 06, 2010
by
Rajesh Pillai
408
99.8
Strategy Pattern
Template Method Pattern
Views
288
Answers
1
Votes
0
Answer
Code
Follow
0
Does this code follow the Factory Design Pattern?
I am somewhat confused about Factory Pattern. Please review this code . When we need object of KeepItems we will instantiate KeepItemsConcrete Class. Is this pattern a Factory Pattern? Thanks. ...
Aug 02, 2010
by
Shyam Kumar
53
92.2
Last:
Aug 03, 2010
by
King Wilder
398
99.7
Factory Pattern
VB.NET
Views
406
Answers
2
Votes
0
Answer
Code
Follow
0
Where to start with .NET Design Patterns?
I have been pretty successful in my career and consider myself a solid Senior .NET Developer. Recently, I have been reading up on Design Patterns and when I see an example, I usually get it. However, what 
Mar 21, 2010
by
Leo Benson
106
95.5
Last:
Jul 29, 2010
by
Christian Jacob
525
99.9
Design Patterns
Beginner
Views
4.1K
Answers
7
Votes
2
Answer
Code
Follow
2
ViewState in Session
I was looking at the "Patterns in Action". Had one question. I have configured SessionState as "Out of Process" in SQL Server. If I configure ViewState to use "Session", then would ...
Jul 08, 2010
by
Raju Joseph
50
50
Last:
Jul 09, 2010
by
Aaron Burton
260
99.0
C#
ASP.NET
ViewState
Views
319
Answers
1
Votes
0
Answer
Code
Follow
0
Context Pattern?
Hi I'm curious if there is a pattern that allows an object to change behavior based on context. I have looked at the State pattern, but would like to explain what i'm trying to do and see if there is maybe ...
Jun 28, 2010
by
Andre Smith
50
50
Last:
Jul 08, 2010
by
Shmilya Golem
70
94.1
Context
Pattern
Behavior
Views
490
Answers
4
Votes
0
Answer
Code
Follow
0
Using an MVx approach for implementing User Controls
Until recently, I thought about MVx patterns as technological approaches to seperate a domain model from the view layer, given that everything you need for let's say presenting the data does already exist (i.e. a ...
Jun 21, 2010
by
Christian Jacob
525
99.9
Last:
Jun 28, 2010
by
Robert Blixt
620
100.0
User Control
MVx
Views
269
Answers
1
Votes
1
Answer
Code
Follow
0
Factory or something else?
I'm trying to think of a solution but not sure which way to go. Here's the problem: Its going to be a library for parsing multiple XML files. So I know what classes to make and how they are going to be nested. A ...
Jun 10, 2010
by
Justin Chuck
50
50
Last:
Jun 24, 2010
by
Justin Chuck
50
50
Abstract Factory
Interface
Views
650
Answers
3
Votes
0
Answer
Code
Follow
0
What are Structure Map and Spring.Net?
What are the differences between Structure Map and Spring.Net? Why they are used? Are these new patterns? As far as I understand these are IOC(Inversion of Control) and use DI ...
Jun 22, 2010
by
Volkan Genç
68
93.8
Last:
Jun 24, 2010
by
Christian Jacob
525
99.9
Structure Map
String.NET
Inversion of Control
Dependenc Injection
Views
413
Answers
1
Votes
1
Answer
Code
Follow
0
Difference between Strategy and State
Looking at the GoF patterns I find the similarities between State and Stategy pattern rather striking. Both swap out polymorphic classes to modify behavior. Anyone else found the same? What are the ...
May 21, 2010
by
Hans Overkamp
84
95.1
Last:
May 27, 2010
by
Shmilya Golem
70
94.1
State Pattern
Strategy Pattern
Views
686
Answers
2
Votes
0
Answer
Code
Follow
0
Need some good .NET Design Pattern interview questions
Hello. I will be interviewing a few candidates for a senior architecture position that we have open at our company. As an architect we expect them to be familiar with commonly used .NET Design Patterns. Does anyone
Mar 25, 2010
by
Craig Johnston
125
95.6
Last:
May 21, 2010
by
Bhupendra Sinha
70
94.1
Design Patterns
Interview Questions
Views
2.5K
Answers
4
Votes
1
Answer
Code
Follow
0
Which Design Patterns are you using most frequently in your projects?
To all: I would be curious to know which design patterns you end up using the most in your own work. Personally, my answer would go something like this: Layers (all my projects are layered) MVC (I
Apr 14, 2010
by
Leo Benson
106
95.5
Last:
May 21, 2010
by
Bhupendra Sinha
70
94.1
Design Patterns
Views
2.4K
Answers
4
Votes
0
Answer
Code
Follow
0
Singleton Design Pattern
Hello, I have a question about the Singleton design pattern. Is Singleton pattern about maintaining one instance of a class or is it about maintaining one state of a class. What I can think of is ...
May 16, 2010
by
Ram Pandey
70
94.1
Last:
May 21, 2010
by
Bhupendra Sinha
70
94.1
C#
Design Patterns
Singleton Pattern
Views
962
Answers
3
Votes
1
Answer
Code
Follow
0
SQL Server connection timeout, does Distributed transaction solve that?
I am using the architecture recommended by DoFactory (.Net 2.0) for my product. That is, i have UI (asp.net), Middle tier(Business Object and Facade) and then DAO. For example i have order class which ...
May 20, 2010
by
Chandan Das
50
50
C#
Middle Tier
DTC
Views
243
Answers
0
Votes
0
Answer
Code
Follow
0
The ideal pattern
In a software that I'm developing, I've a problem, I'm searching a solution for that, and I think that a solution can come from a design pattern, so I'm here for some suggestions. The software must connect to a ser
Apr 26, 2010
by
Andrea Benedetti
70
94.1
Last:
May 11, 2010
by
Saleh Najar
70
94.1
Design Patterns
Views
1.1K
Answers
6
Votes
2
Answer
Code
Follow
0
Extract key/values from FormCollection in ASP.NET MVC action method
It took me a while to find this out. To avoid you from having to chase for the same information: here's how you extract key / value pairs from the FormCollection that comes as an argument in an ASP.NET MVC action method
Apr 18, 2010
by
Christopher Ronny
139
95.8
Last:
Apr 19, 2010
by
Juan Perez
129
95.7
ASP.NET MVC
FormCollection
Action Method
Views
985
Answers
1
Votes
2
Answer
Code
Follow
0
Difference between Factory Method and Abstract Factory
Hi, I am not understanding the difference between Factory Method and Abstract Factory. Can anyone please elaborate more on Abstract Factory? Regards, Sandeep Bhujabal
Mar 29, 2010
by
Sandeep Bhujabal
50
50
Last:
Apr 14, 2010
by
Kaushal Patel
85
95.2
Factory Method Pattern
Abstract Factory Pattern
Views
1.8K
Answers
1
Votes
0
Answer
Code
Follow
0
Nice Gem! Building comma-separated string from IEnumerable
Here is a nice Gem. This extension method will allow you to easily build a comma-separated string from an Enumerable list. For example, if you have a list of Customer objects and you need a comma-separated string o
Mar 19, 2010
by
Walt Lynton
158
95.9
Last:
Mar 23, 2010
by
Taliesin Sisson
80
94.9
Extension Methods
IEnumerable
Comma-Separate
Views
851
Answers
1
Votes
3
Answer
Code
Follow
0
1
2
Next
15
30
50
Per Page
return to top