开发者

Asynchronous Serialization for Winform Optimization

I'd like to do something like AJAX for our Winforms apps to optimize data delivery. I'd also like to cache info about user behavior (frequently used, recently used, etc.).

Juval Lowy's ideas on component architecture and serialization got me pretty excited when I was a newbie to C#, but where the rubber meets the road I'm one guy开发者_如何学运维 in a small company: overly elaborate solutions can get me in trouble and code reuse can be a simple as the Windows clipboard.

What authors, design patterns, or cautionary tales should I consider?


AJAX for Winforms can be accomplished with the BackgroundWorker Class, the cache can be implemented easily by creating in Program.cs static dictionaries that you'll fill at application start from database. I advise you to always check how much memory is available and compare this with an estimated size of your cache dictionaries, this can be done by using the MemoryFailPoint class.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜