Can’t find a clean way get the desired output

Hey there, ​ I’m new to C# and have been stuck with an issue for a while. I’ve searched on google but couldn’t find a clean way to build the following string needs to be the output: {%22data_id%22:153,%22data_group%22:[11]} Before “formatted”: {“data_id”:153,”data_group”:[11]} This all needs to be a string, it’s actually json but formatted kinda weird. […]

UPDATE: XKCD Password Generator

This is a follow-up to my post yesterday, that you can find here. /u/da_chicken had pointed out that Get-Random used System.Random which wasn’t appropriate for a password generator so after some research and a fair amount of frustration I’ve got this to work using System.Security.Cryptography.RNGCryptoServiceProvider. I only used this for the lengths and word selection […]

Azure – AV/Endpoint

Hey guys, So there are talks to migrate several servers to our Azure tenant. I’m currently exploring endpoint options. We have Symantec on premises but until the release 15, our infrastructure will be On premises as well. This means we will need a s2s setup or they can route through our Netscaler and into our […]

Data conversion library for .NET

https://github.com/codenesium/DataConversionExtensions I created this project to simplify data conversion for a project I’m working on. You can take code that looks like this int output = 0; if(!int.TryParse(“123”), out output) { throw new Exception(“Couldn’t parse it”); } and instead just say int output = “123”.ToInt(); This assumes you don’t care it if parses and if […]