Hi ,
I have an n tier application that have interface, entities, biz layer ..etc .
I start reading about wcf to expose some methods as service .
let say ihave a method something like => public MyType Method1(MyType2 obj) and i want to expose it,
i realized that i have to declare MyType2 as DataContract to enable passing it as parameter over service.
My question is : can i modified my MyType2 to be a DataContract so i can use it on my wcf service ,
is this will effect my normal component which usses MyType2 as normal class ,
or will it effect any thing else like perfomance
Regards
Matelin