c# - WCF Best Practice/Cleanest Method implementation in Silverlight -
http://www.dnrtv.com/default.aspx?shownum=122
after watching above video "extreme wcf", clean approach taken towards layout of code.
however not directly apply silverlight.
i wondering if either knew how tie proxy @ end of video silverlight, or if knew of similar method tidying wcf up.
either or discussion on wcf techniques helpful.
thanks
public class proxy : clientbase<itaskauditservice> , itaskauditservice { #region itaskauditservice members public ienumerable<taskaudittype> getlist( string measure, string username, string taskreason ) { return channel.getlist(measure, username, taskreason); } public ienumerable<string> getusers() { return channel.getusers(); } public ienumerable<string> gettaskreasons() { return channel.gettaskreasons(); } public ienumerable<string> getmeaures() { return channel.getmeaures(); } #endregion }
as requested code here i'm missing method of getting silverlight project (and making asyncrhonus)
for best pratice, may want take @ book
programming wcf services juval löwy
it's best book found on subject , have chapter on "wcf coding standard"
i can't copy paste entire chapter should able find somewhere on internet.
by way, it's reference if think using wcf while...
Comments
Post a Comment