Wednesday, July 8, 2020

ef core tips



 Debug code-first Entity Framework migration codes
 Place this piece of code right above the migration you want to debug:
  if (!System.Diagnostics.Debugger.IsAttached)
            System.Diagnostics.Debugger.Launch();
More details / Ref  : https://stackoverflow.com/a/52700520/193061

Thursday, July 2, 2020

Powershell TitBits




Replace all file names in a folder

Get-ChildItem -Filter “*ModelMap*” -Recurse | Rename-Item -NewName {$_.name -replace ‘ModelMap’ ,’ModelMapping’ }

Devops links

  Build Versioning in Azure DevOps Pipelines