engineertdog
engineertdog
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
CC#
Created by engineertdog on 6/27/2024 in #help
Update configuration in memory
@TeBeCo
80 replies
CC#
Created by engineertdog on 6/27/2024 in #help
Update configuration in memory
I extracted out everything and made a simple app on my local system. Windows 11 & server 2022 are fine. Same configuration on Windows 2019 appears to be where it defaults to system32 still.
80 replies
CC#
Created by engineertdog on 6/27/2024 in #help
Update configuration in memory
But I can do this
80 replies
CC#
Created by engineertdog on 6/27/2024 in #help
Update configuration in memory
I can't share the repo, it's internal
80 replies
CC#
Created by engineertdog on 6/27/2024 in #help
Update configuration in memory
Which - is correct. ContentRoot is correct. But the app directory isn't
80 replies
CC#
Created by engineertdog on 6/27/2024 in #help
Update configuration in memory
No, that's what it says .AddWindowsService() does.
80 replies