The SDLC (Software Development Life Cycle) is the structured process a team follows to turn an idea into working software and keep it running. It splits the work into phases, usually planning, requirements, design, development, testing, deployment and maintenance, so everyone knows what is being built, in what order, and how quality is checked.
The phases are much the same everywhere. What changes from team to team is the SDLC model, meaning how you move through them. Waterfall goes through each phase once, in order. Agile and DevOps loop through all of them in small slices, every few weeks or even several times a day. Choosing well comes down to how stable your requirements are, how much risk you carry and how often you need to release, and in every model, security and automation belong in each phase rather than bolted on at the end.
What problem the SDLC solves
The SDLC is a framework, not a tool or a specific methodology. It makes a team answer four questions on any project: what are we building and why, how will we build it, how do we know it works, and how do we ship it and keep it healthy?
Teams without a defined life cycle tend to start coding before they agree on the problem, test only when there is time left, and discover deployment issues on release night. Everything in the SDLC is there to stop that. You will also see the term Systems Development Life Cycle, the older and broader version that includes hardware and infrastructure. In everyday developer conversation, SDLC means the software one.
The seven phases
Different sources list five, six or seven phases. These seven are the most common breakdown; the shorter lists just merge some of them, usually planning with requirements or deployment with maintenance.
Planning
↓
Requirements analysis
↓
Design
↓
Development (coding)
↓
Testing
↓
Deployment
↓
Maintenance → feeds the next round of planning
Planning
Planning decides whether the project should exist at all. The team defines the business goal, rough scope, budget, timeline and main risks. The typical outputs are a project charter or one-page brief, a technical, financial and legal feasibility check, and a first estimate. On a large project, this is also where the scope is broken into a work breakdown structure.
Requirements analysis
Here you work out exactly what the software must do. Product owners, business analysts and developers talk to users and stakeholders and write it down. Functional requirements describe behaviour, such as "a customer can reset their password by email". Non-functional requirements cover performance, availability, security, accessibility and compliance.
A traditional project captures these in a Software Requirements Specification (SRS); an Agile one keeps a prioritized backlog of user stories. Either way, every requirement should be testable. If you cannot describe how to check it, it is not a requirement yet.
Design
Design turns requirements into a technical plan: architecture (monolith, modular monolith or microservices), data models, APIs, integrations, UI flows and infrastructure. Good teams record key decisions as short Architecture Decision Records (ADRs) and run a threat model at this stage, because a security flaw in the design is far harder to fix later than a bug in one function.
Development
Developers write the code, usually in feature branches, with review through pull requests. Coding standards, static analysis and unit tests run continuously, so problems surface while the change is still small. Tests belong in this phase, written alongside the code rather than after it:
public class PriceCalculatorTests
{
[Fact]
public void Applies_ten_percent_discount_over_100()
{
var calc = new PriceCalculator();
var total = calc.Total(orderValue: 200m);
Assert.Equal(180m, total);
}
}
Testing
Testing confirms the software meets its requirements and doesn't break anything else. It is a stack of layers rather than one step: unit tests for individual functions and classes, integration tests for databases, APIs and message queues working together, system and end-to-end tests for complete user journeys, performance, security and accessibility tests for the non-functional requirements, and finally user acceptance testing (UAT), where the business confirms it is what they asked for.
Testing has its own life cycle, the STLC (Software Testing Life Cycle): test planning, test case design, environment setup, execution and closure. It runs inside the SDLC. For more on how testing fits each stage, see the role of software testing in SDLC.
Deployment
Deployment moves the tested build into production. Modern teams automate it with a CI/CD pipeline and reduce risk with blue-green deployments, canary releases and feature flags. It also includes the unglamorous parts: database migrations, configuration and secrets, release notes, and a rollback plan you have actually tested.
Maintenance
Most of a system's life is spent here: bug fixes, security patches, dependency and framework upgrades, performance tuning and small enhancements. Budget for upgrades and patching from day one, because unsupported frameworks become security liabilities. Monitoring, logging and incident reviews in this phase feed the next round of planning, which is why the SDLC is drawn as a cycle rather than a line.
The models: different ways through the same phases
Waterfall
Waterfall runs each phase once, in strict order: all requirements before design, all design before coding, and so on. It is usually traced to Winston Royce's 1970 paper "Managing the Development of Large Software Systems", although Royce himself warned that a purely one-pass approach was risky and recommended feedback between stages.
It works when requirements are fixed and well understood, as in regulated systems, fixed-price contracts or hardware-dependent projects. It struggles when users only discover what they want after seeing working software.
V-Model
The V-Model (Verification and Validation) is Waterfall with a matching test level for every development phase. The left side of the V goes down through specification and design; the right side comes back up through testing.
Requirements ─────────────── Acceptance testing
System design ───────── System testing
Architecture ───── Integration testing
Module design ─ Unit testing
\ /
Code
Each test plan is written at the same time as the phase it validates. That traceability from requirement to test is why the V-Model is common in safety-critical domains such as automotive, medical devices and aerospace, where it is mandatory.
Iterative and incremental
The iterative model builds a basic version first and improves it in repeated cycles, each going through design, build and test while adding or refining features. You get working software early and learn from it. The risk is scope creep if nobody controls what goes into each iteration.
Spiral
Barry Boehm described the Spiral model in 1986. Each loop has four parts: set objectives, identify and resolve risks (often with a prototype), develop and test, then plan the next loop. Spiral is risk-driven, which suits large, expensive or novel projects where the biggest danger is building the wrong thing or hitting an unsolved technical problem. The analysis in every loop makes it heavy for small projects.
Agile and Scrum
Agile is a set of values and principles from the 2001 Agile Manifesto, favouring working software, customer collaboration and responding to change. Strictly speaking it is a philosophy that several models follow, such as Scrum, Kanban and Extreme Programming, but people list it as a model because it changes how you move through the phases: through short, repeated cycles instead of one long pass.
Scrum is the most widely used Agile framework. Work happens in fixed-length sprints of one month or less, commonly two weeks, and each sprint runs through every SDLC phase for a small slice of the product:
Product backlog
↓
Sprint planning
↓
Sprint (design, build, test daily, with a Daily Scrum)
↓
Sprint review (show working increment)
↓
Sprint retrospective (improve the process)
↓
Next sprint
Being Agile is not a reason to skip requirements, though. A sprint still needs acceptance criteria.
DevOps
DevOps extends Agile past "done" into operations. Development and operations share ownership of the whole life cycle, and automation connects the phases: every commit is built, tested, scanned and can be deployed through a pipeline. DevOps doesn't replace the SDLC; it speeds it up. Teams commonly measure delivery with the four DORA metrics: deployment frequency, lead time for changes, change failure rate and time to restore service. What Is DevOps? covers the cultural side.
The models side by side
Model | Flow | Best for | Change tolerance | Main risk |
|---|
Waterfall | Linear, one pass | Fixed, well-known requirements | Low | Late discovery of wrong requirements |
V-Model | Linear with paired test levels | Safety-critical, audited systems | Low | Rigid and documentation-heavy |
Iterative | Repeated build-and-refine cycles | Products that can start small | Medium | Scope creep |
Spiral | Risk-driven loops with prototypes | Large, high-risk, novel projects | Medium to high | Costly analysis overhead |
Agile / Scrum | Short sprints delivering increments | Evolving products, close user contact | High | Weak documentation and planning if done badly |
DevOps | Continuous, automated delivery | Online services that release often | Very high | Needs mature automation and culture |
How to choose a model
No model is best in general. Agile approaches, especially Scrum combined with DevOps delivery, are the most common in commercial software, while Waterfall and the V-Model remain common where requirements are fixed by contract or regulation. For your own project, work through these questions:
- How stable are the requirements? Fixed by contract or regulation points to Waterfall or the V-Model. Expected to change points to Agile.
- What does failure cost? If a defect can injure someone or fail an audit, you need the V-Model's traceability, possibly inside an iterative wrapper.
- How big is the technical risk? Unproven technology or a huge budget favours Spiral-style prototyping before you commit.
- How often must you release? Monthly or more often almost requires Agile with DevOps automation.
- How available are your users? Agile depends on regular feedback. If stakeholders appear twice a year, plan around that.
- What can your team actually run? DevOps without automated tests and pipelines is just fast, risky deployment.
Avoid choosing by fashion. Forcing two-week sprints onto a fixed-scope regulatory project creates paperwork, not agility. Many organizations end up with a hybrid, typically an up-front planning and architecture phase, Scrum sprints for development and DevOps pipelines for delivery. I think that is usually the right answer, as long as everyone knows which rules apply where.
Building security into every phase
A secure SDLC (sometimes SSDLC) puts security activities into each phase instead of running one penetration test before go-live. A single late pen test finds problems at the point they are most expensive to fix; the earlier you find a flaw, the less of the system has been built on top of it. In practice, that means:
- Planning: identify compliance needs, classify data and set a security budget.
- Requirements: write security requirements and abuse cases.
- Design: threat modeling (for example STRIDE) and a secure architecture review.
- Development: secure coding standards, SAST, secret scanning and dependency (SCA) scanning.
- Testing: DAST, fuzzing and penetration testing.
- Deployment: infrastructure-as-code scanning, signed artifacts and least-privilege configuration.
- Maintenance: patch management, vulnerability response, monitoring and incident response.
Two frameworks describe these practices in detail. The NIST Secure Software Development Framework (SSDF) is published as SP 800-218. As of October 2026 the NIST project page lists version 1.1 as current, with a draft version 1.2 (SP 800-218 Rev. 1) released for public comment in December 2025, and NIST has also published SP 800-218A, a profile for generative AI model development. The other is the Microsoft Security Development Lifecycle (SDL), which Microsoft has used internally and published as guidance for many years.
For a .NET team, the cheapest place to start is the build itself, with code analysis and NuGet package auditing on every run:
# Treat every warning (compiler, analyzer, NuGet audit) as an error
dotnet build -warnaserror
# List packages with known vulnerabilities, including transitive ones
dotnet list package --vulnerable --include-transitive
What AI changes, and what it doesn't
AI coding assistants and agents now touch every phase, not only coding. They draft user stories, acceptance criteria and edge cases from meeting notes, and spot gaps and contradictions in requirements. They propose architectures, generate diagrams and API contracts, and review designs for missing failure modes. In development they complete code, generate whole features as agents, and refactor and migrate old code. They write unit tests, test data and reproduction cases for bug reports, and on the operations side they write pipeline and infrastructure code, summarize incidents and suggest fixes from logs.
Google's 2025 DORA report found that about 90% of surveyed technology professionals use AI at work. It described AI as an "amplifier" that magnifies the strengths of teams with good practices and the dysfunctions of teams without them, and linked AI adoption to higher delivery throughput but also to more instability.
That finding matches what the SDLC would predict. When code becomes fast to produce, the bottleneck moves to the phases around it: deciding what to build, reviewing changes, testing and releasing safely. Requirements quality, automated tests and code review become more important, not less. C# Corner's piece on the AI-native SDLC explores that shift in depth.
My rule is to treat AI-generated code like code from a fast new team member. It goes through the same review, tests and security scans as everything else, and a human stays accountable for what reaches production. A team with a disciplined SDLC gets the throughput gain; a team without one mostly gets the instability.
Join the conversation! Your thoughts help the community grow.