Click here to Skip to main content
15,889,335 members
Home / Discussions / C#
   

C#

 
AnswerRe: FTP Decryption Error Pin
Eddy Vluggen11-Jan-13 2:28
professionalEddy Vluggen11-Jan-13 2:28 
GeneralRe: FTP Decryption Error Pin
Garth J Lancaster11-Jan-13 11:00
professionalGarth J Lancaster11-Jan-13 11:00 
Questionhow to export a div to pdf Pin
shineskollam10-Jan-13 18:17
shineskollam10-Jan-13 18:17 
AnswerRe: how to export a div to pdf Pin
Richard MacCutchan10-Jan-13 21:51
mveRichard MacCutchan10-Jan-13 21:51 
QuestionRegarding implementation of Dependency Injection with C# Pin
Tridip Bhattacharjee10-Jan-13 2:06
professionalTridip Bhattacharjee10-Jan-13 2:06 
AnswerRe: Regarding implementation of Dependency Injection with C# Pin
Pete O'Hanlon10-Jan-13 2:22
mvePete O'Hanlon10-Jan-13 2:22 
AnswerRe: Regarding implementation of Dependency Injection with C# Pin
jschell10-Jan-13 14:03
jschell10-Jan-13 14:03 
AnswerRe: Regarding implementation of Dependency Injection with C# Pin
SledgeHammer0110-Jan-13 14:57
SledgeHammer0110-Jan-13 14:57 
This doesn't sound like a job for plain DI. It sounds more like a job for MEF which is more of a plug-in architecture.

How much of the code is straight up copy & paste between different companies?

If the code is 99% duplicate, why not just move the differences into a SQL database or XML file and just have a single common engine that reads the params and uses them? I.e. like instead of hardcoding one dll to fedex and another to ups, just have one method where you pass in the URL or whatever?

Even if the code is more like 50% to 75% different, I'd refactor it to a data driven engine instead of a plug-in architecture.

I'm guessing most of the code is identical... go to this URL to create an order, go to this URL to do this, etc.

If there are a lot of differences, revisiting the data driven model, you can use javascript or even C# scripts as your "plug-in" model. I.e. for fedex you execute this javascript, for ups you do that one.
GeneralRe: Regarding implementation of Dependency Injection with C# Pin
Tridip Bhattacharjee10-Jan-13 20:07
professionalTridip Bhattacharjee10-Jan-13 20:07 
GeneralRe: Regarding implementation of Dependency Injection with C# Pin
Pete O'Hanlon10-Jan-13 21:11
mvePete O'Hanlon10-Jan-13 21:11 
QuestionHow to draw an arc in winRT with animation? Pin
abinashokk9-Jan-13 21:55
abinashokk9-Jan-13 21:55 
AnswerRe: How to draw an arc in winRT with animation? Pin
Pete O'Hanlon9-Jan-13 22:34
mvePete O'Hanlon9-Jan-13 22:34 
QuestionC#.NET 3.5 Code review checklist Pin
Member 31370789-Jan-13 20:28
Member 31370789-Jan-13 20:28 
AnswerRe: C#.NET 3.5 Code review checklist Pin
Eddy Vluggen9-Jan-13 22:54
professionalEddy Vluggen9-Jan-13 22:54 
AnswerRe: C#.NET 3.5 Code review checklist Pin
Deflinek10-Jan-13 0:53
Deflinek10-Jan-13 0:53 
AnswerRe: C#.NET 3.5 Code review checklist Pin
jschell10-Jan-13 14:06
jschell10-Jan-13 14:06 
GeneralRe: C#.NET 3.5 Code review checklist Pin
PIEBALDconsult10-Jan-13 15:16
mvePIEBALDconsult10-Jan-13 15:16 
GeneralRe: C#.NET 3.5 Code review checklist Pin
PIEBALDconsult10-Jan-13 14:46
mvePIEBALDconsult10-Jan-13 14:46 
QuestionSocket programming Pin
mohammadkaab9-Jan-13 3:32
mohammadkaab9-Jan-13 3:32 
AnswerRe: Socket programming Pin
Dave Kreskowiak9-Jan-13 3:38
mveDave Kreskowiak9-Jan-13 3:38 
GeneralRe: Socket programming Pin
mohammadkaab9-Jan-13 7:13
mohammadkaab9-Jan-13 7:13 
GeneralRe: Socket programming Pin
Dave Kreskowiak9-Jan-13 9:02
mveDave Kreskowiak9-Jan-13 9:02 
GeneralRe: Socket programming Pin
mohammadkaab9-Jan-13 9:25
mohammadkaab9-Jan-13 9:25 
GeneralRe: Socket programming Pin
Dave Kreskowiak10-Jan-13 2:11
mveDave Kreskowiak10-Jan-13 2:11 
AnswerRe: Socket programming Pin
Keith Barrow9-Jan-13 4:15
professionalKeith Barrow9-Jan-13 4:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.