~/talk

An Opinionated Approach to ASP.NET Core

Talkat NDC Minnesota 2018 · 2018-05-07..05-10· [dotnet]
links:none on file
slides:none on file

Opinionated guidance for ASP.NET Core projects: keep a repository top-level layout like src/tests/samples, check in development and deployment scripts, use Program.Main (between Build and Run) to run DB migrations and seeding, prefer feature folders or Razor Pages instead of huge controllers, use route attributes not conventional routes, favor tag helpers and view components, use webpack with npm or yarn and TypeScript, test end-to-end in memory with TestHost plus EF Core InMemory for smaller, higher-value test suites, and run Linux-based containers locally to catch platform issues.

AI-written summary · about

  1. 0:00Start
  2. 1:14Solutions from Projects
  3. 3:51Adding a New Solution Folder
  4. 4:39Folder View
  5. 5:25Samples
  6. 6:44Unit Tests
  7. 7:54Ad Migration Script
  8. 8:20Deployment Scripts and Templates
  9. 8:40Azure Resource Manager
  10. 13:22Startup Code
  11. 21:29Project Structure
  12. 24:42Feature Folders
  13. 26:18Razor Pages
  14. 27:44Resetting Passwords
  15. 28:53Dependency Injection
  16. 35:47Security Policies
  17. 36:49Authorization Policy Builder
  18. 38:03View Components
  19. 39:18Webpack Configuration File
  20. 44:18Install a Typescript Compiler
  21. 44:39Typescript Config
  22. 46:02How Many Test Projects Should You Have
  23. 47:30How Do You Unit Test a Controller
  24. 50:09Asp Net Core Test Host
  25. 51:43Where Can You Mock Things Out
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.