Portfolio and technical communication
Portfolio and technical communication
A strong engineering portfolio presents a problem, alternatives, actual evidence, and limitations rather than unsupported success claims.
Use a fictional or approved project, explain the user need, constraints, architecture and decision trade-offs. An architecture decision record (ADR) documents context, decision, alternatives, consequences and a trigger for revisiting. Include exact SDK/target, reproducible instructions, test evidence, a threat model, a data model and a handoff runbook; redact credentials and private customer data. Label tests as executed only when they were actually executed and preserve failure evidence rather than cherry-picking. Separate synthetic performance figures from measurements. For interviews, reason about value/reference behavior and LINQ, cancellation and ownership in async work, parameterized SQL and indexes, allocations versus retained memory, and architecture boundaries. State assumptions, predict behavior, propose a small test, and revise based on evidence. Do not invent a job history, certifications, salary or business impact. A portfolio can demonstrate a well-reasoned incomplete project; identify the next verification gate. The companion dossier is a fillable example with every runtime result left unknown.
Baseline: .NET 10 / C# 14. All C# results below are reasoned, not executed. Synthetic calculations are not vendor quotes or production measurements.
Explain a value versus reference copy
Predict the effect of copying a struct and a class.
Inspect the archived Fixture.csproj and use only an approved .NET 10 SDK. Build and run in an isolated lab with finite time and resource limits.
using System;var a=new CountValue{N=2}; var b=a; b.N++;var c=new CountRef{N=2}; var d=c; d.N++;Console.WriteLine($"{a.N},{b.N}");Console.WriteLine($"{c.N},{d.N}");struct CountValue { public int N; }sealed class CountRef { public int N; }Expected result (not executed):
2,33,3Copying this value type copies its int field; copying a reference shares the same object. A value type containing references can still share referenced objects.
Explain deferred execution with an observable contract
A query is enumerated before and after the source list changes.
Inspect the archived Fixture.csproj and use only an approved .NET 10 SDK. Build and run in an isolated lab with finite time and resource limits.
using System;using System.Collections.Generic;using System.Linq;var source=new List<int>{1,2}; var query=source.Where(n=>n>1); var snapshot=query.ToArray();source.Add(3);Console.WriteLine(string.Join(",",query));Console.WriteLine(string.Join(",",snapshot));Expected result (not executed):
2,32The query observes the list at enumeration time, while the array stores the earlier results. This does not imply thread safety.
Show cancellation rather than pretending success
Pass a known canceled token to a local operation and observe the outcome.
Inspect the archived Fixture.csproj and use only an approved .NET 10 SDK. Build and run in an isolated lab with finite time and resource limits.
using System;using System.Threading;using System.Threading.Tasks;using var cts=new CancellationTokenSource(); cts.Cancel();try { await Task.FromCanceled<int>(cts.Token); } catch(OperationCanceledException) { Console.WriteLine("canceled"); }Console.WriteLine("observed");Expected result (not executed):
canceledobservedThe owner observes cancellation; no unobserved background task is left. Real I/O needs token propagation, cleanup, and a timeout budget.
Apply the concept
Write a one-page ADR and evidence summary for a fictional inventory API. Prepare an interview explanation for duplicate messages and stale database writes.
Use the manual practice and knowledge check. Do not deploy or publish these fixtures.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Portfolio and technical communication — knowledge check
Apply the lesson concepts to the following scenarios.
What makes an ADR useful?
What happens to the original struct in the copy example?
Why does the query show 3 after adding it?
How should an unexecuted integration test be reported?
What should a portfolio avoid?