Network Plus Interview Revision Guide
This condensed guide covers the core topics most likely to come up in your interview. Each section
explains what the concept is, why it matters, key interview points, and common pitfalls.
1. C# Fundamentals
C# is an object oriented language. Know classes, objects, interfaces, inheritance, polymorphism,
abstraction and encapsulation. Value types (int, bool, struct) are stored directly. Reference types
(class, string, array) store references. Dependency Injection allows classes to receive
dependencies instead of creating them. Lifetimes: Singleton (one instance), Scoped (per request),
Transient (new every time). Async/await prevents blocking threads during I/O. Always await async
database/API calls. Use try/catch only where you can handle errors. Re-throw with 'throw;' not
'throw ex;'.
2. Collections & LINQ
List ordered collection. Dictionary key/value lookup O(1). HashSet unique values. IEnumerable
executes in memory. IQueryable translates queries to SQL. Know Where, Select, OrderBy,
GroupBy, Any, All, Count, FirstOrDefault, SingleOrDefault.
3. [Link] Core & APIs
Request -> Middleware -> Controller -> Service -> Repository -> EF -> SQL. REST verbs: GET
read, POST create, PUT replace, PATCH partial update, DELETE remove. Common status codes:
200,201,204,400,401,403,404,409,500.
4. Entity Framework
DbContext manages entities. DbSet represents a table. Use Include for eager loading.
AsNoTracking for read-only queries. Prefer async methods and FirstOrDefaultAsync over First
when appropriate.
5. SQL
Know SELECT, WHERE, JOIN, GROUP BY, ORDER BY. Primary Key uniquely identifies rows.
Foreign Key creates relationships. Indexes speed reads but slow writes slightly.
6. Angular
Components control UI. Services contain business logic. Use HttpClient, Observables, ngOnInit.
Avoid 'any'; use interfaces. Handle loading and errors.
7. Azure
App Service hosts web apps. Service Bus enables messaging. Entra ID handles authentication.
Azure DevOps provides repos, boards and CI/CD. Bicep defines infrastructure as code.
8. Architecture
SOLID: Single Responsibility, Open/Closed, Liskov, Interface Segregation, Dependency Inversion.
DDD focuses on business domain. Event-driven architecture communicates via events.
9. Testing
TDD cycle: Red, Green, Refactor. Arrange, Act, Assert. Mock dependencies with Moq.
10. Security
Authentication proves identity. Authorisation controls access. Use JWT, HTTPS, validation,
parameterised SQL, least privilege.
11. CI/CD
Git feature branches, pull requests, automated builds, tests and deployments through Azure
DevOps pipelines.
12. Coding Exercise Tips
Read the code first. Explain your thinking aloud. Look for null handling, async opportunities,
validation, logging, naming, duplication, error handling and performance.
13. Likely Questions
Explain DI, SOLID, IEnumerable vs IQueryable, async/await, Service Bus, EF tracking, PUT vs
PATCH, securing APIs, modernising legacy systems.