Skip to content

[BLOG] .NET Blog Draft#521

Open
zateutsch wants to merge 18 commits into
mainfrom
zt/dotnet-blog
Open

[BLOG] .NET Blog Draft#521
zateutsch wants to merge 18 commits into
mainfrom
zt/dotnet-blog

Conversation

@zateutsch
Copy link
Copy Markdown
Contributor

Draft for .NET blogpost.

Let me know if you guys have any feedback, major or minor.

Copilot AI review requested due to automatic review settings May 5, 2026 21:15
@zateutsch zateutsch added DO-NOT-MERGE dotnet tag for issues or feature requests related to .NET-specific functionality (winforms, wpf...) labels May 5, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 run identity enablement, and optional execution alias setup for console apps.
  • Adds a packaging walkthrough using winapp cert generate, winapp pack, and winapp 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.

Comment thread docs/blogs/dotnet-identity-and-packaging.md Outdated
Comment thread docs/blogs/dotnet-identity-and-packaging.md Outdated
Comment thread docs/blogs/dotnet-identity-and-packaging.md Outdated
Comment thread docs/blogs/dotnet-identity-and-packaging.md Outdated
Comment thread docs/blogs/dotnet-identity-and-packaging.md
Comment thread docs/blogs/dotnet-identity-and-packaging.md Outdated
Comment thread docs/blogs/dotnet-identity-and-packaging.md Outdated
Comment thread docs/blogs/dotnet-identity-and-packaging.md Outdated
zateutsch and others added 6 commits May 5, 2026 17:25
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>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 5, 2026

Build Metrics Report

Binary Sizes

Artifact Baseline Current Delta
CLI (ARM64) 30.87 MB 30.87 MB ✅ 0.0 KB (0.00%)
CLI (x64) 31.23 MB 31.23 MB ✅ 0.0 KB (0.00%)
MSIX (ARM64) 13.03 MB 13.03 MB 📉 -0.1 KB (-0.00%)
MSIX (x64) 13.83 MB 13.83 MB 📈 +0.1 KB (+0.00%)
NPM Package 27.08 MB 27.08 MB 📉 -0.0 KB (-0.00%)
NuGet Package 27.17 MB 27.17 MB 📈 +0.4 KB (+0.00%)
VS Code Extension 19.90 MB 19.90 MB 📈 +0.1 KB (+0.00%)

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 Time

41ms median (x64, winapp --version) · ✅ no change vs. baseline


Updated 2026-05-12 20:48:39 UTC · commit 92d3207 · workflow run

Comment thread docs/blogs/dotnet-identity-and-packaging.md Outdated
Comment thread docs/blogs/dotnet-identity-and-packaging.md Outdated
Comment thread docs/blogs/dotnet-identity-and-packaging.md Outdated
Copy link
Copy Markdown
Contributor

@chiaramooney chiaramooney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks great!

Comment thread docs/blogs/dotnet-identity-and-packaging.md Outdated
### 1. Initialize your project with winapp.

```
winapp init --use-defaults
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why --use-defaults? wouldn't it be better to use the interactive to better explain what is happening step by step?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread docs/blogs/dotnet-identity-and-packaging.md
@@ -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.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if there is a way to show the problems we are solving with the cli up front instead of just telling?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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?

Comment thread docs/blogs/dotnet-identity-and-packaging.md Outdated
Comment thread docs/blogs/dotnet-identity-and-packaging.md Outdated
Comment thread docs/blogs/dotnet-identity-and-packaging.md
Comment thread docs/blogs/dotnet-identity-and-packaging.md Outdated
Comment thread docs/blogs/dotnet-identity-and-packaging.md Outdated
Comment thread docs/blogs/dotnet-identity-and-packaging.md Outdated
Comment thread docs/blogs/dotnet-identity-and-packaging.md Outdated
Comment thread docs/blogs/dotnet-identity-and-packaging.md Outdated
Comment thread docs/blogs/dotnet-identity-and-packaging.md Outdated
Comment thread docs/blogs/dotnet-identity-and-packaging.md Outdated
Comment thread docs/blogs/dotnet-identity-and-packaging.md Outdated
Comment thread docs/blogs/dotnet-identity-and-packaging.md Outdated
Comment thread docs/blogs/dotnet-identity-and-packaging.md
zateutsch and others added 10 commits May 12, 2026 15:21
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>
@zateutsch zateutsch requested a review from nmetulev May 12, 2026 20:36
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).
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: WinApp CLI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DO-NOT-MERGE dotnet tag for issues or feature requests related to .NET-specific functionality (winforms, wpf...)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants