Announcements
Hi All,
I have a C# service that I would like to convert to a code component. Does anyone know where I can get some details examples and how-to documentation that could help me with this? I tried the default Microsoft documentation but it seems to be too broad for my application. Any help would be greatly appreciated.
Thank you
I assume you're not talking about a Blazor app or something... what exactly do you mean by "C# service", and what are you trying to accomplish? Most likely, the reason you're not finding good documentation is that there are a lot of ways to tackle your objective. It will help if I understand more about it.
No, no Blazer app. To clarify, it's a Windows Service that runs a C# console application. I'm not sure if code components can even accomplish recreating it but I'm just looking for some documentation that goes over code components with C#.
OK, great. So, the reason you're not finding documentation for this is that this is not what code components do. Code Components are Single Page Apps that enable developers to replace UI elements with totally custom experiences. Usually, these are written in React/Typescript, but they are definitely just client-side stuff.
What you're looking for is server-executing code for running that service, and it could take a couple different forms:
@DTreg1 did this post help solve your issue? Please mark it as resolved or update us if you went a different route.
@cchannon I haven't had a chance to try it yet but I believe the Azure Functions will be what I need. Still working on getting the service enabled on my license as my free trial is expired.
I was able to recreate the service through a flow with some more recent updates. This was before ChatGPT as well, today that would probably be some help.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
wolenberg_ 119 Super User 2026 Season 1
WarrenBelz 107 Most Valuable Professional
Haque 103