Tagged Questions
-2
votes
3answers
210 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 ...
2
votes
2answers
481 views
A small project but I want to use design patterns to do it right
I've got a project coming up, a very a small system, but one that needs to be extended in the future.
Here's how I've designed it so far.
It's 3-tier: presentation, business and data.
For the ...
1
vote
2answers
460 views
Data transfer between “main” site and secured virtual subsite
I am currently working on a C# ASP.Net 3.5 website I wrote some years ago which consists of a "main" public site, and a sub-site which is our customer management application, using forms-based ...
0
votes
1answer
105 views
Confused on how to properly employ a Repository Pattern with Service/Business Layer on top
I'm building a ASP.NET Web Api 2 solution for learning purposes, and I've hit a snag. I was wondering if anyone could tell me what exactly it is that I'm missing.
My Web Api solution has 4 Layers:
...
0
votes
1answer
397 views
Database Context and Singleton injection with IoC
All of the below relates to a ASP.NET c# app.
I have a Singleton Settings MemoryCache that reads values from database on first access and caches these, then invalidates them using SQL Service Broker ...
1
vote
0answers
42 views
Passing Anonymous Type to a Bound Control
Generally speaking, I'm fairly opposed to the use of anonymous types in real-world code (except in LINQ and some other specific scenarios), but I'm looking right now at a situation where I need to ...
1
vote
0answers
117 views
How much segregation is too much in this design?
We are working on ASP.NET webforms application developed using WCSF (MVP pattern). In the application, there is a search screen that allows the user to enter some fields and display the results.
We ...
0
votes
0answers
213 views
What are the shortcomings of using AuthorizeAttribute in this way in MVC?
I have ASP.Net MVC project code with custom authorization as below:
public class UpdateAccrualAuthorize : AuthorizeAttribute
{
public override void OnAuthorization(AuthorizationContext ...