Skip to content

[ASP.NET Core] Hosting with IONOS

Georg Höller
Georg Höller
3 min read
[ASP.NET Core] Hosting with IONOS
Photo by Maxwell Nelson / Unsplash

Update:

[ASP.NET Core 6.0 | Angular] - Hosting with Ionos
Update for my previous posts about hosting an angular frontend and ASP.NET Core 6 backend. Prerequirements: * active ionos windows hosting subscription * asp.net core 6 project * buildable angular project Ionos Setup Open up your favorite FTP client and connect it to your ionos webspace. Cre…

This post will guide you from zero to a public accessible ASP.NET Page with IONOS Windows Hosting.

Hosting

Head over to and choose the plan which fits the best for you: ionos.com/hosting/windows-hosting
I will continue with the smallest one because one site is enough for me.

Choose the free domain and continue to the checkout. It will last a few minutes till you can log in to your dashboard. We will use this time to create our Test ASP.NET Core 3.1 Web App.

ASP.NET Project

Open Visual Studio 2019 and select "Create a new project"

Search for the "ASP.NET Core Web App" Template and hit "Next".

On the next screen, you can give your Project an awesome name!

I will continue with the default setting for .NET Core 3.1 and Authentication Type "None" but I disabled HTTPS because I do not use it for testing.

Hit "Create" and let visual studio work for you ;-)
Your solution should look like this:

Double click the project file to open the ".csproj" file. Find the following section:

<PropertyGroup>
   <TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>

Change it to:

<PropertyGroup>
   <TargetFramework>netcoreapp3.1</TargetFramework>
   <PublishWithAspNetCoreTargetManifest>
    false
   </PublishWithAspNetCoreTargetManifest>
</PropertyGroup>

Now hit "F5" to test your ASP.NET Core Website locally - this will look similar to this:

Publish to IONOS

Now your IONOS Dashboard should be ready to use! Navigate to your Hosting Dashboard and create an FTP User.

Keep the page open with your FTP connection information and store your password in a safe place. You will need it in the next step!

Switch back to Visual Studio 2019 and right-click the project - select publish in the conext menu.

Now add a new PublishProfile for FTP Server.

Now you need your FTP information from IONOS.

Server:       server address to FTP
Site path:      leave empty! (important)
Destination URL:  your domain
User:        IONOS FTP user
Password:       IONOS FTP password

Great! Everything is set up! Hit "Finish" and then "Publish"!
Open a browser and go to your domain. If everything worked, you should see the same page as before in our local test. :-)

The next post will cover how you host an Angular frontend on IONOS!

Developer

Comments


Related Posts

Members Public

[Angular] Routing Helper - a Typesafe Routing Attempt

It always bothered me that you have to define the routing paths as strings. If a route changes, you have to change all references manually. There must be a better way! Routing Constants The constants are for your specific app - here you can define a class which represents your

[Angular] Routing Helper - a Typesafe Routing Attempt
Members Public

[ASP.NET Core 6.0 | Angular] Hosting with Ionos

Update for my previous posts about hosting an angular frontend and ASP.NET Core 6 backend. Prerequirements: * active ionos windows hosting subscription * asp.net core 6 project * buildable angular project Ionos Setup Open up your favorite FTP client and connect it to your ionos webspace. Create two new folders -

[ASP.NET Core 6.0 | Angular] Hosting with Ionos
Members Public

Transition from Windows to Mac - Frontend Developer

My Windows journey started with Windows 98 I think, maybe Windows 95. Now it is the end of 2022 and I was in need for a new laptop. I have been searching for weeks for a suitable windows notebook, tested an Asus ROG X13 but sent it back because hardware

Transition from Windows to Mac - Frontend Developer