Giter VIP home page Giter VIP logo

installnetcoreruntimeandhostingtask's Issues

Enable flagging for ANCM install

Great extension, but I'd like an option to install the ASP.NET Core Module for IIS as there is no way to install outside the hosting bundle. Could be good to add options for any of the opt-out parameters.

OPT_NO_ANCM=1 (Skip ANCM install)
OPT_NO_RUNTIME=1 (Skip .NET Core runtime install)
OPT_NO_SHAREDFX=1 (Skip ASP.NET Shared framework, aka ASP.NET runtime install)
OPT_NO_X86=1 (Skip install x86 runtimes, ancm on 64-bit OS)

https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/?view=aspnetcore-3.1#install-the-hosting-bundle

Detect runtime version from global.json file

First of all thank you, this task is really a great help to ensure the server has all required software to run our app.

It would be great if it could check the required version from a global.json file in the project. This could be presented in the form of a Use global json parameter just like the Use .NET Core task.

What are your thoughts on this ?

Installing .NET 5.0.4 fails

Installing .NET 5.0.4 fails with the error: No latest release found.

The task uses this releases.json file to select the latest .NET version. The latest-release and latest-release-date fields in this JSON are used to select the correct release.

As you can see in the JSON snippet below. The date format of latest-release-date differs from the release-date of version 5.0.4. So the task can't select the latest version.

{
  "channel-version": "5.0",
  "latest-release": "5.0.4",
  "latest-release-date": "2021-03-09",
  "latest-runtime": "5.0.4",
  "latest-sdk": "5.0.201",
  "support-phase": "current",
  "lifecycle-policy": "https://dotnet.microsoft.com/platform/support/policy/",
  "releases": [
    {
      "release-date": "2021-09-03",
      "release-version": "5.0.4",

Detect if runtime is installed before download

Great task. Worked like a charm right out of the box!

It takes about 30-45 seconds and quite a bit of bandwidth to download the installer. For a continuous deployment pipeline this is a bit expensive, especially when the target environment probably is already configured correctly.

I think it would be worth checking if the desired runtime version is already installed before downloading the installer. You could also add a boolean parameter "force" to always download and run the installer regardless.

Thanks

installing net core runtime in Remote Machine

What about installing the net core runtime and hosting in a remote machine?
Do you think is possible?
I don't use Environments with Virtual Machines.
I deploy a net core app with WINRM - IIS Web App Manage/Deploy task.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.