I know this is vague and might get shut down, but it's really rather important! I have a C# ASP.NET Core 3.1 MVC app with a MSSQL database that I want to publish to an IONOS 1&1 hosting service. I've tried using the Publish menu in Visual Studio 2019 via FTP, put in my credentials and then another box pops up asking me to put in my FTP password again, I type it in and it says I'm not authorised. Checked password and username carefully, these are fine. I'm not finding it very user friendly AT ALL! Azure is a million times easier but also about 10 times more expensive so I want to use IONOS! Please help.... or guide me to a step by step solution or something..... heeeeelp!
Publish an ASP.NET Core app to IIS 1 Prerequisites. . ... 2 Install the . ... 3 Create the IIS site. ... 4 Create an ASP. ... 5 Publish and deploy the app. ... 6 Browse the website. ... 7 Next steps. Install the . ... 8 Additional resources
In general, to deploy an ASP.NET Core app to a hosting environment: Deploy the published app to a folder on the hosting server. Set up a process manager that starts the app when requests arrive and restarts the app after it crashes or the server reboots. For configuration of a reverse proxy, set up a reverse proxy to forward requests to the app.
In addition to .exe and .dll files, the publish folder for an ASP.NET Core app typically contains configuration files, static assets, and MVC views. For more information, see ASP.NET Core directory structure.
Install the.NET Core Hosting Bundle on the IIS server. The bundle installs the.NET Core Runtime,.NET Core Library, and the ASP.NET Core Module. The module allows ASP.NET Core apps to run behind IIS. Download the installer using the following link:
OK - I've finally figured it out! In Visual Studio > Build > Publish...
Publish method: FTP Server: The server provided by IONOS (you can get this by downloading the FileZilla configuration file and then copy and paste the server name across) Site path: LEAVE THIS BLANK - THIS IS WHAT WAS CAUSING ALL THE PROBLEMS!!! Enable passive mode Username: Hopefully you know this! Password: Hopefully you know this! Destination URL: e.g. http://chickensoup.com/
Then it should work! Make sure you have an SSL certificate otherwise the webpage will give a security error and not show.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With