[BLOG] .NET Blog Draft#521
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a draft blog post documenting how WinApp CLI helps .NET developers run with package identity (via dotnet run) and create signed MSIX packages (via winapp pack), plus pointers to related docs and the VS Code extension.
Changes:
- Introduces a new blog draft covering
winapp init,dotnet runidentity enablement, and optional execution alias setup for console apps. - Adds a packaging walkthrough using
winapp cert generate,winapp pack, andwinapp cert install. - Includes links to supporting documentation, samples, and the VS Code extension.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Build Metrics ReportBinary Sizes
Test Results✅ 993 passed, 1 skipped out of 994 tests in 404.5s (-43.0s vs. baseline) Test Coverage❌ 23.7% line coverage, 39.8% branch coverage · ✅ no change vs. baseline CLI Startup Time41ms median (x64, Updated 2026-05-12 20:48:39 UTC · commit |
chiaramooney
left a comment
There was a problem hiding this comment.
Overall looks great!
| ### 1. Initialize your project with winapp. | ||
|
|
||
| ``` | ||
| winapp init --use-defaults |
There was a problem hiding this comment.
why --use-defaults? wouldn't it be better to use the interactive to better explain what is happening step by step?
There was a problem hiding this comment.
In the context of blog posts, I think the fire and forget variant of command usually works the best for getting them through the content without bogging them down with decisions.
I've updated the explanations below for the changes that init makes to your projects, along with more info about what you can control without --use-defaults. let me know if you think thats enough or would just prefer the interactive one.
| @@ -0,0 +1,142 @@ | |||
| # Packaging and Package Identity for .NET apps with winapp CLI | |||
|
|
|||
| Package identity has often been a pain point for developers looking to build apps that integrate with Windows APIs. Many modern Windows features, like push notifications or the AI APIs, are gated behind package identity. For Windows apps that are unpackaged by default (like .NET console or WPF applications), this meant wrestling with package manifests, build configurations, and certs to bring your app up to speed. | |||
There was a problem hiding this comment.
I wonder if there is a way to show the problems we are solving with the cli up front instead of just telling?
There was a problem hiding this comment.
Open to suggestions here - I'm not sure what the best way to do this would be without getting overcomplicated. Do you want more specifics on what was previously required?
Co-authored-by: Jaylyn Barbee <51131738+Jaylyn-Barbee@users.noreply.github.com>
Co-authored-by: Jaylyn Barbee <51131738+Jaylyn-Barbee@users.noreply.github.com>
Co-authored-by: Nikola Metulev <nmetulev@users.noreply.github.com>
Co-authored-by: Jaylyn Barbee <51131738+Jaylyn-Barbee@users.noreply.github.com>
Co-authored-by: Jaylyn Barbee <51131738+Jaylyn-Barbee@users.noreply.github.com>
Co-authored-by: Jaylyn Barbee <51131738+Jaylyn-Barbee@users.noreply.github.com>
Co-authored-by: Jaylyn Barbee <51131738+Jaylyn-Barbee@users.noreply.github.com>
| winapp unregister | ||
| ``` | ||
|
|
||
| For more details on how exactly the winapp CLI works with dotnet under the hood, check out the [`dotnet run` support docs](https://github.com/microsoft/winappCli/blob/main/docs/dotnet-run-support.md). |
Draft for .NET blogpost.
Let me know if you guys have any feedback, major or minor.