You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FTP credentials (retrieve them using: cat ~/ftp.creds)
IP address of the LXC
Visual Studio with an **ASP.NET (.NET 9) project ** ready for deployment
Creating the LXC
When setting up the LXC, the script will prompt you for an assembly name. This should match the assembly name of the ASP.NET project you want to publish.
Visual Studio Project:
LXC creation (see the assembly name matches the Visual Studio Project):
Publishing Your ASP.NET Project
Open Visual Studio and load the ASP.NET project you want to deploy.
Navigate toBuild > Publish **solutionname**.
In the Publish window, select FTP/FTPS Server as the target.
Enter the following details and press on Finish and close:
Server: IP address of the LXC
Site path: (leave empty)
Destination URL: (leave empty)
User name:ftpuser
Password: Retrieve from cat ~/ftp.creds
Get your IP and Password in ASP.NET LXC Shell:
Enter the details in Visual Studio:
Click Publish to deploy your project to the LXC.
After the publishing is done you can access your ASP.NET project via the IP-address in a webbrowser.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Deploying an ASP.NET Project to ASP.NET LXC on Proxmox
Prerequisites
Before you begin, ensure you have the following:
cat ~/ftp.creds
)Creating the LXC
When setting up the LXC, the script will prompt you for an assembly name. This should match the assembly name of the ASP.NET project you want to publish.
Visual Studio Project:
LXC creation (see the assembly name matches the Visual Studio Project):
Publishing Your ASP.NET Project
Build
>Publish **solutionname**
.Enter the following details and press on Finish and close:
ftpuser
cat ~/ftp.creds
Get your IP and Password in ASP.NET LXC Shell:
Enter the details in Visual Studio:
Beta Was this translation helpful? Give feedback.
All reactions