I am new to Azure and TAS (https://tanzu.vmware.com/application-service) and want to deploy .Net 4.5 web form application using VMWare Tanzu TAS (previously Cloud Foundry) on Azure.
I got Azure trial subscription to try it out but could not any details references for proceeding with the setup and installation.
If anyone has experience it before or any reference to start with, it would be great help.
Using VMWare Tanzu
Go to VMware Tanzu Network.
And download the VMware Tanzu Application Service.
And download the Windows FS Injector tool for your workstation OS.
Add the Windows Server container base image to the product file
Go to the Ops Manager Installation Dashboard and then click on Import a Product.
And to add the TAS for VMs [Windows] tile to the Import a Product product list, select the path
PASW-IMPORTABLE-PATH
file from your workstation.To add the TAS for VMs [Windows] tile to your staging area, click + under the VMware Tanzu Application Service for VMs [Windows] product listing.
Once the VM is configured
Deploying .Net Apps
The cf CLI command
cf push
pushes apps to TAS for VMs. There are two main ways to run thecf push
command:cf push APP-NAME
to push an app the easiest way, using default settings.cf push
command with flags and helper files to customize.Default settings:
Choose a name for the app.
Run the following command:
Where
APP-NAME
is the name of the app.Default Route
Hostname: The name of the app is the one specified in the
cf push
command.Domain: The default apps domain for the TAS for VMs installation.
For eg;- An app named
my-app-xyz
running on TAS for VMs with an apps domainapps.example.com
would, by default, run at the URLhttps://my-app-xyz.apps.example.com
.From azure portal
And push your .Net code to Git and from Git you deploy to Tanzu using power shell commands as mentioned above. And for more information please follow the references.
Thanks @Tanzu docs
References taken from Deploying .NET Apps | VMware Tanzu Docs (pivotal.io)