var ctx = scope.ServiceProvider.GetRequiredService<StuffContent>(); // а вот тут вообще блин
ctx.Database.EnsureCreated();
using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
<Using Include="..."/>