|
2006-1-8, 11:09 PM
|
summersnow


 等级: 排长
注册: 2005年10月15日
区域: 北京
积分: 66
精华: 0
发贴: 61
|
|
最近在做Smart Client,比较郁闷~不知道有没有大虾对这个有研究~
|
|
|
|
|
.NET 2.0带来了很多新的特性,而这些新特性在设计Service Oriented Architecture (SOA)架构的Smart Client上应该会有很大的作用。然而偶似乎还是不过全面,整天混迹于MIT的开源论坛里却仍然找不到什么思路~有很多问题都很难解决。
主要有以下几点:
- Local Resources and User Experience: The application downloads from a website using ClickOnce deployment feature of .NET 2.0 and runs locally. It fully utilizes local resources, multithreading capability, graphics card's power, giving you the best user experience .NET 2.0 has to offer.
- Connected: The application works by calling several web services which act as the backend of the client.
- Offline Capable: You can load students data you want to work with and go offline. You can make changes to the student profiles, add/drop courses, modify accounts etc. and then synchronize them back when you go online.
- Intelligent Deployment and Update: The application uses Updater Application Block 2.0 to provide auto update feature. Whenever I release a new version or deploy some bug fixes to a central server, all the users of this application automatically get the update behind the scene. This saves each and every user from going to the website and downloading the new version every time I release something new. It also allows me to instantly deliver bug fixes to everyone within a very short time.
- Multithreaded: Another favorite requirement of mine for making a client really Smart is to make the application fully multithreaded. Smart Clients should always be responsive. They must not get stuck whenever they are downloading or uploading data. User will keep on working without knowing something big is going on in the background. For example, while you are loading one student's course list, you can move around on the course list on the left or can work on another student data which is already loaded.
- Crash Proof: A Smart Client becomes a Dumb Client when it crashes in front of a user showing the dreaded “Continue” or “Quit” dialog box. In order to make your app truly Smart, you need to catch any unhandled error and publish the error safely. In this app, I will show you how this has been done using .NET 2.0's Unhandled Exception trap feature.
|
|
|
IP 地址: 已登录
来自: 已登录
|
|
|
|
|
|
|
|