View all Worklets
Windows

Update ASP.net Core

Revamps current ASP.net Core installations for optimal functionality.

Worklet Details

When would you use the Upgrade ASP.net Core installations Worklet?

This PowerShell Worklet is designed to grant an Admin the ability to upgrade existing installations of ASP.net Core. Both x86 and x64 installers will need to be downloaded from the ASP.net download site and uploaded to the Automox Console. Be sure to download the "Installers" and not the "Binaries". This will allow the Worklet to update devices that may have both x86 and x64 runtimes installed.

How does the Upgrade ASP.net Core installations PowerShell Worklet work?

Only one variable, $fVersion, is needed for the Evaluation script. This is used to determine the version of ASP.net Core to be installed and should be the same version of the uploaded installer files.

There are four variables for the Remediation script. These are used to define the installer filenames, the installer version, and the path for the logfile.

  • $x64Fname and $x86Fname: This will be the names of the x86 and x64 installers. Be sure to use the full name including the .exe file extension.

  • $fVersion: This will be the "Major"."Minor"."Build" version number of the runtime. This version number is usually displayed in the installer filename itself.

  • $logPath: This is the path that the installer will output the log to. Only define paths as the filename is handled in the script. When using environment variables be sure to use the PowerShell equivalent by using the $env: prefix before the named variable.

What are the benefits of using the Upgrade ASP.net Core installations Worklet?

Upgrading ASP.NET Core installations offers numerous benefits, allowing you to leverage the power of the latest version of the framework. With advancements in .NET Core and .NET Framework, upgrading your .NET apps to ASP.NET Core brings several advantages.

By upgrading, you can take advantage of the improved performance, security enhancements, bug fixes, and new features provided by the latest version of ASP.NET Core. The upgrade process can be facilitated by tools like the .NET Upgrade Assistant, which assists in migrating your project files to the new version.

Visual Studio, the popular development environment, offers seamless integration with ASP.NET Core, allowing you to easily upgrade and manage your projects. With Visual Studio, you can update the target framework for your applications, ensuring compatibility with the latest version of ASP.NET Core.

If you prefer a command-line approach, the .NET CLI (Command-Line Interface) provides a convenient way to upgrade your ASP.NET Core installations. Using the CLI, you can execute commands to update your project files and manage dependencies.

The upgrade to ASP.NET Core is not limited to web applications. It also includes upgrading Windows Forms and other .NET applications to leverage the benefits of the latest version. Whether you are working on web-based or desktop-based .NET applications, upgrading to ASP.NET Core unlocks performance improvements, security enhancements, and access to new features.

The ASP.NET Core community plays a vital role in supporting developers during the upgrade process. With resources such as documentation, tutorials, and forums, the community provides valuable guidance and assistance. Additionally, NuGet packages offer a convenient way to access libraries and extensions that enhance the functionality of your ASP.NET Core applications.

Upgrading ASP.NET Core installations allows you to harness the potential of the latest version of the framework, providing improved performance, enhanced security, and access to new features. 

View in app

Consider Worklets your easy button

What's a Worklet?

A Worklet is an automation script, written in Bash or PowerShell, designed for seamless execution on endpoints – at scale – within the Automox platform. Worklet automation scripts perform configuration, remediation, and the installation or removal of applications and settings across Windows, macOS, and Linux.

do more with worklets