• /r/dotnet
  • Implementation != Interface

    Sorry for the late reply but I wanted to add something that everyone seems to have missed. How you expose your API and how you implement it are drastically different concerns. You can very easily do generic CRUD operations using a single controller while keeping one endpoint per entity. This is why you have routing […]

  • /r/powershell
  • Variable comparison – Compare object identity (NOT value) to determine if variable(s) are, in fact, the same object

    All of the normal PowerShell comparison operators compare the value(s) of the variable(s). This is NOT what I’m looking for. I’m looking for a way to uniquely identify an object and see if another variable is the same object. The context for this is parallel processing, runspaces, synchronization, and mutexes. (I’m trying to learn how […]

  • /r/powershell
  • adding double quotes ofr variable

    I’m trying to get a command to pick up the var in an install script. I’m doing this in serer2008r2, so v2 doesn’t seem to like it this way. Any ideas? Start-Process -FilePath “$env:systemrootsystem32msiexec.exe” -ArgumentList “/i `”$PSScriptRoot$URLrewrite`” /n /passive” -Wait Start-Process -FilePath “$env:systemrootsystem32msiexec.exe” -ArgumentList “/i `”$PSScriptRoot$WebFarm`” /n /passive” -Wait Start-Process -FilePath “$env:systemrootsystem32msiexec.exe” -ArgumentList “/i `”$PSScriptRoot$ARRInstaller`” […]