Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,086
Community Members
 
Community Events
176
Community Groups

Bamboo deploy asp.net to IIS

Hello.

I have an asp.net web page which I am building with Visual Studio in bamboo ,

I will deploy it to as IIS server, but I cannot find any option in bamboo for it neither can I find it in Atlassian Market.

 

I have found some posts but they are old...

https://community.atlassian.com/t5/Answers-Developer-Questions/How-to-deploy-a-NET-application-on-IIS/qaq-p/498835

 

What is the best way to do it?

1 answer

What you are looking for is MS Web Deploy. This is a Windows tool, that can perform remote deployments to IIS using a CLI command, making it easy to integrate into tools like Bamboo or Jenkins.

In order to use this, you'll need to have 2 services setup and installed on the IIS server.

  • Web Management Service
  • Web Deployment Agent Service

Once those services are setup and running, you can run the msdeploy.exe (C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe) that comes with MS Web Deploy to execute a application deployment. This can be done from the same server, or from a remote server.

Example:

msdeploy.exe -verb:sync
     -source:iisApp="$appPath\web"
     -dest:iisApp='$SiteName',wmsvc="$IIS-Server-Name",UserName='$user',Password='$password',AuthType='Basic',skipAppCreation=true
     -enableRule:AppOffline
     -allowUntrusted:true

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events