是否有人有使用NHibernate创建偶尔连接的浏览器应用程序的经验? [英] Does Anyone Have Experience Creating an Occasionally-Connected Browser App With NHibernate?

查看:74
本文介绍了是否有人有使用NHibernate创建偶尔连接的浏览器应用程序的经验?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们需要使基于企业ASP.NET/NHibernate的基于浏览器的应用程序能够在连接到客户服务器或与客户服务器断开连接时正常运行.有人做过吗?如果是这样,您是如何做到的? (技术,建筑等)

We need to make our enterprise ASP.NET/NHibernate browser-based application able to function when connected to or disconnected from the customer's server. Has anyone done this? If so, how did you do it? (Technology, architecture, etc.)

背景:

我们开发和销售基于企业浏览器的应用程序,施工现场人员可使用该应用程序输入时间表信息.目前,它需要连接到客户办公室中的服务器,我们希望为那些没有无线Internet可用性的客户构建偶尔连接的应用程序版本.

We develop and sell an enterprise browser-based application used by construction field personnel to enter timesheet information. Currently, it requires a connection to the server back in the customer's office and we'd like to build an occasionally-connected version of the application for those clients without wireless Internet availability.

我们的应用程序是一个使用NHibernate进行O/R映射的ASP.NET应用程序.作为Microsoft商店,Microsoft Sync Framework很吸引人,但是我们不知道它是否可以在NHibernate中很好地发挥作用.

Our application is an ASP.NET application using NHibernate for O/R mapping. Being a Microsoft shop, the Microsoft Sync Framework is attractive, but we don't know whether it "plays well" with NHibernate.

任何见识将不胜感激.

戴夫T

推荐答案

也许您可以使用小型版本数据库来运行某种脱机版本(我听说过有关vistadb的好处-

Maybe you could operate some kind of offline version using a small version database (I hear good things about vistadb - http://www.vistadb.net/ which I believe does play well with NHibernate). With a syncing tool to copy data in when they are back on line. A click-once launcher could handle installation and integration.

尽管与同步有关的任何事情都要小心-如果只是单用户时间表可能还可以-但如果在线-离线数据中有冲突的机会,则最好从不同的角度考虑问题避免疼痛...

Want to be careful with anything involving syncing though - if it is just single user timesheets that might be OK - but if there are any chances of conflicts in the online-offline data you might be better considering the problem from a different angle for pain-avoidance...

这篇关于是否有人有使用NHibernate创建偶尔连接的浏览器应用程序的经验?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆