如果我会开发协会的网络应用。 利用db4o 哪类数据库:当地或偏远地区,以及为什么?
In my webpages I have references to js and images as such: "../../Content/Images/"Filename" In my code if I reference a file as above, it doesnt work so i have to write: "c:/miscfiles/"filename" 1-...
如果我会开发协会的网络应用。 利用db4o 哪类数据库:当地或偏远地区,以及为什么?
我认为,你指的是“嵌入式”和“客户服务器”(即可操作的两种基本模式)。
你们最可能希望“客户服务器”,以便你能够安排多个客户会议(或许每要求一次)。
关于数据库存放地点的决定取决于您的设想。 理想的情况是,你将设计你的解决办法,以便你能够通过组合做到这一点。 在单一服务器部署的情况下,你能够提供多达40台服务。
然而,如果你需要更多的马力,你就可以在另一个机器的干.40处工作,以分配工作。 请注意,在这种情况下,你将拥有更多的网络管理/附属设施。
C/S模式db4o意味着网络通信,并且是循环的。 如果您需要多个客户会议,则不一定需要与C/S联系,因为如果存在一种可同时进行多种交易而不放弃网络通信的embedded模式:
So if your use case allows it you could open an embedded server on the web server side and allow your server side asp.net app to talk to db4o using multiple transactions (eg one per web session) to persist objects. Note that under this scenario you can t persist objects from the client side (the web client talks to the server side of your app which takes care of persistence).
Important: in web scenarios is not uncommon that you close the db4o object container when a session is over. If you do this the object is no longer tracked by db4o and it will be treated as a new one on the next session. You ll have to find a way to reattach objects to its db4o identity on the server side for a different session (you can do that by querying for the object again on the server side).
Best!
德国
In my webpages I have references to js and images as such: "../../Content/Images/"Filename" In my code if I reference a file as above, it doesnt work so i have to write: "c:/miscfiles/"filename" 1-...
I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...
Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...
I m looking for best practices here. Sorry. I know it s subjective, but there are a lot of smart people here, so there ought to be some "very good" ways of doing this. I have a custom object called ...
I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...
i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...
For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?
I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!