Click here to Skip to main content
15,892,298 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 Updated

Architecture 

22 Mar 2024 by Nicolas DESCARTES
How to build a plugin architecture in C# ?
18 Mar 2024 by Higty
C# OpenAI library Assitants, ChatCompletion, FineTuning, ImageGeneration and more
15 Feb 2024 by Dev Leader
CQRS pattern in C#, clean architecture for better software development, code examples, best practices
15 Feb 2024 by Dev Leader
Integrate Unit of Work Pattern in C# with Clean Architecture for efficient programming, benefits and C# code examples
22 Jan 2024 by Nicolas DESCARTES
How to write resilient .NET applications ?
14 Dec 2023 by ChristianNeumanns
The "absence of a value" is among the most important concepts a type system has to deal with.
10 Dec 2023 by Dev Leader
In this article, we'll look at building a flight booking app using vertical slice architecture.
30 Nov 2023 by ChristianNeumanns
Union types (aka sum types, variants, choice types) provide an elegant solution for frequent programming tasks.
12 Nov 2023 by ChristianNeumanns
This article explains why we need native record types, and how they work in PTS.
7 Oct 2023 by Fred Song (Melbourne)
Use Amazon ECS and API Gateway to implement Microservice
31 Jul 2023 by Dev Leader
For this post, we'll delve into plugin architecture, exploring how they can be leveraged in ASP.NET Core to create more flexible and maintainable applications.
26 Jun 2023 by Castelias
Hello I got assigned a project that is a rpg paragraph console game and also got assigned a Tech Lead role. And I am responsible for provoding a skeleton of our app, I have never done a project of similar size so if you guys could point me in...
26 Jun 2023 by RickZeeland
In addition to the other answers, you can find the source code of the Quest engine here: GitHub - textadventures/quest: Create text adventure games[^]
26 Jun 2023 by Graeme_Grant
This may be a little left-field, however one of the most famous text adventure games was Zork 1. The source code for this game is now in the public domain: GitHub - devshane/zork: The DUNGEON (Zork I) source[^]. If that is a little bit too much...
26 Jun 2023 by Richard MacCutchan
This is the Quick Answers forum, for specific technical questions. Your question is far too broad to be answered here. You need to do some research into the technologies that you will be working with.
25 May 2023 by Bohdan Stupak
Clean architecture example implemented in Go
18 Apr 2023 by Nish Nishant
Patterns used to power autonomous capability domains using an enterprise event stream
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...
24 Sep 2022 by blueray453
I understand the concept behind major software architectures. Their pros and cons and when to use what, etc. I can implement these my (hacky) way. But not sure whether it is the optimal way (am i missing some design pattern?). My question is,...
24 Sep 2022 by Greg Utas
I know of no such thing, although a few might exist for specific domains. Architecture diagrams and books are intended for software architects: that is, people with a reasonable amount of experience developing software. That experience will give...
20 Sep 2022 by Greg Utas
Structuring main() and quickly recovering from memory corruption
8 Sep 2022 by Taiseer Joudeh
Part 1 of a 10 post tutorial where we will build a full microservices app using Dapr and then deploy it to Azure Container Apps
30 Jun 2022 by i_syed2000
I need some validation and thoughts from members on this forum. I'm working on research case for my area of the application (we are micros services based) to make sure that two users can not perform the same operation at the same time. ...
30 Jun 2022 by Greg Utas
I used to develop in-house application frameworks, and this is exactly what I did. I would read the specs for what was being developed in the upcoming release and then implement components that I thought could be used by more than one...
28 May 2022 by Kozmik Cat
Hi, I wrote a .NET library that automatically forward some emails for a newsletter but am unsure as what the best way to deploy it is. Ideally, I'd like an easy way to monitor its state for whenever the service either stopped working or the...
28 May 2022 by ChrisAgn
Hi, I worked on a similar project, where we need to monitor users activity on daily basis. All users were business owners so we had to be careful. We had a custom exception system. Only time the admins were noticed via email(also via sms) were...
20 Feb 2022 by oronsultan
Hi All, Our product consists of a solution with a large number of projects. Each project is a different component of the system, with some libraries playing the role of a service API and some libraries playing the role of external utilities....
20 Feb 2022 by OriginalGriff
I'd go the "customer project" route, and derive customer classes from the main base where there are changes. That's the simple way to do it, and it gives you automatic updates for bug fixes if needed. The other two solutions require a lot of...
20 Nov 2021 by Richard MacCutchan
Sorry, no one here is going to do your work for you. And to be honest, you have left it far too late even to get some help.
15 Nov 2021 by User 15041314
Hi all, today I am working junior java dev at bank sector and When I started working at the position I am seriosly be carefully learning new future which most useful tools in this area. But I have a seriosly problem, which I couldn't be reading...
15 Nov 2021 by Greg Utas
Read the design documents and the code comments. If both are rarely available, start to look for a new job. :) Object-oriented code can be hard to follow because it can be unclear which function will be invoked when polymorphism and inheritance...
15 Nov 2021 by Alexey Skripka
The architecture of a multilayer application with homogeneous layer structure is described.
1 Nov 2021 by Bohdan Stupak
Short tip explaining the importance of asynchronous communication
27 Sep 2021 by Vedran Cindric
An honest review of the migration process to a serverless architecture using Laravel, AWS and Laravel Vapor
18 Aug 2021 by Rob Kraft
Choose wisely how we spend our limited time on creating software and improving processes
24 Jul 2021 by Arctype SQL
As a business expands, the need to ethically leverage data is not a luxury anymore, but a necessity.
1 Apr 2021 by Al Thompson 2021
Create an assembly language program that will have two arrays, of five elements each. Sum the corresponding elements in the two arrays together and store the result in the ‘a’ array. Do this for each element. In other words: a[0] = a[0] + b[0]...
1 Apr 2021 by OriginalGriff
The same way you would in a high level language. We are more than willing to help those that are stuck: but 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...
25 Jan 2021 by romanthiel
A special method to program finite state machines that are reversible
16 Jan 2021 by joje1985
I am working a client server application, would like your feedback on the approach I have used. About application, its a client-server based application that uses traditional sockets as the communication happens real time. The application works...
15 Dec 2020 by Richard Deeming
Quote: FrmOps f = new FrmOps(); command.Parameters.Add("@CustomerPhoto", SqlDbType.Image).Value = Main_Classes.CLS_Photos.ImageToByteArray(f.MyPictureBox.Image); You create a new, empty instance of your form class, and expect it to magically...
15 Dec 2020 by khalid4775
i have forum with picturebox and some texts so i want to insert photo to database how can i do that . my code like so : Models: namespace TestMVP.Models { class OpsModel { public int CustomerID { get; set; } ...
15 Dec 2020 by OriginalGriff
You are close, but your property is the problem: you have declared it as an object which means it "doesn't really have a type". public object CustomerPhoto { get => pictureBox1.Image; set => pictureBox1.Image = value; } Change that, and it should...
24 Nov 2020 by Alexey Skripka
This article will look at examples of layered architecture for different types of applications.
1 Nov 2020 by Gerry Schmitz
Sounds like a variation of the "job board". No reason to start from scratch when there are plenty of "free" ones around you can mod. 20+ Free Charity / Non-profit Website Templates 2020 - Colorlib[^]
1 Nov 2020 by LAMIAZOHRA MIHOUBI
Hello everytone!! I'm starting a online volunteering website and I'm trying to figure out which architecture to chose for the website, the basic features would be: 1/ nonprofits submit online volunteering opportunities that will be published in...
23 Oct 2020 by vv_shameer
I have a requirement to transfer files from heterogeneous sources (eg: FTP,SSH,SSHW) to destinations (can be again FTP,SSH,SSHW..etc). I have identified the steps to implemenent this;1. Get All File names from source2. Rename files3. Download Files4. Transform Files5. Upload to...
23 Oct 2020 by Member 14973462
I am surprised that people so dump that create a pattern for the pattern. File Transfer must upload and download files in order to transfer them. Renaming and transforming files is an obvious mixture of concerns (a design sin) and for these tasks...
21 Sep 2020 by deepeshdm3434
I am a beginner here , I some of the most words I came across are like software design and "architecture". I know the fundamental Design pattern from GOF book. But as far as Software architecture goes I have no idea what it is ? From the...
21 Sep 2020 by Richard MacCutchan
Please also read Code Project Quick Answers FAQ[^]
21 Sep 2020 by Sandeep Mewara
Quote[^]: Software application architecture is the process of defining a structured solution that meets all of the technical and operational requirements, while optimizing common quality attributes such as performance, security, and...
26 May 2020 by RickZeeland
Maybe this will be of interest to you: best-resources-on-software-architecture[^] And also: ~best-ways-to-learn-software-design-principles[^]
26 May 2020 by Member 14844032
I'm working as a software developer for around 8 years now and have worked with mostly companies offering outsourcing services.The challenge so far was mostly - learn the new tech, showcase through a prototype/POC and implement it in the assigned...
10 Apr 2020 by Surajit T. Karmakar
This article demonstrates usage of Decorator pattern in C# with a practical software programming example.
27 Feb 2020 by MadMyche
While this is question is related to coding; it is not a good question for a Quick Answers forum which is aimed at solving a problem with specific code. My suggestion would be to do your research; a lot of these "new" gadgets and gizmos have...
27 Feb 2020 by Ramakrishna.Pathuri
The Serverless vs. Microservices architecture design what does the future of business computing look? However, we are building large and complex microservice-based applications for a Property management system for hotels (for example, when...
27 Feb 2020 by Richard MacCutchan
Quote: What does the future of business computing look? If we could foretell the future we would all be billionaires. As to the rest of your questions, this is a Technical Quick Answers forum. your question is far too broad to be answered here....
28 Jan 2020 by MadMyche
Your assigned project at the business level is not always going to be the same as your programming project. The backend requirement of your assignment is to use SOA (Service Orientated Architecture). This should be a standalone project and if it were mine I would use WebAPI for this. Your...
28 Jan 2020 by Member 12775034
I have been assigned to develop a project which is supposed to be a responsive web application as well as a mobile app. The project is supposed to be developed in .NET. The main requirement is that it should be based on a service-oriented architecture. That is, any request, no matter which...
16 Jan 2020 by Richard MacCutchan
Google is the place to search for documents on the subject.
9 Jan 2020 by Member 14711617
I need to write a program with MIPS for an evaluation of an exam. If someone gets ≥ 40 points, he succeeded and if he gets
9 Jan 2020 by Richard MacCutchan
See mips assembler - Google Search[^]
3 Aug 2019 by RickZeeland
You might find this article interesting: C++/C# interoperability[^] Also recent Visual Studio versions handle C++ dll's a lot better than before and can automatically generate "Interop" dll's. What Visual Studio uses under the hood is Tlbimp.exe (Type Library Importer)[^] Another option might...
2 Aug 2019 by Nelek
I have a working project in c++ using a library done in c++ and partially c. Now I have the use case where I need to interact with (corrected after spotting a missunderstanding) my c++ project using that library from c#. I just added the files and the needed #includes to my first project, then...
2 Aug 2019 by Richard MacCutchan
Take a look at Calling Native Functions from Managed Code | Microsoft Docs[^]. A very simple example: UserDll.h #pragma once #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers // Windows Header Files: #include #include // The...
10 Jun 2019 by Viral Surani
This article is a first article of a series called Keep It Simple. This article is about how we can create reusable component of partially common operation (method) using Strategy Design Pattern. We will see the need of Strategy Design Pattern.
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...
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....
18 Mar 2019 by HusseinAl-haj
Most of today's processors are equipped with hardware performance counters. Such counters can be used to count micro-architecture events in order to analyse the target program to improve its performance. Generally, profiling and analysing are the main goals of these counters. Based on research...
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[^]
30 Dec 2018 by Chinmoy Mohanty
Multiple techniques of implementing The Observer Pattern in .NET
11 Dec 2018 by omeecode
Learn object oriented analysis and design using a simple method even if you have tried in your class before and found it complex
21 Nov 2018 by Yisrael Lax
Why poorly written code is expensive code
15 Nov 2018 by OriginalGriff
Quote: What should I do if I have properties in my interfaces that won't be used by the implementing class? You can't, that's the whole point. Interfaces can't declare any concrete objects at all: all they can do is declare items which must be implemented by the class that inherits the...
15 Nov 2018 by TheRedEye
I'm still pretty new to using interfaces and I'm unsure if I'm using interfaces as they are intended. What should I do if I have properties in my interfaces that won't be used by the implementing class? What if I have I functionality that is generic - should I rather be using a base class or be...
15 Nov 2018 by F-ES Sitecore
An interface is just a guarantee that the class implements the properties\methods on the interface, there is nothing stopping the class using other properties and methods though. So I'd reduce your IPrinter interface to just the Print method. interface IPrinter { void Print(); } public...
16 Oct 2018 by Member 13797109
Hello Gurus, I am getting below error : Server Error in '/' Application. Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser...
16 Oct 2018 by Richard Deeming
The file Global.asax.cs does not contain a class called MvcApplication in the namespace WebApplication5 which inherits from System.Web.HttpApplication. You either need to fix the class name or namespace name to match the Inherits attribute, or fix the Inherits attribute to match the class and...
9 Oct 2018 by Nitin M. Patil
This article will share knowledge of creating a two-tier application using Docker Container.
7 Oct 2018 by TheCodeKing
This article considers what is needed for traditional corporations to transform from an enterprise mindset and become agile.
5 Jul 2018 by Pranay Rana
Setting up application structure
4 Jun 2018 by coolNish
I have a scenario where I need to get data from APIs, do some calculations, save the data into database and display it on real time dashboard, there should not be much latency data synchronization. Looking for architecture/design to implement using Microsoft technologies. What I have tried: ...
3 Jun 2018 by Afzaal Ahmad Zeeshan
Quote: I have a scenario where I need to get data from APIs, do some calculations, save the data into database and display it on real time dashboard, there should not be much latency data synchronization. Sure, you can use ASP.NET Core as the development framework, SignalR as the sockets...
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
6 Apr 2018 by Dave Kreskowiak
This isn't a good question. We know nothing at all about your application, what it's supposed to be doing, ..., nothing. The very best you're going to get to such a question is a bunch of opinions on "what's my favorite stack". The problem is most of them probably won't be good for your...
6 Apr 2018 by slSoftware
Hi All, I'm about to develop a large scale web application, which has more than 5 modules around it. My main concern is the technology stack i'm going to use, whether it is angular based or develop a Asp.net core mvc skeleton and integrate any sort of js framework if user need any rich...
1 Mar 2018 by Jon McKee
Analyzing and improving existing class diagramming paradigms
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
3 Feb 2018 by Syed Hasan Hyder
Provides plausible and high performing data display, for very large data (over a million records)
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 ...
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...
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...