bagetter / BaGetter

A lightweight NuGet and symbol server
https://www.bagetter.com
MIT License
163 stars 38 forks source link

Can Bagetter be used as application under Default Web Site IIS #145

Open mubarak0443 opened 3 weeks ago

mubarak0443 commented 3 weeks ago

Hi ,

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

Regenhardt commented 3 weeks ago

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.