~/talk

Taming .NET Framework legacy WebApi

Talkat .NET Summit 2020 Online Conference · 2020-08-07..08-08· [dotnet]
slides:none on file

A legacy .NET Framework WebApi is incrementally converted to multi-target projects (net461 + netcoreapp3.1) using a csproj migration tool and the .NET Portability Analyzer, achieving about 2x throughput on Linux without halting feature work. A small shim exposes static HttpContext via IHttpContextAccessor so old libraries keep working, SOAP endpoints run on SoapCore, and thread‑pool starvation from sync-over-async is solved with the ConcurrencyLimiter middleware. Build and run are containerized via a two‑stage Alpine Dockerfile; the sample repo and clean scripts demonstrate the full pipeline and that the converted services work.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 1:51Why refactor .NET Framework APIs
  3. 4:00Challenges in legacy code conversion
  4. 5:23Essential conversion tools
  5. 7:07Key code conversion tips
  6. 13:06Live code conversion demo
  7. 23:11Splitting projects for compatibility
  8. 31:28Adding logging and trace IDs
  9. 33:11Converting SOAP services
  10. 37:30Dockerizing the applications
  11. 39:00Handling thread pool starvation
  12. 40:48Q&A and resources
~/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.