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
37
records found
date
active
views
answers
votes
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 ...
2 days ago
by
Yekta Yeganeh
50
50
Last:
1 hr ago
by
Shashichandra K
50
50
Factory Method Pattern
Views
89
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 ...
20 days ago
by
Mario Lopez
50
50
Last:
6 days ago
by
Mario Lopez
50
50
Repository Pattern
MVC
Pagination
Views
374
Answers
3
Votes
0
Answer
Code
Follow
0
Need simple N-tier version
The Patterns in Action reference application that comes with Design Pattern Framework is a perfect application sample of N-tier, but we want a version without Service and Hosting layers. We need a ...
12 days ago
by
Mohamed Ahmed
50
50
Last:
9 days ago
by
King Wilder
378
99.7
Design Pattern Framework
N-Tier
.NET 3.5
Views
288
Answers
2
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:
11 days ago
by
Dan McMillan
280
99.1
DoFactory
Coding Standards
C#
Views
444
Answers
4
Votes
2
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:
16 days ago
by
Christian Jacob
525
99.9
Silverlight
List
Observable Collection
Views
562
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:
20 days ago
by
Christian Jacob
525
99.9
Design Pattern Framework
Lambdas
Views
524
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. ...
25 days ago
by
Christian Jacob
525
99.9
Last:
22 days ago
by
Robert Blixt
620
100.0
Strategy Pattern
VB.NET
Conditional
Views
420
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 ...
28 days ago
by
Mike Angelastro
65
93.7
Last:
23 days ago
by
Christian Jacob
525
99.9
Strategy Pattern
Factory Pattern
Views
278
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:
29 days ago
by
Ronald Garlit
405
99.8
Factory Method Pattern
Views
543
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:
29 days ago
by
Ronald Garlit
405
99.8
Mocking
Moq
Rhino Mocks
Views
750
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
388
99.8
Factory Pattern
Strategy Pattern
Views
405
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
388
99.8
Strategy Pattern
Template Method Pattern
Views
259
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
378
99.7
Factory Pattern
VB.NET
Views
381
Answers
2
Votes
0
Answer
Code
Follow
0
Is Strategy Pattern the right pattern for this?
I have a user control for a menu, which has events for Add, Edit, Delete etc... I also have a form with five tabs. Now I need to configure the menu for each tab. There are a total of 20 ...
Jul 26, 2010
by
Imran Khan
250
96.9
Last:
Jul 31, 2010
by
Rajesh Pillai
388
99.8
Strategy Pattern
Menus
Tabs
Views
311
Answers
1
Votes
0
Answer
Code
Follow
0
Design Pattern for importing data
Which Design Pattern I can use to implement the import of data in different formats, such as, XML, CSV, TXT, XLSX ...
Jul 29, 2010
by
Imran Khan
250
96.9
Last:
Jul 31, 2010
by
Rajesh Pillai
388
99.8
Design Patterns
C#
Data Import
Views
450
Answers
2
Votes
0
Answer
Code
Follow
0
Pattern to upload the different file data
Hi all, Can anyone tell me the best pattern to implement an upload of the data to sql from xml, excel,csv, etc... I am trying the Factory Pattern but still confused how this will allow me to extend ...
Jul 30, 2010
by
Imran Khan
250
96.9
Design Pattern
Factory Pattern
File Upload
Views
128
Answers
0
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
Is Factory Pattern only for object creation?
I have a question on the Factory Design Pattern. Are they strickly used for creating objects or can they do something else as ...
Jul 26, 2010
by
Deshaun Hyram
111
95.5
Last:
Jul 28, 2010
by
Andrew Green
130
95.7
Factory Pattern
Views
316
Answers
1
Votes
0
Answer
Code
Follow
0
Passing Meta Tags (title, keywords, description) with ASP.NET MVC
Hello, I am working with ASP.NET MVC and now I need to set some meta tag parameters on the pages. Meta tags are the Title, Keywords, and Description on the page. The issue is that I have a ...
Jul 20, 2010
by
Bogusław Dobrogost
81
95.0
Last:
Jul 20, 2010
by
Mario Lopez
50
50
Meta tags
ASP.NET MVC
Views
528
Answers
1
Votes
0
Answer
Code
Follow
0
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
316
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
474
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
267
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
646
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
405
Answers
1
Votes
1
Answer
Code
Follow
0
Pattern Framework - Need to understand - Help
Hi I need some advice. I am aware of Design Patterns (In theory). To learn the practical implementation of Patterns, I had purchased the "Pattern Framework" from this site. ...
May 24, 2010
by
Willy James
50
50
Last:
May 28, 2010
by
Dan McMillan
280
99.1
Design Pattern Framework
Beginner
Views
485
Answers
1
Votes
0
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
676
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.3K
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
953
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
235
Answers
0
Votes
0
Answer
Code
Follow
0
1
2
Next
15
30
50
Per Page
return to top