C# is a multiparadigm, managed, garbage-collected object-oriented programming language created by Microsoft in parallel with the .NET platform
1
vote
1answer
132 views
Class structure/pattern for validating several different Excel templates?
I'm trying to validate the contents of Excel sheets that follow several different templates. For each one, there are three possible validation actions for various cells:
Regex (e.g. "XYZ-123" fails ...
2
votes
0answers
98 views
Using absolute paths for build dependencies
Currently we use Source Safe and start migration to Subversion.
All external SDK(> 500 MB) hold in Source Safe now, and I look for way to move them from VSS
to some repository.
We have C++ (mostly), ...
1
vote
0answers
37 views
Testcase runner for parametrized testcases
Let me explain my situation. I'm planning a kind of test case runner for doing testcases on external devices, which are microcontroller based. Lets consider the devices:
Device 1
Device 2
There ...
1
vote
0answers
94 views
Is there a better way to consume an ASP.NET Web API call in an MVC controller?
In a new project I am creating for my work I am creating a fairly large ASP.NET Web API. The api will be in a separate visual studio solution that also contains all of my business logic and database ...
1
vote
0answers
80 views
How to choose which schema design for a tree structured domain model
I have the following classes that I want to store.
public class StorableObject
{
public string Id { get; set; }
}
public class User : StorableObject
{
public string Name { get; set; }
}
...
1
vote
0answers
126 views
.NET software design and Oracle ODP.NET UDT
I'm working on a new common .NET software design (mainly) for WCF-based web service applications with related client frontends (all written in C#). As far I've chosen some frameworks ...
1
vote
0answers
81 views
Clarification about Event Producer in StreamInsight
I need a small clarification about streamInsight, I know by doc's that StreamInsight can handle multiple concurrent Events. But will the event producer be a separate function, for ex: I need to watch ...
0
votes
0answers
24 views
Visual Studio UML reference to another modeling project
I am creating several components and have broken them into different class diagrams / modeling projects. I have to do this because a single diagram simply isn't big enough. Is there a way for a ...
0
votes
0answers
58 views
Patterns for refactoring
I have a existing legacy library which has multiple helper classes. For example Helper1, Helper2. They are not well organized. I want provide an easy to use interface like this:
...
0
votes
0answers
171 views
How to write unit tests without mocking data
My design doesn't allow me to mock the data so I am using sqlite as test database that has minimum data to run the unit tests. Below is the pseudo code
//Method to be tested
public IList<Funds> ...
0
votes
0answers
174 views
What's the next logical TDD move in this learning example?
I'm inching my way up the TDD ladder and I've got to a point where I'd like to get advice on the "next move". I realize there might not be a single answer here, so any logical suggestion would be ...
0
votes
0answers
180 views
ASP.NET Mvc3 - application/request lifetime and dependency injection
I thought of asking on SO, but it seems this is more of a "concept" type question than a "problem" type question. If it needs to be moved, please do so.
Anyway, I'm having a tough time finding ...
0
votes
0answers
147 views
Are both the EventAggregator used by ViewModel and Domain Event used by Model the same thing?
My initial doubt was should the Model classes in an MVVM use the EventAggregator or the traditional delegates in C# for events. I searched around and read about the Domain Events. It seems to me that ...
0
votes
0answers
301 views
Is this a good way to compare two numbers?
If we have double numbers, let's say I want to see if some double parameter is equal to zero that is passed as double:
public bool AlmostEqual(double x, double y)
{
double epsilon = ...
0
votes
0answers
191 views
Do we have ObjectForScripting property for WebBrowser Control, for Smart Device application?
I am aware of the ObjectForScripting property provided for the WebBrowser control, which is provided for WinForms application. I am using the WebBrowser control in a smart device application. I am not ...