Login
Join Now
Products
All Products and Pricing
.NET Design Pattern Framework
TM
4.5 -- C# Edition
.NET Design Pattern Framework
TM
4.5 -- VB Edition
PRO .NET Design Pattern Framework
TM
4.5 -- C# Edition
PRO .NET Design Pattern Framework
TM
4.5 -- VB Edition
JavaScript + jQuery Pattern Framework
TM
SQL + Database Pattern Framework
TM
PRO SQL + Database Pattern Framework
TM
Customers
Meet our Customers
Success Stories
Reference Guides
.NET Design Patterns
JavaScript Design Patterns
JavaScript Tutorial
SQL Tutorial
Connection Strings
Visual Studio Shortcuts
C# Coding Standards
HTML Color Codes
All References
Community
Questions
Ask Question
Explore
Tags
Users
Company
About Us
Our Story
Services
Training
Contact Us
Products
All Products and Pricing
.NET Design Pattern Framework
TM
4.5 -- C# Edition
.NET Design Pattern Framework
TM
4.5 -- VB Edition
PRO .NET Design Pattern Framework
TM
4.5 -- C# Edition
PRO .NET Design Pattern Framework
TM
4.5 -- VB Edition
JavaScript + jQuery Pattern Framework
TM
SQL + Database Pattern Framework
TM
PRO SQL + Database Pattern Framework
TM
Customers
Meet our Customers
Success Stories
Reference Guides
.NET Design Patterns
JavaScript Design Patterns
JavaScript Tutorial
SQL Tutorial
Connection Strings
Visual Studio Shortcuts
C# Coding Standards
HTML Color Codes
All References
Community
Questions
Ask Question
Explore
Tags
Users
About Us
Company
Our Story
Services
Training
Contact Us
Home
/
Questions
/
Tags
/
C#
Tagged
C#
116
records found
date
views
answers
Views
50.8K
Answers
14
Votes
0
Career path: C# versus VB.NET
Hello, I am coming from an assembly / C background and I am ready to move into building databased business applications in .NET. My plan is to go as far as possible and become an .NET architect ...
Design Patterns
C#
VB.NET
Career Development
Aug 30, 2010 by
Henry Wong
69
95.9
Views
106.3K
Answers
9
Votes
1
When would you use an Abstract class?
Hello everyone, This is probably a very easy question you guys, but when would we need to use an Abstract class? Thank you ...
C#
abstract
Feb 02, 2011 by
Satya Chauhan
60
95.3
Views
110.7K
Answers
9
Votes
2
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 ...
DoFactory
Coding Standards
C#
Jul 31, 2010 by
Dirk Andries
70
96.1
Views
12.9K
Answers
6
Votes
1
Iphone App development tools
Hallo All: Please help with what tools I need to create an Iphone application that retrieves real-time sales data from my restaurant database. I am an entry level C# developer.. Thanks so ...
iPhone
Tools
C#
Feb 06, 2011 by
Sam Yonis
60
95.3
Views
15.3K
Answers
5
Votes
0
Static data access objects variables in ActionService for standalone application
Hi, When the Patterns In Action sample is run a standalone mode, should the Static data access objects variable changed to non static ones? // Create static data access objects private static readonly ...
C#
Entity Framework
Mar 09, 2011 by
London UK
56
94.9
Views
14K
Answers
5
Votes
0
PIA: Error in Data Access Layer when using SQLServer.ADONET
Hi all, The Version property (string) comes from a TimeStamp in the SQL Database. The Take() and Make() methods on the CustomerDao class use the extension methods AsByteArray() and AsBase64String() ...
C#
patterns in action 4.0
Data Tier
Jul 17, 2012 by
Martyn Reid
63
95.7
Views
14.2K
Answers
4
Votes
0
Logging Control Events in WinForms Application
In a Winforms Application with more than 100 forms a new requirement has come up. Per requirement all the Events (button_Click, text_Changed ...) in any form needs to be logged to a log file. This has to ...
C#
Winforms
Jul 17, 2012 by
vivekanand Adhikesavan
55
94.7
Views
36.6K
Answers
4
Votes
0
How to: Deserialization of nested JSON
I am receiving the JSON formatted string from a web service over the Internet. It is roughly formatted like so: { "version" : 2, "query" : "Companies, ...
C#
JSON
Parsing
Mar 24, 2011 by
Leo Benson
122
96.7
Views
25.8K
Answers
4
Votes
0
What design pattern(s) to use to build a extractor for a flat file based on a specification?
I have a flat file where each row has a specification. Say the first row specification level 100 a header row and all 200s are data rows and level 199 is a file summary. I have created a data table that ...
C#
Business Tier
Flat File Parser
Jun 16, 2011 by
Tony Blogumas
50
50
Views
55.3K
Answers
4
Votes
1
MVC Example
Hello, I am new to C# , I have heard about MVC pattern. Can some please share with me an MVC C# code sample (basic). I would very much appreciate it. ...
C#
MVC
Beginner
May 17, 2010 by
Ali Momin
60
95.3
Views
5.9K
Answers
4
Votes
0
reducing sql connections & connection pools
Hi, What is the philosophy with connection pools in do factory? It seems we make a connection on every query. Is there a way to use connection pools? Or is that a bad idea? Is this addressed in the SQL Database ...
C#
SQL + Database Pattern Framework
Jan 28, 2016 by
Alan Anderson
50
50
Views
5.9K
Answers
3
Votes
0
C Programming Quiz
1)Who invented the C-programming Language? A) James Gosling B) Dennis Ritche C) Bjarne Stroustrup’s D) Tim ...
C#
Jul 14, 2014 by
Rajesh Dhnashire
58
94.9
Views
13.2K
Answers
3
Votes
1
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 ...
C#
Design Patterns
Singleton Pattern
May 16, 2010 by
Ram Pandey
80
96.4
Views
9.8K
Answers
3
Votes
0
Metadata programming to add Entities and Fields dynamically
Hi, I would like to use the metadata programming so that it is fast to add fields and entities dynamically to the application using C#. Can anybody guide me in that? The admin user should be able to add fields, ...
C#
Design Pattern
Metadata
Sep 22, 2010 by
Satyajit Behera
60
95.3
Views
11.1K
Answers
3
Votes
0
Why? C# abstract classes without abstract members
I am familiar with abstract classes, interfaces, and the like. What is not clear to me is why anyone would create a C# abstract class that does not have abstract members? (the C# compiler allows this). ...
C#
Language
abstract
Mar 15, 2011 by
Juan Perez
129
96.7
Views
25.4K
Answers
3
Votes
0
How to build a custom .Net Framework ?
Hi All, Could you please share your thoughts (Guidelines, best practices) to create a custom .Net Framework (preferably C#). Thanks and Regards ...
C#
.Net Framework
Design Patterns
Feb 28, 2011 by
Tarriq Ferrose Khan
90
96.5
Views
13.5K
Answers
3
Votes
0
Which patterns to use for a Test Automation Framework?
I am writing a Test Automation Framework that involves automating testing a Winforms and WPF based application having 200 screens. The Automation Framework should do the control clicks and screen actions just as a ...
Testing
Framework
C#
Feb 14, 2011 by
Prasenjit Naskar
50
50
Views
36.5K
Answers
3
Votes
2
How do I create a multiple-key dictionary?
Hi: I have a need for a multiple-key dictionary. For example: Dictionary<Key1, Key2, Key3, Value> where Key1, Key2, and Key3 have different type. ...
C#
Dictionary
Multi Key
Dec 16, 2010 by
Zhang Zhao
85
96.4
Views
11.1K
Answers
3
Votes
0
Which Design Pattern do I need for this?
Hi, I am building a WinForm application. I have a Main Form that contains many many other Forms with the same functionality except the name and the database connection. I don't know how ...
C#
.NET 4
Winforms
Pattern
Jun 14, 2011 by
David Kt
58
94.9
Views
11.4K
Answers
3
Votes
0
How to control access to Interface implementations
I have a question related to Interfaces. Suppose I have two interfaces (Interface1 and Interface2) and each has three different methods. I am implementing both interfaces in a class named ClassY. My ...
C#
Interfaces
Implementation
Jun 29, 2011 by
Vishal Srivastava
50
50
Views
8.8K
Answers
3
Votes
0
Interpretation Setup Consultation (C#)
Hello. This is my first question ever. Party right here. Now, onto the question! Background information: I am creating a framework for a game. It is a M(ulti) U(ser) D(ungeon) or a text based imagination driven ...
C#
Framework
Interpretation
Gaming
Jul 25, 2011 by
Karl Wessels
63
95.7
Views
11.7K
Answers
3
Votes
0
Two questions: Interface and Encapulation
What qualities a good Interface has??? I have a class which has many properties every member function uses some of these properties. member function signature are as shown Class Signal { ...
Interface
Encapulation
C#
VB.NET
Jul 01, 2012 by
Punit Asdf
63
95.7
Views
13K
Answers
3
Votes
0
What design pattern is best for the following scenario?
I have 3 car rental agencies. Each agency requires the data in XML, but in a different format, for example: Agency 1 <Rental> <Customer> <FirstName>test</FirstName> ...
C#
Builder Pattern
Interfaces
Dependency Injection
Jul 17, 2012 by
Xaisoft S
55
94.7
Views
7.8K
Answers
2
Votes
0
Any suggested patterns for building an Email Client System with Voice Recognition Support?
I'm designing an email client using .NET technology and voice recognition. Does anyone know what design pattern to recommend for build these? ...
Email
C#
.NET 4.0
Pattern
Jul 30, 2012 by
Arya Rezza
50
50
Views
9.1K
Answers
2
Votes
0
Pattern For Online Accounting software?
Hi Every one, I am about to start design an accounting online software using MVC3, Razor, C# 4.0. My Requirements can vary with respect with time, like if I am going to implement the financial accounting features, ...
accounts
accounting software
C#
WCF
MVC 3
Aug 15, 2012 by
Smoke Pk
50
50
Views
7.9K
Answers
2
Votes
0
What is the purpose of the Take Method in the Patterns In action ADO.NET data access layer?
Hello, I've just recently purchased the design patterns framework. So far it's looking really good. I'm only just starting to look around it. I'm reading the Getting Started 4.0 PDF at the ...
C#
DAO
Question
Sep 01, 2012 by
Steve Martin
56
94.9
Views
11.1K
Answers
2
Votes
0
Which pattern to use for the WCF service
Hello I am working on application on where I will make the ajax call to wcf service which will access the database and process business logic and respond with json object, I think you guys are very professional in ...
WCF
WCF design patterns to read
C#
ASP.NET
Ajax
Sep 12, 2012 by
Imran Khan
50
50
Views
7.5K
Answers
2
Votes
0
What is the Best Design for Customizable Forms?
Hello Everyone, I am developing a software which must be used for different organizations so some forms must be specially customized for the specific organization. For instance window "A" with datagrid ...
C#
WPF
Customizable Window
Customizable Form
Nov 14, 2012 by
Amin Amin
50
50
Views
9.6K
Answers
2
Votes
0
Private Interface Inheritance
I had a chance to see the following private interface inheritance code. Is this a common practice? Where is this being used? Thanks. interface IAnimal { Eat() } class Dog : IAnimal { void ...
C#
Interface
Inheritance
Apr 11, 2011 by
Jacob Jacob
50
50
Views
11.1K
Answers
2
Votes
0
Practical use of the "dynamic" C# keyword in Design Patterns
The dynamic keyword is a recent addition to the C# language. I have a gut feel that one or more of the GOF and/or MVC/MVP/MVVM patterns could benefit from its use. Has anyone found a great use of dynamic in ...
Design Patterns
dynamic
C#
Dec 14, 2010 by
Craig Johnston
128
96.7
Views
9.7K
Answers
2
Votes
0
Why is static not allowed on an Interface?
Hi folks, Could anyone tell me why 'static' is not allowed on an Interface in C#? Thanks, ...
C#
Static
Feb 02, 2011 by
Satya Chauhan
60
95.3
Views
8.5K
Answers
2
Votes
1
Question: Is there an example for Webservices in Design Pattern Framework 4.0?
Hello, I'm a C# developer but totally new and unexperienced in Webservices, WCF and Silverlight. My Task is to create a Server Application that communicates with a Silverlight Client and later a native Mac Client. ...
C#
WCF
Web Services
Aug 04, 2010 by
Thomas W
60
95.3
Views
21.9K
Answers
2
Votes
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 ...
Design Patterns
C#
Data Import
Jul 29, 2010 by
Imran Khan
275
99.7
Views
9K
Answers
2
Votes
0
Design Pattern - Implementing Roles and Rights
Can anyone please suggest which Design Pattern is best to implement user roles and rights? I am looking for a generic solution in which I define roles and based on that I should be able to define rights at the ...
C#
Design Pattern
User Management
Roles and Rights
May 16, 2010 by
Satyajit Behera
60
95.3
Views
14.1K
Answers
2
Votes
0
How to implement the MVP design pattern in Windows application
Hi All, I have to implement the MVP design pattern for my Windows application. For that I need some samples to implement it including Layers. Can anyone suggest how to do this? Thanks ahead ...
MVP
C#
Winforms
Jun 13, 2010 by
Venkat Damarasing
50
50
Views
2.6K
Answers
2
Votes
0
Spark -- Expand Rest Object
Hi All, I've searched the communities all weekend and read the documentation, but still can't get the "expand='querystring'" parameter to work in my call... I have 2 examples that I thought I could get ...
Spark 4.5
C#
REST
Expand
Mar 28, 2016 by
Quan Nguyen
50
50
Views
5.2K
Answers
2
Votes
0
How to handle many-to-many relationships using Spark?
Hi, I am new to Spark so using the Student/Course example in the Spark documentation, where a Student can take any number of courses, and a course can by taken by any number of students, how do you go about ...
C#
Spark 4.5
Aug 28, 2015 by
Mark Erasmus
50
0
Views
3.3K
Answers
2
Votes
0
Working with SQL bit values?
Hi, I am trying to write to a table that includes a bit column. When trying to the initialise the domain object with defaults I am getting the following error: "Object of type 'System.Int32' cannot be ...
C#
Spark 4.5
Sep 21, 2015 by
Mark Erasmus
50
0
Views
6.2K
Answers
2
Votes
0
Direct Engineering from UML Diagrams
Hi: I can't find any resource (book, blog, etc.) that explains how to produce C# code from UML Diagrams, manually. I find ways to do it automatically using VS, or other UML Products, but now I'm interested in how ...
UML
C#
May 15, 2013 by
Rafael Soteldo
50
50
Views
5.7K
Answers
2
Votes
0
Business Object properties: model as Objects or Enums?
If I want to represent status types ie 1 started 2 inprogress 3 completed etc. I know I can use Enum's in normal code but how should i represent them in the business objects layer, as objects or as enums, I am ...
C#
Business Objects
Enums
Jun 20, 2013 by
ben brown
50
50
Views
5.4K
Answers
2
Votes
0
Patterns for Asynchronous Programming?
Do you or anyone have any code samples or patterns for using the new .NET 4.5 Await ...
C#
VB.NET
.NET 4.5
Aug 12, 2013 by
Elliott Ward
256
99.6
Views
6.8K
Answers
2
Votes
0
SqlMap & Xml (Spark Generator)
I am trying to Generate an entity in my database that contains an Xml column. When I run the Generator I am told that the Xml object does not exist and that I may be missing a using statement. I know that there is ...
Spark 4.5
C#
SqlMap
XML
Apr 19, 2014 by
Jonathan Pickford
50
50
Views
3.5K
Answers
2
Votes
0
Will the next version of the .NET design pattern framework use Spark, Entity Framework or something else for the DAL?
Will the next version of the .NET design pattern framework use Spark, Entity Framework or something else for the data access ...
C#
Data Access Layer
Spark
Entity Framework
May 24, 2016 by
Abdu Bukres
75
96.3
Views
3.7K
Answers
1
Votes
0
Microsoft Visual studio 2008 C# Framework 3.5
Hello everybody and good day. I have a question for your product "design pattern", i have Microsoft Visual studio 2008 C# Framework 3.5, could i use your product with my specific? ...
Microsoft Visual studio 2008
C#
Framework 3.5
Jun 04, 2014 by
Cuitlahuac García Togo
50
50
Views
4.1K
Answers
1
Votes
0
ObserverLogToDatabase and DAL circular reference
Hello, I need to log to both the windows event log and to the database for an application I am building. I have separated the logger to its own project and included it in just about every layer that needs ...
C#
DAO Pattern
Logging
Mar 07, 2014 by
Mr. Query
56
94.9
Views
4.1K
Answers
1
Votes
0
Spark's Core.cs. Where does sqlSelect get populated
Hi There, I'm busy messing around with Spark. Great job, by the way! I've created my own project and reproduced the required classes and layout but when I call the Single method e.g: var people= ...
C#
Spark 4.5
Sep 17, 2013 by
Pieter van der Westhuizen
50
50
Views
3.9K
Answers
1
Votes
0
Execute multiple sql statements
How to execute multiple SQL statements? I want reset user_id column in accounts table. Thanks. public void ResetUserId() { try { string sql = "SET @count= 0; UPDATE accounts SET user_id= ...
C#
SQL
Oct 07, 2014 by
EDH4 ☺
50
50
Views
4.5K
Answers
1
Votes
0
Caching using Singleton pattern
We are planning to implement caching using Singleton pattern. Will that be a best approach. Need advantages and ...
C#
Singleton patern
Feb 19, 2015 by
Sudheer R
50
50
Views
3.6K
Answers
1
Votes
0
Series of Add/Subtract/Multiply
Hi , i am building a function , where i get an amount , i need to go to series of seven steps (only 7 not dynamic). Each of this step will do Step1 - add, Step2- ...
C#
Patterns
Apr 23, 2015 by
Thomson Jacob
50
50
Views
6K
Answers
1
Votes
0
Optimal Design Pattern to generate a file
The process to generate a file is : 1. get header 2. get content 4. generate file 6. download file for exmple, there are two types: 1. txt file 2. xml file the get header function is same. txt file and xml file use ...
C#
Design Pattern
Oct 18, 2012 by
Oo Hml
50
50
Better Code
Better Career
Better Lifestyle
.NET
Design Pattern
Framework 4.5
C# and VB.NET
Includes:
Gang of Four Patterns
Head First Patterns
Enterprise Patterns
Multi-Tier Patterns
Repository Pattern
Unit-of-Work Pattern
CQRS Pattern
Active Record Pattern
Model View Controller
Model View Presenter
Model View ViewModel
Spark
TM
RAD Platform
Art Shop MVC Web app
Much more...
Click here for details
-- Instant Access --
Instant Download
1
2
3
Next
15
30
50
Per Page