-
Notifications
You must be signed in to change notification settings - Fork 18
[.NET] Productize the templates projects #1053
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR restructures the .NET templates to follow Microsoft's template packaging guidelines, preparing them for productization. The changes primarily reorganize the folder structure and update project configurations to create a proper NuGet template package.
Key Changes:
- Reorganized template projects into a
content/subdirectory structure as required for template packaging - Updated package references from
0.13.0-previewto0.13.0release version - Simplified leadership position IDs in configuration providers
- Created a new template package project file with appropriate packaging metadata
Reviewed Changes
Copilot reviewed 11 out of 22 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| Worker.cs (both templates) | Added complete Worker class implementation for background service |
| LeaderElectionConfigurationProvider.cs (both templates) | Simplified leadership position ID from "some-http-leadership-position-id" to "some-leadership-position-id" |
| Azure.Iot.Operations.Templates.*.csproj (both templates) | Updated Connector package version from preview to release (0.13.0) and removed BOM character |
| .template.config/template.json (both templates) | Updated template identity to match new namespace structure |
| README.md | Restructured documentation to focus on package usage rather than local installation |
| Azure.Iot.Operations.Templates.csproj | New template package project with packaging configuration |
| Azure.Iot.Operations.sln | Updated solution structure to reflect new template organization |
DO NOT MERGE UNTIL DEVX TEAM IS READY
This follows the instructions laid out here and the example templates provided here.
This is mostly just re-organizing the folder structure of the templates, but does include some changes to the csproj files involved