Hi Guys,
I am facing a problem with WCF connectavity with silverlight. In my interface I wrote the DoWork method for asynchronous and normal calls.
#if SILVERLIGHT
[OperationContract(AsyncPattern=true)]
IAsyncResult BeginDoWork(bool opt, AsyncCallback callback, object state);
string EndDoWork(IAsyncResult result);
#else
[OperationContract]
string DoWork(bool opt);
#endif
When I start coding the interface "#if SILVERLIGHT" content is gray color and "#else" content is colored(blue, black).
After some code changes when I seen interface code the colors are swaped. "#if SILVERLIGHT" content is colored(blue, black) and "#else" content is gray color. I don't know what I did wrong.
Please any one can help me to solve this issue
http://satyendrakumarp.spaces.live.com/blog/cns!1571EB24C5E78234!167.entry
Thank You, Satyendra