tagged [architecture]

Are there any open source projects using DDD (Domain Driven Design)?

Are there any open source projects using DDD (Domain Driven Design)? I'm trying to understand the concepts behind DDD, but I find it hard to understand just by reading books as they tend to discuss th...

Override for fluent NHibernate for long text strings nvarchar(MAX) not nvarchar(255)

Override for fluent NHibernate for long text strings nvarchar(MAX) not nvarchar(255) When ever you set a string value in fluent NHibernate it alwasy sets the DB vales to Nvarchar(255), I need to store...

When using an ORM, how to safely send loaded entities across the tiers

When using an ORM, how to safely send loaded entities across the tiers When a system has N tiers, and when using an ORM, how do you send loaded entities across the tiers ? Do you use DTO ? When DTO ar...

17 Sep at 22:5

What is the difference between Component, Behaviour and MonoBehaviour? And why these are separated?

What is the difference between Component, Behaviour and MonoBehaviour? And why these are separated? `MonoBehaviour` extends `Behaviour` and `Behaviour` extends `Component`. I want to know why these cl...

27 Dec at 04:16

Would there be any point in designing a CPU that could handle IL directly?

Would there be any point in designing a CPU that could handle IL directly? If I understand this correctly: Current CPU developing companies like AMD and Intel have their own API codes (the assembly la...

Where to put sql when using dapper?

Where to put sql when using dapper? I'm using dapper for a mvc3 project at work, and I like it. However, how are you supposed to layer the application when using dapper? Currently I just have all my s...

How can I make Laravel return a custom error for a JSON REST API

How can I make Laravel return a custom error for a JSON REST API I'm developing some kind of RESTful API. When some error occurs, I throw an `App::abort($code, $message)` error. The problem is: I want...

When NOT to use the Entity Framework

When NOT to use the Entity Framework I have been playing around with the EF to see what it can handle. Also many articles and posts explain the various scenarios in which the EF can be used, however i...

Good Java project architecture with database

Good Java project architecture with database I facing problem of database connection in my project in which i used struts. I cant understand that how i manage my database connections. I want my site g...

Should I abstract the validation framework from Domain layer?

Should I abstract the validation framework from Domain layer? I am using FluentValidation to validate my service operations. My code looks like: UserValidator i

How do you structure your reusable libraries?

How do you structure your reusable libraries? How do you organize your code so that it can easily be ported across business projects without carrying unnecessary bloat? For example (in .Net), let's sa...

Desktop Applications: Architectural Frameworks?

Desktop Applications: Architectural Frameworks? I'm wondering if there are any architectural frameworks out there to create desktop or standalone applications, in Java or C# for instance. It seems tha...

22 Jul at 18:57

S#arp Lite with ServiceStack

S#arp Lite with ServiceStack Can [S#arp Lite](https://github.com/codai/Sharp-Lite) and [ServiceStack](http://www.servicestack.net/) be used in combinations? I love the S#arp Lite as a very simplified ...

Host application server in windows service or IIS?

Host application server in windows service or IIS? I'm starting new project for my client. It will be kind of big system with web UI (many, many users) + desktop UI (few users). I was wondering. Shoul...

What is the purpose of the "Prefer 32-bit" setting in Visual Studio and how does it actually work?

What is the purpose of the "Prefer 32-bit" setting in Visual Studio and how does it actually work? ![Enter image description here](https://i.stack.imgur.com/6OyyU.jpg) It is unclear to me how the comp...

Data access architectures with Raven DB

Data access architectures with Raven DB What data access architectures are available that I can use with Raven DB? Basically, I want to separate persistence via interfaces, so I don't expose underline...

Is there anything inherently wrong with long object invocation chains?

Is there anything inherently wrong with long object invocation chains? I've organized my code hierarchically and I find myself crawling up the tree using code like the following. I'm not drilling down...

how much memory can be accessed by a 32 bit machine?

how much memory can be accessed by a 32 bit machine? What is meant by 32bit or 64 bit machine? It’s the processor architecture…a 32 bit machine can read and write 32bit data at a time same way with 64...

7 Jul at 19:42

Where i should put my DTOs in clean architecture?

Where i should put my DTOs in clean architecture? [](https://i.stack.imgur.com/LCRQQ.png) Need to implement the clean architecture and struggling with DTO concept. As I understand, i can't use my doma...

18 Feb at 13:13

How to determine distributed architecture?

How to determine distributed architecture? I'm trying to get my head around the thought process when designing a large scale application. Let's say I have a client who needs a new customer website and...

Setup targeting both x86 and x64?

Setup targeting both x86 and x64? I have a program that requires both x64 and x86 dlls (it figures out which ones it needs at run time), but when trying to create a setup, it complains: > File AlphaV...

21 Dec at 11:40

Securing your Data Layer in a C# Application

Securing your Data Layer in a C# Application I was thinking about how to secure the Data Layer in a C# Application, the layer could in this case be either a LINQ to SQL Model Diagram stored with the A...

1 Aug at 09:7

Abstracting Identity 2.0 to domain model layer

Abstracting Identity 2.0 to domain model layer I'm trying to implement Identity 2.0 in my ASP.NET MVC 5 solution that abides the onion architecture. I have an `ApplicationUser` in my core. In my Data ...

ServiceStack Razor files in separate project

ServiceStack Razor files in separate project I have a solution consisting of a ServiceStack back-end, with the regular setup (AppHost, ServiceInterface and ServiceModel), and both a winforms app and a...

.NET Entity framework project layout (architecture)

.NET Entity framework project layout (architecture) I'm trying to determine how best to architect a .NET Entity Framework project to achieve a nice layered approach. So far I've tried it out in a brow...