我们正在开展一个项目,其中包括多个窗口服务、数据访问层组件和一个用户界面的网站。该项目还包括一个网页服务器(也将运行为服务和托管网站)。
目标是将所有组件和服务整合在一起,使组件能够相互交互,并拥有某些组件(如所有服务所使用的DAL)的单个实例。
我们正在使用的技术是.NET 3.5(C#)。
有什么适合这个项目的体系结构建议,容易整合并满足所有需求。
我们正在开展一个项目,其中包括多个窗口服务、数据访问层组件和一个用户界面的网站。该项目还包括一个网页服务器(也将运行为服务和托管网站)。
目标是将所有组件和服务整合在一起,使组件能够相互交互,并拥有某些组件(如所有服务所使用的DAL)的单个实例。
我们正在使用的技术是.NET 3.5(C#)。
有什么适合这个项目的体系结构建议,容易整合并满足所有需求。
看一下我昨天发的帖子。在这样的分层架构中,您可以将业务逻辑和DAL dlls重用于您的Web应用程序以及您的Web服务。
唯一的区别在于您在架构之上插入的内容。优点:您的业务逻辑(因为它驻留在单独的层中)在您的Web服务和Web应用程序的情况下完全相同。
把业务层与数据层分开时,应该在哪里对实体加以限制
What is the use of default keyword in C#? Is it introduced in C# 3.0 ?
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. ...
I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...
I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...
I have two EF entities. One has a property called HouseNumber. The other has two properties, one called StartHouseNumber and one called EndHouseNumber. I want to create a many to many association ...
How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...
Since I cannot order my dictionary, what is the best way of going about taking key value pairs and also maintaing an index?
Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...