If you are fine replacing all instances of IdentityDbContext<
with IdentityDbContextExtDbConfiguration<
, you could easily achieve this using PowerShell. Just use a script like the following:
foreach ($file in Get-ChildItem -Recurse -Filter *.cs)
{
$filename = $file.FullName;
$content = Get-Content $filename -Raw -Encoding UTF8
$replacedContent = $content -replace 'IdentityDbContext<','IdentityDbContextExtDbConfiguration<'
$replacedContent | Set-Content $filename -Encoding UTF8
}