Click here to Skip to main content
15,892,517 members
Everything / General Programming / Architecture

Architecture

architecture

Great Reads

by dsuryd
SignalR is great for building real-time web functionality. MVVM is great for developing your front-end. What if they can be used together? This tip will show how to do just that, using as example a simple project to do live chart on a web browser.
by Greg Utas
Structuring main() and quickly recovering from memory corruption
by PureNsanity
Fundamental aspects of software design and understanding individual elements of principles and patterns
by Habibur Rony
This will cover how to use Domain Driven Design in your application according to the Onion Architecture. There are short descriptions about architecture Category / Style, N-Layer / N-Tier Architecture, Template Method Pattern and Facade Design Pattern.

Latest Articles

by Nicolas DESCARTES
How to build a plugin architecture in C# ?
by Higty
C# OpenAI library Assitants, ChatCompletion, FineTuning, ImageGeneration and more
by Dev Leader
CQRS pattern in C#, clean architecture for better software development, code examples, best practices

All Articles

Sort by Title

Architecture 

8 Jul 2013 by Liviu Ignat
MVC 3 plugin architecture with embedded razor views: steb-by-step description and demo application.
21 Mar 2019 by Member 8741848
I'm trying to thin down my Controllers, by using a service layer. But I can not workout or find an example of how to handle issues that arise in the service layer. As an example, I have a controller action Add Item, which has a name and user defined ID. The code must be unique in the database....
21 Mar 2019 by F-ES Sitecore
It's generally done by return types. Either return false from your Add method if it didn't work and show a generic message to the user, or return an enum with values like "Succeeded", "DuplicateID", "InvalidData" etc to specify the specific reason for failure and the controller will then show a...
8 Jan 2017 by mehdimughal
I have a scenario where i have a asp.net Web application and users will trigger long running jobs from my web app. Each user task will lead to multiple threaded and long running resource hungry tasks. And user will be shown logs of progress from database. I want my worker servers to be plug...
8 Jan 2017 by Ashwin. Shetty
You can use service discovery and spin up multiple processes. So from asp.net application you will check with service discovery and identify which all service are available then after getting this information you will redirect your request to service than is available to process a request (set...
1 Feb 2014 by CoderPanda
I am trying to make a 'build/buy/use opensource' decision on a rule engine for the Computerized physician order entry (CPOE) module within the EMR/EHR application which is .net based. We are trying to do this to be Meaningful Use (MU 2014) compliant.I am totally new to the healthcare domain...
20 Mar 2014 by Norman Paterson
Hi, yes I've evaluated rules engines after using the .Net 3.5 engine, and although the rules editor has a lot to be desired, especially because it's a sample project, I find the Microsoft provided rules engine is the best. A lot simpler than Inrule, which has better looking editors but is more...
12 Jun 2010 by abutalib
Please Give me a brief explanation about ASP.NET Architecture :)
12 Jun 2010 by PSK_
You should have done google for this.I found following 2 nicely written articles regarding ASP.NET Architecture.http://www.west-wind.com/presentations/howaspnetworks/howaspnetworks.asp[^]http://authors.aspalliance.com/aspxtreme/webapps/aspnetarchitecture.aspx[^]
27 Dec 2012 by ASP.NET Community
Hello Everyone,This is my first article. Here I am giving you a brief intro about developing an application in 3-tier
29 Sep 2010 by prabut
we are using three tier architecture now .we have separate the database codes into DAL.covert tat arguments into BLL into Page.But we need to add another level Database related queries store in text file.Is It Possible to Apply?if Yes Means How?Pls.Reply Me.thx and regards by prabu.
15 Oct 2010 by Mohd Wasif
Make a class DBConnetion for ConnectionMake a Class DBacess for Defining all defination for different queries and stored procedures.Make Classes passing DBQuery for .Make classes for Business Logics
27 Feb 2018 by Amir Jalilifard
Lets take an exciting travel to the land of MVC, MVP and MVVM patterns with our sexy friend : JavaScript
21 Nov 2018 by Yisrael Lax
Why poorly written code is expensive code
16 Jun 2013 by Adam Tibi
We are used to repeat the SOLID principles, sometimes without giving them full thoughts. This is a call to drop an outdated principle that doesn't work in today's development, the "Open Close Principle", the result should be SLID.
10 May 2014 by Emre Ataseven
Description of C2 architectural pattern with sample
6 Jun 2017 by Habibur Rony
Basic concept of pipe and filter; what is pipe and filter architectural style; when you need to use it; framework of the pipe and filter pattern; a tiny AI tool implementation using it
7 Dec 2015 by Ansel Castro
Introduction to ENTERLIB a MVVM framework for Android
20 Dec 2015 by shijo joseph
An easy to implement yet powerful logging library which requires absolute zero learning curve
3 May 2011 by Sander Rossel
I want to make an application using good Object Oriented Design etc. So I make Interfaces, BaseClasses etc., put them in a DLL, make some Business Objects that use that DLL, put them in a DLL too and use those Business Objects in my UI.Now I am having some trouble with putting Enums in all...
3 May 2011 by #realJSOP
If your interfaces/classes rely on the enums, and the ui relies on the interfaces/classes/enums, I'd put the enums into the same assembly as the interfaces/classes. This way, you can resuse the interfaces/classes and their enums in another app (if that is the aim).If you're not planning any...
3 May 2011 by Hemant__Sharma
@Naerling - ... It is not logic, it is not abstract and it is not UI...But it's an option/indicator for an object or operation. For example DialogBoxs' types should be added to the same assembly where DialogBox class are defined. Again when DialogBox result is returned it will be a...
18 May 2017 by Jon Campbell
How to utilize WCF to allow a single instance of any WPF application without needing mutexes, extra assemblies, or special "hacks".
19 Mar 2014 by David Cantrell
In which a class that wraps an ADO Connection object and makes it more developer-friendly is discussed.
18 Mar 2010 by priya.1370
Hi,Please tell me how to make a website using MVC architecture, WCF in Asp.Net?
18 Mar 2010 by N a v a n e e t h
That is a big question and very tough to answer through a forum post. You might want to get books on ASP.NET, ASP.NET MVC and WCF to make a successful application.t
11 Nov 2010 by sanjay488
In MVC pattern we are communicate with database using Model, so you can use WCF Service as a model by creating WCF Service Application and then after you have to use that service by adding service reference in your MVC Project
14 Apr 2018 by Andy Galluzzi
Join me to create the most advanced yet most simple to use full duplex MMF based IPC for Windows
14 Mar 2014 by User 7427435
what is advantage of 4-tire architect compared to 3-tire architect?
3 Jan 2012 by Ganesan Senthilvel
3 tier architecture has client, application server and db server components. In 4 tier architecture, you can add web service layer between client and app server through web server.Major advantage is SOA (Service Oriented Architecture) in 4 tier system.
3 Jan 2012 by CPallini
I suppose you may find a lot of useful info just Googling[^] for.
3 Jan 2012 by Chris Meech
I've always found 4 tires much more stable than 3 tires. :)
12 Sep 2011 by dd314159
I'm going to be writing educational math software for a website. Some considerations I have when determining how to approach it:1. function graphing capabilities2. highly interactive3. nice user interface - nice graphics4. possibly using video, slides and animationI wonder if...
12 Sep 2011 by Sergey Alexandrovich Kryukov
All of the listed features are more or less feasible in different approached, but if you can use Silverlight, and if there are no technical limitations imposed by the hosting you use for using it — it would be my choice; well above all other options.—SA
26 Sep 2011 by sasolanki007
I personally suggest you to go with SL. As your UI requirement is high, you must go with SL. And I don't have much more idea about Metro Applications, kindly also check that out for the same.-Sagar Solanki
21 Jul 2011 by unknowndentified10111
Hi All,Can anyone give me a sample code that follows an Agile Software Development and SOLID(OOD).I heard that combining them would create a very good code structure.I really want to study those.Any help would be greatly appreciated.Thanks in advance.
21 Jul 2011 by Mohammad A Rahman
There is good book about this which isAgile Principles, Patterns, and Practices in C#Robert C. Martin and Micah Martinand all the source code of that book is here[^].I hope this might help you.:)
29 Jan 2010 by jameschowdary
Hi , i tried factory pattern i understood, my doubt is all design patterns are same i mean(ui do't interactive with business layer) is this is correct
29 Jan 2010 by Christian Graus
I don't understand your question. The UI layer MUST interact with the business layer. Do you mean that most design patterns don't interact with the UI layer ? No, that's not true. Some design patterns, such as MVC, are intimately tied with the presentation layer.
5 Jul 2018 by Pranay Rana
Setting up application structure
16 Jan 2020 by Richard MacCutchan
Google is the place to search for documents on the subject.
18 Jan 2018 by Member 13618628
Hi I have a project from my college to program in mips code. But the content of register doesn't increse .I must program in mips to print if sum of digits of numbers from 1 to 1000 is divisible by 5 and 7 and not by 3 print Sorry for my English What I have tried: .data x: .word 1 .space...
18 Jan 2018 by CPallini
Yes, of course :-) Well, my MIPS assembly is rusty. The following code, however, produces the correct result (tested on a simulator) li t0, 1 # t0 is the index of the loop (1..1000) li t1, 0 # t1 is the sum of the selected numbers # t2 is a temporary li t3, 3 ...
5 May 2017 by Habibur Rony
This will cover how to use Domain Driven Design in your application according to the Onion Architecture. There are short descriptions about architecture Category / Style, N-Layer / N-Tier Architecture, Template Method Pattern and Facade Design Pattern.
6 May 2017 by Habibur Rony
This topic will cover the concept of the adapter pattern & how to implement logger using log4net. It will also cover what’s adapter pattern, why need, where & when to use; what’s Log4Net, implementation of logger using adapter pattern, how to implement and add custom SMTP appender & configuration.
14 May 2017 by Habibur Rony
Application design - a post mortem of a bad design
23 Sep 2015 by Bartlomiej Filipek
How to apply the strategy pattern to a problem while designing a class hierarchy. What are the pros and cons of this approach?
18 Jan 2012 by oNmEsH
Hi,What would be an ideal architecture for a Web application which is interactive, having n to 1000 users connected at any given moment of time. The data will be saved in DB but there should be some part of memory buffering and queuing required to serve faster.I have a basic architecture...
29 Jan 2012 by Hesham Amin
Starting from the WCF question, yes, you have some control over how WCF throttles requests and how it instantiate service instances. However I'm not sure how this will fit exactly into solving your problem.If the user requests do not require the heavy processing (DB transactions and...
29 Jan 2012 by Espen Harlinn
Have a look at http://umbraco.com/[^]I think that will do nicely - just watch the video :)Best regardsEspen Harlinn
11 Oct 2013 by ASP.NET Community
MSDN has an excellent section on Architecting ASP.NET Applications.patterns & practices' Web Client Software Factory on CodePlex! - This factory
21 Jul 2010 by fiveseven
Hi,I am developing a website with ASP.NET.I have created a DAL class library project, a BLL class library project and the actual ASP.NET web application project.From the ASP.NET web application prject I added a reference to the BLL project.In the Bll project I created classes that map...
21 Jul 2010 by Martin Jarvis
Well, I can't aggree with passing SQL between layers...it belongs in the DAL only and I would strongly suggest you investigate a technology to abstract it away (such as SubSonic). But, with the approach your using you will need to create an addditional DTO object for each combination of...
4 Apr 2011 by Sunil Pandita
I also donot agree using a sql directly in BLL to get the data from DAL. I would suggest using a Provider model for write these generic methods in DAL itself and then get the results into suitably designed BLL objects.you can get more info on provider model from this...
8 Dec 2011 by NandaKumer
Try ADO.Net Entity Framework[^]-NDK
16 Jun 2014 by Ehouarn Perret
Hi,I'm designing some C# .NET drivers for communicating with industrial equipments, mainly for testing purposes.The communication is based on text messages (a start(@/#) and stop(;) flags).The start flag is different when receiving(#) and sending(@) data.I started to create a...
16 Jun 2014 by Sergey Alexandrovich Kryukov
Please see my comment to the question. In essence, you did not provide enough material for thinking and giving you some serious ideas.So, I can give you only some rather trivial idea: use either WCF or "classical" remoting (some says it's deprecated, but there are cases when it's better)....
9 Oct 2018 by Nitin M. Patil
This article will share knowledge of creating a two-tier application using Docker Container.
7 Jul 2016 by Zebedee Mason
Software for automatically constructing architecture diagrams and metrics from source code and .NET assemblies is presented. Examples for Visual C++, Python, the Linux kernel, Boost and .NET are discussed.
28 Oct 2012 by stuuz
Morning,Only just signed up to this site but I have read a lot of articles previously and found it really useful, so thank you for that!I am currently studying towards my final year of a Computer Science degree, and working on my final project and dissertation. I will be using ASP.NET...
28 Oct 2012 by I.explore.code
The approach I follow is I have 4 layers: UI, BLL, Objects and DAL. UI layer references BLL and Objects layers, BLL references Objects and DAL layers and DAL references Objects layer. Now, this Objects layer is where you create classes that represent objects like Product, Customer etc and...
28 Oct 2012 by Satyendra Kumar(Analyst Programmer)
Hi bro,As you are new to .Net you have asked good question. Here is answer for your question step by step:Step 1: Create a new class library project for your Data Access Layer.Stet 2 : Add a new class library project to your solution and name it like ModalLayer. Now put your modal...
25 Nov 2012 by jgauffin
How to create a flexible plugin system with Griffin.MvcContrib.
21 May 2017 by Yashashwi Srivastava
This article is a comprehensive understanding of Azure Service Fabric, and how it is a boon for the latest trending approach, Micros Services.
7 Sep 2017 by Charles Shob
Hi All, My question is related to Azure... I am having a small desktop app and i am planning to do the same with cloud based also. I would like to do it using ASP.net with Azure SQL. Now, my question is can I subscript only for SQL server with Azure and can host my website with any other...
7 Sep 2017 by Eduard Keilholz
Yes you can... Azure hosts a lot of services and one of them is Azure SQL. You can choose a configuration (like huge, big, medium, small, tiny, there are loads of configurations) which fits your needs. Once deployed you have full control of the firewall in front of the database service which...
17 Apr 2012 by Mohammad A Gharakhanlou
we have a web application(dot net 2008 and sql server 2005) with totally 1000 users and about 350 online users which be used for recording daily receipts.the end user comapany has 700 branches that works with system via internet.the problem is that,the most of reports are heavy and make...
17 Apr 2012 by crazedDotNetDev
I believe you don't have enough data to define the best architecture. Performance is never a one size fits all kinda thing. You have an existing system, so I'd...Check out the hardware to make sure it's not having any failures. Run the Performance Monitor to look at disk/memory/CPU usage,...
17 Apr 2012 by Mohammad A Gharakhanlou
very very thanks code monkey our problem is reports.if we exclude it ,every thing will be ok.we have used strong standards and performance tips when developing application.just like :1-there is no index scan2-view-state is disabled on pages3-pages and scripts are very small4-there...
11 Nov 2012 by Mic
I'm just trying to help you out. First you can check this article, because I suspect you might have some 'System Architechture' issues you might want to review. Second, you might want to know more, or at least what others have think about better caching technics. For these two reasons, I...
14 Feb 2017 by S.Javaid
May be this will help you...WCF Services - Choosing the appropriate WCF binding - WCF Tutorial[^]
27 Nov 2015 by Peta2010
Hi Guys, I have client and he has approx 100K registered users visits per month on his wordpress site but currently it's still using old version of wordpress. He wants to redesign whole site using wordpress on responsive design, membership system, regular backups and polling for products...
10 Jun 2012 by ManojKumar19
This article demonstrates how WF can be consumed as a business layer.
1 Jun 2011 by Christopher R Davis, Ben Traynor
Bind your UI controls to generated objects generically
18 Feb 2014 by Abdullah Jallad
Hello,I Have Basically a Program table and an ADs Table i need to buled a table that is going to be used as the Playlist (it is for a broadcasting)that my program going to run an algorathem and buled the playlist for the programs First and then i will have an ADs free time (or time...
22 Mar 2024 by Nicolas DESCARTES
How to build a plugin architecture in C# ?
23 Apr 2013 by Jon Woo
This one will demonstrate what the point of coding principles are
21 Mar 2017 by dsuryd
Simple, lightweight, yet powerful way to build real-time React + C# .NET web apps with dotNetify-React.
22 Jan 2024 by Nicolas DESCARTES
How to write resilient .NET applications ?
5 Feb 2019 by z3ngew
Hello everyone, I need your help in someting, I am now developing a software that will be using c#.net and my sql database, considering that i come from embedded system background, i build a software for a certain target in a layered architecture(MCAL - HAL - ..) and the C code must be...
5 Feb 2019 by Richard MacCutchan
c# best practices - Google Search[^]
18 Mar 2024 by Higty
C# OpenAI library Assitants, ChatCompletion, FineTuning, ImageGeneration and more
8 Jan 2015 by Satyanshu7020
hi everyone i am just start my Currier in programming world and i want to start with n tier architecture. So i want help i mean where to start to learn n tier .
8 Jan 2015 by Deepu S Nair
check thisN-Tier Architecture and Tips[^]http://tutorials.jenkov.com/software-architecture/n-tier-architecture.html[^]http://en.wikipedia.org/wiki/Multitier_architecture[^]
8 Jan 2015 by Duncan Edwards Jones
Try the article N-Tier Architecture and Tips[^]
8 Jan 2015 by Peter Leow
Check this out: Creating ASP.NET Applications with N-Tier Architecture[^]
8 Jan 2015 by Rajesh waran
Addition to previous solutions,Also you can try these...
25 Sep 2014 by Sergey Alexandrovich Kryukov
Sorry, this is the post about nothing. Just words meaning nearly nothing. It cannot be correct or wrong.—SA
4 Jan 2023 by Member 13185766
public class Car { //properties public string Model public int EngineNum private int EngineCapacity public Enum FuelType (Petrol,Diesel,EV,Hydrogen) private int SeatingCapacity private int SeatRows private Enum Color (White,Red,Black) private int...
4 Jan 2023 by OriginalGriff
While we are more than willing to help those that are stuck, that doesn't mean that we are here to do it all for you! We can't do all the work, you are either getting paid for this, or it's part of your grades and it wouldn't be at all fair for...
1 Feb 2015 by Lalit_Chandra
Chain of Responsibility pattern is defined under behavioral design pattern by G.O.F and used to decouple the command with its processing object or handler.
14 Jul 2014 by Rahul@puna
Hi I have a doubt regarding single byte and multiple byte character. I have seen somewhere how to check whether the character is single byte, double byte , triple byte but didn't get it. Let b is the character we need to check For single byte character: b & 0x80 == 0x00;For double...
14 Jul 2014 by George Jonsson
What you can do is to use int noOfBytes = sizeof(b) Then you will know how many bytes b requires.You can find more information herehttp://en.wikipedia.org/wiki/Character_encoding[^]And here http://en.wikipedia.org/wiki/UTF-16[^]
14 Jul 2014 by CPallini
See the UTF-8 encoding at Wikipedia[^]. According to the table, (the first byte of) a single byte character has the most significant bit cleared (0). You may test such a condition by ANDing such byte with 0x80 (that is 10000000 in binary).Similarly, all two-byte characters starts with the 110...
26 Apr 2016 by Arthur Minduca
How to choose the right data structure for a collection of elements