开发者

XBAP, Click-Once or ASP.NET for barcode intranet application

I'm working on a UI for a simple inventory system. The users will use a USB barcode scanner to retrieve an ID and then either retrieve information from the database about the scanned object or enter the new information. This will only be used within our corporate environment. I can't decide which is the best way to go with this. I would like to use this opportunity to take a cr开发者_开发百科ack at WPF.

I like the idea of having the users interact with a webpage but I don't like the idea of using the USB scanner as a keyboard wedge. I would rather use the service object so that I can capture the event. I thought about writing it as an XBAP running from our server but wasn't sure if it'd be able to interact with the scanner.

I want the flexibility to run this on any computer in the shop without having to install software locally and worry about different versions floating around. I would greatly appreciate some advice on this.


I would use ClickOnce Deployment.

I know you said you don't want to install anything locally, but it does take care of automatically updating the clients from a central location such as web server or file share. You can easily publish new builds right from Visual Studio. Each time the user starts the program locally it checks for updates and installs them, fairly transparently.

This would just be the UI and barcode interface, you could create a WCF service on the server for the actual work, i.e. database querying, business logic, etc.

We were in an almost identical situation in our shop, except it was a time-tracking application. We came up with a Windows Form application deployed via ClickOnce using a WCF service on the server. Its been working well and we don't need to go to each workstation to perform updates.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜