What is software architecture?
If you are reading this book today, you should thank the computer scientists who decided to consider software development as an engineering area. This happened in the last century, more specifically, at the end of the sixties, when they proposed that the way we develop software is quite like the way we construct buildings. That is why we have the name software architecture. Like an architect designs a building and oversees its construction based on that design, the main goal of a software architect is to ensure that the software application is implemented well; and good implementation requires the design of a great solution.
In a professional development project, you must do the following things:
- Define the customer requirements for the solution
- Design a great solution to meet those requirements
- Implement the designed solution
- Validate the solution with your customer
- Deliver the solution in the working environment
Software engineering defines these activities as the software development life cycle. All the theoretical software development process models (waterfall, spiral, incremental, agile, and so on) are somehow related to this cycle. No matter which model you use, if you do not work with the essential tasks presented earlier during your project, you will not deliver acceptable software as a solution.
The main point about designing great solutions is foundational to the purpose of this book. You must understand that great real-world solutions bring with them a few fundamental constraints:
- The solution needs to meet user requirements
- The solution needs to be delivered on time
- The solution needs to adhere to the project budget
- The solution needs to deliver good quality
- The solution needs to guarantee safe and effective future evolution
Great solutions need to be sustainable, and you must understand that there is no sustainable software without great software architecture. Nowadays, great software architectures depend on both modern tools and modern environments to perfectly fit users' requirements.
For this reason, this book will use some great tools provided by Microsoft. The company has announced .NET 5 as a unified platform for software development, which gives us a great opportunity to create fantastic solutions.
Figure 1.1: .NET 5 platform
NET 5 is delivered together with C# 9. Considering the .NET approach of targeting so many platforms and devices, C# is now one of the most used programming languages in the world and runs on small devices up to huge servers in different operating systems and environments.
The book will also use Azure, which is Microsoft's cloud platform, where you will find all the components the company provides to build advanced software architecture solutions. One of them is Azure DevOps, an application life cycle management environment where you can build solutions using the latest approach for developing software.
Being a software architect means understanding the aforementioned technologies, and a lot of others, too. This book will guide you on a journey where, as a software architect working in a team, you will provide optimal solutions with the tools listed. Let us start this journey by creating your Azure account.
Creating an Azure account
Microsoft Azure is one of the best cloud solutions currently available on the market. It is important to know that, inside Azure, we will find a selection of components that can help us define the architecture of twenty-first-century solutions.
If you want to check the variety of components Microsoft Azure has, just check this incredible website developed by Alexey Polkovnikov: https://azurecharts.com/.
This subsection will guide you in creating an Azure account. If you already have one, you can skip this part.
Start your access into Azure using the website address https://azure.microsoft.com. There, you will find the information you need to start your subscription. Translation to your native language is usually set automatically.
- Once you have accessed this portal, it is possible to sign up. If you have never done this before, it is possible to Start free, so you will be able to use some Azure features without spending any money. Please check the options for free plans at https://azure.microsoft.com/en-us/free/.
- The process for creating a free account is quite simple, and you will be guided by a form that requires you to have a Microsoft Account or GitHub Account.
- During the process you will also be asked for a credit card number, to verify your identity and to keep out spam and bots. However, you will not be charged unless you upgrade the account.
- To finish the assignment, you will need to accept the subscription agreement, offer details, and privacy statement.
Once you finish the form, you will be able to access the Azure portal. As you can see in the following screenshot, the panel shows a dashboard that you can customize, and a menu on the left, where you can set up the Azure components you are going to use in your solution. Throughout this book, we will come back to this screenshot to set up the components to help us create modern software architecture. To find the next page, just select the left-menu icon (hamburger menu) and click on All services.
Figure 1.2: The Azure portal
Once you have your Azure account created, you are ready to understand how a software architect can conduct a team to develop software, taking advantage of all the opportunities offered by Azure. However, it is important to keep in mind that a software architect needs to go beyond technologies because this role is played by people who are expected to define how the software will be delivered.
Today, a software architect not only architects the basis of a software, but also determines how the whole software development and deployment process is conducted. The next topic will cover some of the most widely used software development paradigms the world over. We'll start by describing what the community refers to as traditional software engineering. After that, we'll cover the agile models that have changed the way we build software nowadays.