English 中文(简体)
面向 .NET(C#)的多个服务和组件的系统架构建议。
原标题:System architecture suggestion for multiple services and components in .NET (C#)

我们正在开展一个项目,其中包括多个窗口服务、数据访问层组件和一个用户界面的网站。该项目还包括一个网页服务器(也将运行为服务和托管网站)。

目标是将所有组件和服务整合在一起,使组件能够相互交互,并拥有某些组件(如所有服务所使用的DAL)的单个实例。

我们正在使用的技术是.NET 3.5(C#)。

有什么适合这个项目的体系结构建议,容易整合并满足所有需求。

最佳回答

看一下我昨天发的帖子。在这样的分层架构中,您可以将业务逻辑和DAL dlls重用于您的Web应用程序以及您的Web服务。

唯一的区别在于您在架构之上插入的内容。优点:您的业务逻辑(因为它驻留在单独的层中)在您的Web服务和Web应用程序的情况下完全相同。

把业务层与数据层分开时,应该在哪里对实体加以限制

问题回答

暂无回答




相关问题
Anyone feel like passing it forward?

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. ...

NSArray s, Primitive types and Boxing Oh My!

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 ...

C# Marshal / Pinvoke CBitmap?

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 ...

How to Use Ghostscript DLL to convert PDF to PDF/A

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, ...

Linqy no matchy

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. ...

热门标签