engineertdog
engineertdog
CC#
Created by engineertdog on 4/28/2025 in #help
✅ Object Reference is null, even with try/catch
Not sure how, but this can be marked closed.
13 replies
CC#
Created by engineertdog on 4/28/2025 in #help
✅ Object Reference is null, even with try/catch
Yeah, I could use that as a bypass until I get this reworked. This will work for small systems with less than 500k rows, but the systems that have 5 million rows is going to be problematic with this approach.
13 replies
CC#
Created by engineertdog on 4/28/2025 in #help
✅ Object Reference is null, even with try/catch
I'm not sure why I'm still doing this anyway, apart from SQL performance. I need to query the SQLite database for each row rather than using memory to find these items.
13 replies
CC#
Created by engineertdog on 4/28/2025 in #help
✅ Object Reference is null, even with try/catch
It only has issues on the first time running when I populate the SQLite database. Otherwise it's fine.
13 replies
CC#
Created by engineertdog on 4/28/2025 in #help
✅ Object Reference is null, even with try/catch
No description
13 replies
CC#
Created by engineertdog on 2/18/2025 in #help
✅ Did MS push an update that is causing network issues?
It doesn't. I know there are MS employees in here.
14 replies
CC#
Created by engineertdog on 7/31/2024 in #help
Parallel list
Whoops, I forgot that function. Basically it's a user-defined choice of parallel vs sequential.
c#
public async Task TransformRecords(IEnumerable<SRT> sourceRecords) {
if (Config.Parallel == "") {
await TransformRecordsSequential(sourceRecords);
} else {
await TransformRecordsParallel(sourceRecords);
}
}
c#
public async Task TransformRecords(IEnumerable<SRT> sourceRecords) {
if (Config.Parallel == "") {
await TransformRecordsSequential(sourceRecords);
} else {
await TransformRecordsParallel(sourceRecords);
}
}
4 replies
CC#
Created by engineertdog on 7/30/2024 in #help
Base Class architecture
My question, is, am I on the right track? This class currently does Source->Destination and Destination->Source (effectively). Should this be broken out? One base class, another to reverse data flow? The intent is that I'd have the application specific classes that determine how data is pulled and formatted, and then I/O (extract/flush) classes for being able to read/write to file, SQL, or SDK
4 replies
CC#
Created by engineertdog on 6/27/2024 in #help
Update configuration in memory
Yeah, it just doesn't seem to be setting the current directory. But one line of code to fix that is not a big deal
80 replies
CC#
Created by engineertdog on 6/27/2024 in #help
Update configuration in memory
Yeah, I just started with the worker template but changed to a cron based schedule for running it
80 replies
CC#
Created by engineertdog on 6/27/2024 in #help
Update configuration in memory
You'd do just a plain console app with the scheduled services, or use something other than Quartz?
80 replies
CC#
Created by engineertdog on 6/27/2024 in #help
Update configuration in memory
80 replies
CC#
Created by engineertdog on 6/27/2024 in #help
Update configuration in memory
I was, but I actually went with Quartz for scheduling. So it's similar but different
80 replies
CC#
Created by engineertdog on 6/27/2024 in #help
Update configuration in memory
I'll have the code in 1 sec
80 replies
CC#
Created by engineertdog on 6/27/2024 in #help
Update configuration in memory
Wait, I lied. I actually forgot to remove that line.
80 replies
CC#
Created by engineertdog on 6/27/2024 in #help
Update configuration in memory
Otherwise it's all the mods they do on the images. But even at that, I'm fine with having 1 extra lina of code (well, 2 extra lines for adding the if statement that's not really required).
80 replies
CC#
Created by engineertdog on 6/27/2024 in #help
Update configuration in memory
If I get some time, I'll get virtualbox up and test a clean 2019 iso
80 replies
CC#
Created by engineertdog on 6/27/2024 in #help
Update configuration in memory
Yeah, well at least my sanity is straight now. I appreciate it
80 replies
CC#
Created by engineertdog on 6/27/2024 in #help
Update configuration in memory
These are also likely heavily modified OS's from the cyber security team
80 replies
CC#
Created by engineertdog on 6/27/2024 in #help
Update configuration in memory
Nah, ran the same command. Just a simple sc.exe create <name> binpath= ""
80 replies