Best option for deploying and publishing upgraded WPF .NET app

CyberSteve 156 Reputation points
2023-05-02T17:19:18.1633333+00:00

I have some .NET Framework apps which were written a while ago in WinForms and WPF. They were deployed to a few friends using ClickOnce which worked fine.

 

Now I upgraded those apps to target .NET 6 and want to upgrade the deployment to make sure there still compatible with ClickOnce which the deployed apps depend on. If I continue to use ClickOnce, is this going to cause a major headache for the end-user? I used a certificate that I create myself in VS which I’d like to keep doing because they are just small simple programs and I’m not going through the store and don’t need a professional sign cert at this time.

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,710 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,141 questions
0 comments No comments
{count} votes

Accepted answer
  1. Hui Liu-MSFT 47,341 Reputation points Microsoft Vendor
    2023-05-03T08:54:00.41+00:00

    Hi,@CyberSteve . Welcome Microsoft Q&A.

    Upgrading your apps to target .NET 6 should not cause a major headache for the end-user if you continue to use ClickOnce deployment.

    However, there are a few points to consider:

    Compatibility: Make sure ClickOnce is still compatible with your target .NET 6 version. Check the documentation and release notes for any known issues or compatibility issues.

    Security: Using a self-signed certificate may not be secure enough for production use. If the certificate is not trusted, end users may receive warnings or errors when installing the application. If you plan to distribute your application to a wider audience, consider obtaining a trusted code signing certificate.

    User Experience: ClickOnce deployments can sometimes be slow or unreliable, especially with larger applications or slow network connections. Make sure to test your deployment thoroughly and consider alternative deployment options if necessary.

    In general, if your applications are small and simple, and you are not distributing them widely, a ClickOnce deployment with a self-signed certificate may be sufficient for your needs.


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful