Tagged Questions
4
votes
2answers
397 views
A design pattern for data binding an object (with subclasses) to asp.net user control
I have an abstract class called Address and I am deriving three classes ; HomeAddress, Work Address, NextOfKin address.
My idea is to bind this to a usercontrol and based on the type of Address it ...
2
votes
1answer
570 views
Should I implement BackBone.js into my ASP.NET WebForms applications?
Background
I'm trying to improve my group's current web app development pattern. Our current pattern is something we came up with while trying to rich web apps on top of ASP.NET WebForms (none of us ...
5
votes
6answers
368 views
.NET - refactoring code
I have inherited and now further develop a large application consisting of an ASP.NET application, VB6 and VB.NET application.
The software was poorly written. I am trying to refactor the code as I ...
3
votes
1answer
244 views
Is the structure used for these web pages a design pattern?
I want to know if the structure for an ASP.NET website I'm working on uses a design pattern for it's web pages. If it is a design pattern, what is it called? The web pages have the following ...
1
vote
2answers
540 views
What are the best practices to use NHiberante sessions in asp.net (mvc/web api) ?
I have the following setup in my project:
public class WebApiApplication : System.Web.HttpApplication
{
public static ISessionFactory SessionFactory { get; private set; }
public ...
3
votes
2answers
604 views
Should this code/logic be included in Business Objects class or a separate class?
I have created a small application which has a three tier architecture and I have business object classes to represent entities such as User, Orders, UserType etc. In these classes I have methods that ...
1
vote
4answers
674 views
Which pattern to use with a typical Web Form?
I am writing a simple ASP.NET Web Forms application. I want to improve the code by implementing any design pattern with which abstraction is achieved and increases manageability and understandability.
...
-2
votes
3answers
190 views
I have to run certain number of statements (which are executing .exe) in a loop
I have to run certain number of statements (which are executing .exe) in a loop.
ForEach(object obj in ListOfVersions)
{
Step 1: call Exe1 Args=obj.somevalues
Log Step 1 completed ...
5
votes
2answers
359 views
Development Patterns for dealing with Data Import / Export
I have a ASP.NET web based application that allows the end user to export data to a flat file format. (essentially taking a point-in-time backup of their work)
At a later date they can re-upload ...
2
votes
3answers
492 views
Implementing Command Pattern in Web Application
I'm looking to implement the command pattern in a web application (asp.net c#)... Since the commands come in text format from the client, what is the best way to translate the string to a command ...
5
votes
1answer
303 views
Need advice for approach for a web-based app that loads excel worksheet but exposes only the charts
I'm looking for suggestions on the Visual Studio approach to take for a web application that is in the conceptual stage.
My environment has a lot of tools:
Windows Server 2008 R2 Standard 64bit
...
3
votes
1answer
161 views
Exposing warnings\errors from data objects (that are also list returned)
I'm exposing Data objects via service oriented assembly (which on future usages might become a WCF service).
The data object is tree designed, as well as formed from allot of properties.Moreover, ...
4
votes
1answer
2k views
Implementing a DAO for entity framework
Could anybody help me to find a good tutorial about how can I implement DAO pattern and also tools that help me to create this classes in automated way.
4
votes
1answer
809 views
What is the difference between the Controller in MVC and ViewModel in MVVM?
I can't see the difference between the MVC and MVVM clearly. I feel the Command in a ViewModel is just like the Action method in a Controller. And Both of Controller and ViewModel will notify the ...
5
votes
6answers
487 views
Is this considered repeating code?
C#/ASP.net:
/// <summary>
/// Is a group in the basket already?
/// </summary>
public static bool isItemInBasket(List<BasketItem> BasketItems, int GroupID)
{
return ...