bagetter/BaGetter

Can Bagetter be used as application under Default Web Site IIS

Opened this issue · 2 comments

Hi ,

Can Bagetter be used as application under Default Web Site IIS?

Hi, you can absolutely host BaGetter on IIS: https://learn.microsoft.com/aspnet/core/host-and-deploy/iis

If not done already, install the hosting bundle: https://dotnet.microsoft.com/permalink/dotnetcore-current-windows-runtime-bundle-installer
Further installation instructions here: https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/hosting-bundle?view=aspnetcore-8.0

Then download the zip release of BaGetter, it contains the published application. Extract its contents to a directory of your choice.

If you want it to run on Port 80 and you already have the Default Website in IIS, you can either configure that Default Website to host BaGetter, or delete the default website and create a new one.
To have it host BaGetter, you have to set the physical path to the directory you extracted BaGetter to. The directory should contain many files including BaGetter.dll and a web.config file.

That's it, when you start the IIS website you can now visit it in your browser or use it for NuGet operations.

@mubarak0443 Did you get it to run on IIS? Do you have any other questions about that?