Click here to Skip to main content
15,919,422 members
Home / Discussions / C#
   

C#

 
GeneralRe: Whirlpool Hash Algorithm. Pin
Ratika Agarwal2-Jan-12 8:07
Ratika Agarwal2-Jan-12 8:07 
QuestionGDI+ draw text in custom control question (is this the right approach?) Pin
Blubbo17-Nov-11 2:02
Blubbo17-Nov-11 2:02 
AnswerRe: GDI+ draw text in custom control question (is this the right approach?) Pin
Luc Pattyn17-Nov-11 2:26
sitebuilderLuc Pattyn17-Nov-11 2:26 
GeneralRe: GDI+ draw text in custom control question (is this the right approach?) Pin
Blubbo17-Nov-11 3:22
Blubbo17-Nov-11 3:22 
GeneralRe: GDI+ draw text in custom control question (is this the right approach?) Pin
Blubbo17-Nov-11 3:39
Blubbo17-Nov-11 3:39 
GeneralRe: GDI+ draw text in custom control question (is this the right approach?) Pin
Pete O'Hanlon17-Nov-11 4:02
mvePete O'Hanlon17-Nov-11 4:02 
AnswerRe: GDI+ draw text in custom control question (is this the right approach?) Pin
Luc Pattyn17-Nov-11 4:21
sitebuilderLuc Pattyn17-Nov-11 4:21 
QuestionHow to pass non-remotable objects through AddIn-Pipeline?! Pin
dreiundzwanzig16-Nov-11 23:12
dreiundzwanzig16-Nov-11 23:12 
Hello buddies Smile | :)

I'm trying to develop my first extensible application in C# by use of the System.AddIn class provided by .NET 4.0. Therefore I've read and performed the MSDN turtorials according to this subject (http://msdn.microsoft.com/en-us/library/bb788290.aspx[^]). I implemented the test projects by hand to understand the pipeline flow and thereafter I adapted the PipelineBuilder Tool to VS2010.
My problem is that my application should share very complex objects with their addins, e.g.
C#
Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem
which is nor serializable neither marshaled by reference. What is the best way to achieve this? After my investigations one way is to share all needed informations (TeamCollection.Name, TeamProject.Name, WorkItem.ID, etc.) of the WorkItem to query exactly this WorkItem on AddIn- or Host-Side again. But this would be very time-consuming and not very comfortable considering the aim of easy application extension.

MSDN recommends to avoid the use of marshaling by reference but in my opionion serializing the WorkItem class is no suitable solution, is it? However that may be do you know where I can find an example how this problem is resolved in a elegant way?

Thank you in advance

23
AnswerRe: How to pass non-remotable objects through AddIn-Pipeline?! Pin
BobJanova17-Nov-11 23:41
BobJanova17-Nov-11 23:41 
General[closed] Re: How to pass non-remotable objects through AddIn-Pipeline?! Pin
dreiundzwanzig21-Nov-11 4:31
dreiundzwanzig21-Nov-11 4:31 
QuestionSpecify order in Type.GetMembers() Pin
AmitDey16-Nov-11 22:32
AmitDey16-Nov-11 22:32 
AnswerRe: Specify order in Type.GetMembers() Pin
Pete O'Hanlon16-Nov-11 22:47
mvePete O'Hanlon16-Nov-11 22:47 
GeneralRe: Specify order in Type.GetMembers() Pin
AmitDey16-Nov-11 22:51
AmitDey16-Nov-11 22:51 
GeneralRe: Specify order in Type.GetMembers() Pin
Pete O'Hanlon16-Nov-11 22:55
mvePete O'Hanlon16-Nov-11 22:55 
AnswerRe: Specify order in Type.GetMembers() Pin
BobJanova16-Nov-11 23:07
BobJanova16-Nov-11 23:07 
AnswerRe: Specify order in Type.GetMembers() Pin
BillWoodruff16-Nov-11 23:11
professionalBillWoodruff16-Nov-11 23:11 
QuestionRe: Specify order in Type.GetMembers() Pin
Rob Philpott17-Nov-11 1:23
Rob Philpott17-Nov-11 1:23 
Questionto develop web based helpdesk application (visual studio 2005) Pin
sk_ko16-Nov-11 21:28
sk_ko16-Nov-11 21:28 
AnswerRe: to develop web based helpdesk application (visual studio 2005) Pin
Richard MacCutchan16-Nov-11 21:47
mveRichard MacCutchan16-Nov-11 21:47 
GeneralRe: to develop web based helpdesk application (visual studio 2005) Pin
sk_ko16-Nov-11 22:10
sk_ko16-Nov-11 22:10 
GeneralRe: to develop web based helpdesk application (visual studio 2005) Pin
Pete O'Hanlon16-Nov-11 22:21
mvePete O'Hanlon16-Nov-11 22:21 
GeneralRe: to develop web based helpdesk application (visual studio 2005) Pin
sk_ko16-Nov-11 22:43
sk_ko16-Nov-11 22:43 
GeneralRe: to develop web based helpdesk application (visual studio 2005) Pin
Pete O'Hanlon16-Nov-11 22:52
mvePete O'Hanlon16-Nov-11 22:52 
GeneralRe: to develop web based helpdesk application (visual studio 2005) Pin
Richard MacCutchan16-Nov-11 23:28
mveRichard MacCutchan16-Nov-11 23:28 
QuestionExe Reading Pin
Member 814633716-Nov-11 17:18
Member 814633716-Nov-11 17:18 

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.