DSC icon indicating copy to clipboard operation
DSC copied to clipboard

Example C# resource for Windows Services

Open SteveL-MSFT opened this issue 6 months ago • 1 comments

PR Summary

This is just an example of building a DSC resource in C# with commits showing the progression

Left as exercise to viewer:

  • Changing StartType
  • Support localization of strings
  • Refactor code to classes and multiple source files
  • Add Pester tests

SteveL-MSFT avatar May 09 '25 01:05 SteveL-MSFT

Did someone get enthusiastic about an idea shared earlier 🤔 ? No, I like what I'm seeing. Nice job Steve!

Gijsreyn avatar May 09 '25 05:05 Gijsreyn

I'm going to close this PR as I did not intend to merge it into this repo (it was only for Build demo/talk). There is a separate Windows Services resource I'm working on written in Rust that will also support offline scenarios. I do hope some of the ideas here will be used in the DSC-Samples repo. cc @michaeltlombardi

SteveL-MSFT avatar May 23 '25 00:05 SteveL-MSFT