• About
  • Privacy Policy
  • Utilities
Darchuk.NET

Security

CORS in ASP .NET Core 2.2

December 21, 2018 by Robert Leave a Comment

Recently my team upgraded to .NET Core 2.2.  We have an API that needs to be accessed from an Angular project living in a different domain, so we had CORS enabled this way: Disclaimer: this is an intranet application – so it is only accessible inside of a corporate firewall, making it more acceptable to … [Read more…]

Posted in: .NET Core, ASP.NET, C#, Security, Web API, Web Development Tagged: .NET Core, ASP.NET, C#, CORS, NETCORE, Security, WebAPI

Running a Windows command script as admin

October 20, 2017 by Robert Leave a Comment

UAC is admittedly kind of annoying, but I tend to think of it as a necessary evil when you start looking at all of the things out there that can mess up your computer.  Some things require you to run as administrator.  This isn’t a problem when you can control the executable, but if you … [Read more…]

Posted in: Generic, Security Tagged: Administrator, CMD, Prompt, Script, UAC, Windows

Passwords and Security

September 7, 2015 by Robert Leave a Comment

Password Security The other day my dad was telling me a story about a friend of his whose email address had been compromised, sending out spam emails. He asked me how this would happen and what you could do to prevent it, and I thought it was worth writing down so I could refer other … [Read more…]

Posted in: Security Tagged: LastPass, Passwords, Security, Tech Support, Two Factor Authentication

Recent Posts

  • Allowing trailing JSON commas in ASP.NET Core 3
  • YADNC3JSG–Yet Another .NET Core 3.0 JSON Serializer Gotcha
  • Logging in a .NET Core 3 SignalR client
  • .NET Core 3 unit testing project sdk
  • .NET Core 3.0 Upgrade–New JSON Serializer Gotchas

Recent Comments

  1. Robert on C# Setting Socket Keep-Alive
  2. Oliver Schramm on C# Setting Socket Keep-Alive
  3. John Anderson on Waiting for a keypress asynchronously in a C# console app
  4. Ronald Garlit on .NET Core 3 unit testing project sdk
  5. Ronald Garlit on .NET Core 3 unit testing project sdk

Copyright © 2025 Darchuk.NET.

Omega WordPress Theme by ThemeHall