Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

How to deploy a web application from Visual Studio to IIS?

$
0
0

Hi,

I have just begun developing with ASP.NET under Visual Studio Community Edition, and I wonder how to deploy a web application to IIS.

What I have read so far is that there are different methods of deploying an application in Visual Studio., e. g.:

  • deploy to a local directory and then copy the files from this directory to IIS
  • directly deploy from Visual Studio to IIS
  • I heared that there is some tool called "web deploy", but I don't know if I need it and where to get it?
    I tried to add it as an extension, but it's not listed there.
  • ...

However, I did not manage to deploy anything at all!

My application is a project ("solution") in Visual Studio, not a "web site".

When I call "Build", "Publish <MyApp>", I can select from the following options:

  • Microsoft Azure Websites
  • Import
  • Custom

I have playes around with these options, but I did not manage to specify a folder or a zip file, where the application should be deployed. I also did not manage to specify a host name where IIS is running.

When I open the project's properties and go to "Package/Publish Web", I can specify a lot of things, but again, no folder, no zip file and no IIS server.
I even don't know if this is the right place to search for the right options...

All that I want is to run my app on a IIS outside the Visual Studio environment.

I don't no what's the problem Maybe it's not possible to publish with the Community Edition of Visual Studio?

What can I do?

Thanks

Magnus


Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>