[.NET] Productize the templates projects#1053
Open
timtay-microsoft wants to merge 15 commits intomainfrom
Open
[.NET] Productize the templates projects#1053timtay-microsoft wants to merge 15 commits intomainfrom
timtay-microsoft wants to merge 15 commits intomainfrom
Conversation
Contributor
There was a problem hiding this comment.
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 |
maximsemenov80
approved these changes
Nov 4, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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