The .NET Framework is a software framework for Microsoft Windows operating systems. It includes an implementation of the Base Class Library, Common Language Runtime, and Dynamic Language Runtime. It supports many programming languages, including C#, VB.NET, F# and C++.
4
votes
2answers
529 views
Acceptable placement of the composition root using dependency injection and inversion of control containers
I've read in several sources including Mark Seemann's 'Ploeh' blog about how the appropriate placement of the composition root of an IoC container is as close as possible to the entry point of an ...
2
votes
1answer
87 views
how to process document state transition?
Imagine there is an application (ASP.NET MVC) that processes some documents. The document must be revised several times by different group of users.
state/role rules:
simple user can only publish ...
2
votes
1answer
233 views
Where do service implementations fit into the Microsoft Application Architecture guidelines?
The guidelines discuss the service layer with its service interfaces and data/message/fault contracts. They also discuss the business layer with its logic/workflow components and entities as well as ...
1
vote
1answer
162 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
1answer
92 views
Good approach for hundreds of comsumers and big files
I have several files (nearly 1GB each) with data. Data is a string line.
I need to process each of these files with several hundreds of consumers. Each of these consumers does some processing that ...
0
votes
1answer
87 views
Executing user configuration settings
For an API I'm building what it does is load an XML file that is passed to it as a string, drill to the correct element, modify values, and return the modified XML.
I'm doing something like this in ...
0
votes
1answer
257 views
can you have too many dto/bo - mapping method
I have a windows service, 2 web services and a web interface that need to follow the same path (data wise).
So I came up with two ways of creating my solution.
My concern is the fact that the ...
3
votes
0answers
68 views
What to focus on when separating a monolithic codebase into separate (NuGet) packages?
I work on a fairly large web application. The main solution containing the web application project has over 100 projects. The average build time of that solution is 2 minutes on a 12 GB quad-core ...
2
votes
0answers
123 views
RSpec + Selenium tests for .NET on Windows
I'm a Rails developer doing TDD on a Mac with RSpec, Capybara and Selenium webdriver. Now I have been asked by my company to use this approach for a .NET on Windows environment. What is the best way ...
1
vote
0answers
35 views
Handling permissions in a MVP application
In a windows forms payroll application employing MVP pattern (for a small scale client) I'm planing user permission handling as follows (permission based) as basically its implementation should be ...
1
vote
0answers
69 views
Software License for project using .NET and Sql Server Express
I considering making my application open source on github. I don't intend to sell it (neither in binary form nor source code form). It probably isn't even useful to a lot of people except maybe for ...
1
vote
0answers
334 views
Is OAuth (2.0) is the right choice to make WCF WebService secure?
I have WCF webservice which serves to various mobile application. This was implemented with typical HTTPS/SSL. But there are some cases like Replay Attack needs to be considered in the security ...
1
vote
0answers
605 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 ...
0
votes
0answers
35 views
UI Field validation in MVP pattern
I want to validate the details provided by the user before taking them into the processing.
My UIs have Text boxes, Combos mainly and, there are some fields that user must provide a data, in some ...
0
votes
0answers
42 views
Using Statement lambda in exception handling
Following is a code snippet from MVP Win Forms application and this explanation would be helpful when answering the questions.
My DAL doesn't handle exceptions and it will be propagated up to the ...
0
votes
0answers
22 views
Source control: projects which share a 3rd library which is still under development in RTC
this is not a new question for source control, but IBM's Rational Team Concert is a slightly different animal than Git, SVN, etc.
We have a number of .NET web sites under development with Visual ...
0
votes
0answers
63 views
Large invoice database structure and rendering
Our client has a MS SQL database that has 1 million customer invoice records in it. Using the database, our client wants its customers to be able to log into a frontend web site and then be able to ...
0
votes
0answers
21 views
Implement SSO login with or without Membership
I need to implement SSO for four different domains, say
abc.com
pqr.com
sql.com
xyz.com
Now, I have already login system for two of my applications using Membership. But now requirement is ...
0
votes
0answers
110 views
Updating GUI in 'realtime' using events
My Plan
Have a system that holds some objects
Have a winforms-form that displays some key values of these objects
When certain changes occur(object gets add / removed / datat change): Update GUI
...
0
votes
0answers
44 views
How do we isolate dependencies for a .Net app deploy in a way which is safe for a strongly-named assemblies?
To design in such that it is easy to deploy dependencies with your app, and so that development environments are easy to set up, it is advantageous to isolate an app's dependencies from it's ...
0
votes
0answers
53 views
Best approach for a server configuration data collection and reporting solution from a legacy script?
I have a project which involves collecting config data from windows servers in our (very large) server estate. My manager wants me to collect over 150 data items across all configuration areas ...
0
votes
0answers
16 views
What is the best solution for printing a document from Azure with limited user interaction?
I currently have a web app hosted in Azure, with a few worker background jobs.
My goal is for a user to click print on a page, and to them the printer will magically start printing a document(for ...
0
votes
0answers
211 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 ...
0
votes
0answers
77 views
How to structure integration tests per environment
I have a set of integration tests written using MSTest. I want to deploy my application to various environments and run my integration tests on that environment. There are certain configuration ...
0
votes
0answers
24 views
Listening For and Raising Events in the BLL
I'm working on a WinForms .Net Recording App and I have a RecordingMgr in my BLL to listen for new events captured by another class. I want to display the events in my UI and I'm stuck as to what's ...
0
votes
0answers
71 views
Strong Name signing order for dependant projects
I have two project A(.EXE) and B(.DLL) in the solution. A references B. If I delay sign both and send them for full signing. Will A be able to load B after ? Or do I have to get B fully signed first, ...