INCREASE YOUR SILVELRLIGHT/WCF SPEED
1.
Return only that much of DATA that is required.
2.
Don’t pass unnecessary parameter like if you
just need employee id then don’t pass whole employee object to WCF service.
3.
Search method should return list of light object.
Light object means –All object shouldn’t be filled up with all property
otherwise it will make a huge data download and sometime exceeds the max data
received limit. User can only see on object at time so when user select object
from list then only load complete object.
4.
Don’t add property in your entity because of UI.
For that always use converter to convert entity into whatever format you want.
XAML
1.
Don’t give name to all UI elements if not
required.
2.
Use GRID instead of canvas/stackpanel to make
your UI resolution free, if required then only use canvas and stackpanel
3.
Don’t give height and width of any control if
not required.
4.
Don’t write property with default value like
HorizontalAlignment=”Left”. If you don’t write this then also Silverlight will
take this as default value.
5.
Use style instead of inline styling for better
control
6.
Use animation to provide real time experience to
users.
3 comments:
Normally I don't learn article on blogs, but I wish to say that this write-up very forced me to take a look at and do it! Your writing style has been surprised me. Thanks, quite nice article.
Here is my web page :: Ringing In The Ears
Glad to know you like my blog..thanks buddy cheers
Thankfulness to my father who told me concerning this
webpage, this blog is genuinely awesome.
Feel free to visit my blog ; My Website
Post a Comment
Send us your comment related to the topic mentioned on the blog