architecture

BLL,DAL,BO,inserting data

隐身守侯 提交于 2019-12-22 09:08:06
问题 I need your advice. I am trying to develop a 3 layer architecture in ASP.NET that separates BBL,DAL,BOboj. Inside the DAL, I collect the data via _view. What I wonder, should I write another BOboj for every view??I have already has a BOboj class but it doesn't contain all fields. When inserting data, I have to use my BOboj,however, when listing, should I create BOboj_view class or another something ?? inserting data (My colum only contains those values) BOboj { private int _PId; private

What is the best practice to define method signature in Service oriented architecture for service call?

被刻印的时光 ゝ 提交于 2019-12-22 08:44:50
问题 What is the best practice to define service call prototype/signature while developing application in service oriented architecture. For Example I want to create Service call to send email. Let say I have following object in my domain layer [datacontract] public class Email { public string To { get; set; } public string From { get; set; } public string Message { get; set; } public string Subject { get; set; } //I am not going to use this properties in send email method public string OtherProp1

Architecture of a secure application that encrypts data in the database

别来无恙 提交于 2019-12-22 08:18:03
问题 I need to design an application that protects some data in a database against root attack. It means, that even if the aggressor takes control over the machine where data is stored or machine with the application server, he can't read some business critical data from the database. This is a customer's requirement. I'm going to encrypt data with some assymetric algorithm and I need some good ideas, where to store private keys, so that data is secure as well as the application usability was

Boost asio architecture document

ぃ、小莉子 提交于 2019-12-22 08:17:12
问题 Does anyone know about a good architecture document for boost asio? All I find in the boost::documentation is about the api and how to use them. I would like to have a deeper understanding of the concepts behind them. If I had overlooked the boost documentation, please let me know the correct resources. 回答1: Here are some slides from a presentation by Michael Caisse at BoostCon 2010: Getting Started with ASIO Here is the video of Michael giving that presentation, although the slides are easy

Post-initialization object creation with ninject

人盡茶涼 提交于 2019-12-22 07:19:02
问题 I'm new to Ninject (and DI in general). I understand how the kernel loads modules, and the code I've written thus far tends to have a single line: myKernel.Get<MyApp>() which constructs everything I need from the bindings in my module. If there's a requirement for new instances post initialization, these are taken care of by factories that I bind for initialization. Up to now, the factories have been free of any ninject dependencies, simply newing up objects on demand. Now I have reached a

Transactions in “dapper-dot-net”

我只是一个虾纸丫 提交于 2019-12-22 06:56:01
问题 How do I create a transaction if my DAL is using dapper-dot-net? My c# winform application will be used in network and the data will be saved to a central sql server. My use case requires use of transactions. Can I do this using dapper, or will I need to use something like NHibernate? Also, is there any risk or limitation with this framework if I am using stored procedures? Will I need to change my approach due any possible limitations? 回答1: I haven't run into any limitations with using

So am I talking about a SOA here?

我的未来我决定 提交于 2019-12-22 06:52:25
问题 For a government contract we will be proposing to build a traffic monitoring architecture. We will have the following components: Video camera's set up around the area of interest. The cameras will be aware of their location and orientation and viewing parameters. A GIS map server which can be queried for streets, building, etc. An algorithm the takes in raw video and street location information and outputs car locations. Another algorithm takes in car locations and very low level street

How to save a half-completed form

落花浮王杯 提交于 2019-12-22 06:16:33
问题 I am working on a project where we would like to give the user the ability to save their half-completed form so they can come back later and complete it. I'm struggling with figuring out exactly how I want to do this. Do I save them in the same pool with the completed applications, only with a special status? I don't really want to sacrifice the integrity of the completed applications by having to make fields be nullable when I don't want them to be. Should I create the same database

When using dependency injection, where do all the new operators go?

江枫思渺然 提交于 2019-12-22 06:06:28
问题 I've been reading about dependency injection, and I understand the basic concept that a method should receive what it needs from its caller rather than creating such items itself. As a result, new operators get removed from the method almost entirely (certain basic objects would be exempt, of course - one example of this I found was for things like StringBuilder s which seem like they'd be insane to have to pass in). My question sounds deceptively simple, but I suspect the answer is actually

Is model driven architecture worth it and what is the state of the art in the tooling?

假如想象 提交于 2019-12-22 06:00:11
问题 We have a recurring problem in our shop where we end up with 3 or 4 different representations of the same class/entity. A java version, an xml version, a hibernate version, a json version... you get the point. Obviously this creates maintenance problems. Model driven architecture is probably more than this, but what I'd really like is a system that lets me define a class or an entity once, in one way, and then generate various representations. (maybe I am not using the correct terminology for