Click here to Skip to main content
12,357,063 members (72,190 online)
   

C#

 
GeneralRe: C# computer name rename Pin
EvetsMostel11-Jan-13 7:54
memberEvetsMostel11-Jan-13 7:54 
GeneralRe: C# computer name rename Pin
EvetsMostel11-Jan-13 11:30
memberEvetsMostel11-Jan-13 11:30 
GeneralRe: C# computer name rename Pin
EvetsMostel14-Jan-13 13:15
memberEvetsMostel14-Jan-13 13:15 
QuestionFTP Decryption Error Pin
Member 865395910-Jan-13 18:22
memberMember 865395910-Jan-13 18:22 
AnswerRe: FTP Decryption Error Pin
Bernhard Hiller10-Jan-13 21:46
memberBernhard Hiller10-Jan-13 21:46 
GeneralRe: FTP Decryption Error Pin
Garth J Lancaster11-Jan-13 11:00
memberGarth J Lancaster11-Jan-13 11:00 
AnswerRe: FTP Decryption Error Pin
Eddy Vluggen11-Jan-13 2:28
mvpEddy Vluggen11-Jan-13 2:28 
GeneralRe: FTP Decryption Error Pin
Garth J Lancaster11-Jan-13 11:00
memberGarth J Lancaster11-Jan-13 11:00 
Questionhow to export a div to pdf Pin
shineskollam10-Jan-13 18:17
membershineskollam10-Jan-13 18:17 
AnswerRe: how to export a div to pdf Pin
Richard MacCutchan10-Jan-13 21:51
mvpRichard MacCutchan10-Jan-13 21:51 
QuestionRegarding implementation of Dependency Injection with C# Pin
Tridip Bhattacharjee10-Jan-13 2:06
memberTridip Bhattacharjee10-Jan-13 2:06 
AnswerRe: Regarding implementation of Dependency Injection with C# Pin
Pete O'Hanlon10-Jan-13 2:22
protectorPete O'Hanlon10-Jan-13 2:22 
AnswerRe: Regarding implementation of Dependency Injection with C# Pin
jschell10-Jan-13 14:03
memberjschell10-Jan-13 14:03 
AnswerRe: Regarding implementation of Dependency Injection with C# Pin
SledgeHammer0110-Jan-13 14:57
memberSledgeHammer0110-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
memberTridip Bhattacharjee10-Jan-13 20:07 
GeneralRe: Regarding implementation of Dependency Injection with C# Pin
Pete O'Hanlon10-Jan-13 21:11
protectorPete O'Hanlon10-Jan-13 21:11 
QuestionHow to draw an arc in winRT with animation? Pin
abinashokk9-Jan-13 21:55
memberabinashokk9-Jan-13 21:55 
AnswerRe: How to draw an arc in winRT with animation? Pin
Pete O'Hanlon9-Jan-13 22:34
protectorPete O'Hanlon9-Jan-13 22:34 
QuestionC#.NET 3.5 Code review checklist Pin
Member 31370789-Jan-13 20:28
memberMember 31370789-Jan-13 20:28 
AnswerRe: C#.NET 3.5 Code review checklist Pin
Eddy Vluggen9-Jan-13 22:54
mvpEddy Vluggen9-Jan-13 22:54 
AnswerRe: C#.NET 3.5 Code review checklist Pin
deflinek10-Jan-13 0:53
memberdeflinek10-Jan-13 0:53 
AnswerRe: C#.NET 3.5 Code review checklist Pin
jschell10-Jan-13 14:06
memberjschell10-Jan-13 14:06 
GeneralRe: C#.NET 3.5 Code review checklist Pin
PIEBALDconsult10-Jan-13 15:16
memberPIEBALDconsult10-Jan-13 15:16 
GeneralRe: C#.NET 3.5 Code review checklist Pin
PIEBALDconsult10-Jan-13 14:46
memberPIEBALDconsult10-Jan-13 14:46 
QuestionSocket programming Pin
mohammadkaab9-Jan-13 3:32
membermohammadkaab9-Jan-13 3:32 
AnswerRe: Socket programming Pin
Dave Kreskowiak9-Jan-13 3:38
mvpDave Kreskowiak9-Jan-13 3:38 
GeneralRe: Socket programming Pin
mohammadkaab9-Jan-13 7:13
membermohammadkaab9-Jan-13 7:13 
GeneralRe: Socket programming Pin
Dave Kreskowiak9-Jan-13 9:02
mvpDave Kreskowiak9-Jan-13 9:02 
GeneralRe: Socket programming Pin
mohammadkaab9-Jan-13 9:25
membermohammadkaab9-Jan-13 9:25 
GeneralRe: Socket programming Pin
Dave Kreskowiak10-Jan-13 2:11
mvpDave Kreskowiak10-Jan-13 2:11 
AnswerRe: Socket programming Pin
Keith Barrow9-Jan-13 4:15
mentorKeith Barrow9-Jan-13 4:15 
GeneralRe: Socket programming Pin
mohammadkaab9-Jan-13 10:29
membermohammadkaab9-Jan-13 10:29 
AnswerRe: Socket programming Pin
Richard MacCutchan9-Jan-13 4:42
mvpRichard MacCutchan9-Jan-13 4:42 
AnswerRe: Socket programming Pin
Pete O'Hanlon9-Jan-13 5:27
protectorPete O'Hanlon9-Jan-13 5:27 
AnswerRe: Socket programming Pin
harold aptroot9-Jan-13 6:14
memberharold aptroot9-Jan-13 6:14 
AnswerRe: Socket programming Pin
ProgramFOX9-Jan-13 6:47
member ProgramFOX9-Jan-13 6:47 
QuestionLooking for a specific regex Pin
Dennis Bork8-Jan-13 21:31
memberDennis Bork8-Jan-13 21:31 
AnswerRe: Looking for a specific regex Pin
Pete O'Hanlon8-Jan-13 22:27
protectorPete O'Hanlon8-Jan-13 22:27 
AnswerRe: Looking for a specific regex Pin
savbace8-Jan-13 23:49
membersavbace8-Jan-13 23:49 
AnswerRe: Looking for a specific regex Pin
lmoelleb9-Jan-13 0:12
memberlmoelleb9-Jan-13 0:12 
GeneralRe: Looking for a specific regex Pin
Dennis Bork9-Jan-13 3:26
memberDennis Bork9-Jan-13 3:26 
AnswerRe: Looking for a specific regex Pin
thewazz9-Jan-13 3:38
memberthewazz9-Jan-13 3:38 
AnswerRe: Looking for a specific regex Pin
PIEBALDconsult9-Jan-13 3:42
memberPIEBALDconsult9-Jan-13 3:42 
QuestionOrder execution sequence Pin
vanikanc8-Jan-13 10:32
membervanikanc8-Jan-13 10:32 
AnswerRe: Order execution sequence Pin
YENSIX8-Jan-13 11:17
memberYENSIX8-Jan-13 11:17 
GeneralRe: Order execution sequence Pin
vanikanc8-Jan-13 14:36
membervanikanc8-Jan-13 14:36 
GeneralRe: Order execution sequence Pin
vanikanc9-Jan-13 5:24
membervanikanc9-Jan-13 5:24 
GeneralRe: Order execution sequence Pin
Pete O'Hanlon9-Jan-13 5:28
protectorPete O'Hanlon9-Jan-13 5:28 
GeneralRe: Order execution sequence Pin
vanikanc9-Jan-13 9:41
membervanikanc9-Jan-13 9:41 
GeneralRe: Order execution sequence Pin
YENSIX10-Jan-13 10:56
memberYENSIX10-Jan-13 10:56 

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.


Advertise | Privacy | Mobile
Web01 | 2.8.160621.1 | Last Updated 30 Jun 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid