I want to publish my web application on a hosting server.
Domain: mysite.com
Folder: mysite.com/TestWAP
Can I use one-click deployment on typical discount shared hosting?
Will I need to make any installation on the server first, and how is
this done?
With the above details, what would I specify in the
"Service URL" and "Site/Application" fields?
Check out these resources:
How to: Deploy a Web Application Project Using One-Click Publish and Web Deploy
Walkthrough: Deploying a Web Application Project Using One-Click Publish
ASP.NET Web Application Project Deployment FAQ
Build, publish local with a manual first time setup on shared host. From then on publish through Visual Studio Publish - FTP option.
I think you are looking for this.
Configure the Web Deployment Handler
Hope this help.
Related
I made a .net core web API project. My project has 3 layers. The first and second layers are .net core class library and the third layer is .net core web API.
When I start the web layer in Visual Studio with iis express no problem I can work with my web services but I want to publish it on my localhost it doesn't work.
I followed this tutorial:
https://www.youtube.com/watch?v=ZZfRlBMHds8 and when I try it with my project it doesn't work.
What should I do?
I also tried an empty web API project but it doesn't work either.
I would make sure you have he IIS_IUSR permission for the directory the the WebApi is located in. Then, I would open the solution in VS as the administrator and right click the WebApi project and select Publish. This will open the configuration part of publishing your WebApi and you can set your settings here. Make sure you can connect to your IIS site you wish to publish to and save your settings. Then stop IIS, publish, then restart IIS. Hope this helps.
I am new to dot net web services and I have created a web service which I was somehow able to deploy to IIS.
Now, I've made some code changes to it and again clicked on "Created Deployment Package". Should I just copy paste these new dlls to the location where my Web service is deployed or is there some-other way to redeploy the code changes for web service to IIS?
Yes simple and easy is copy the dll to iis and you are done, even you may not require deployment package.
in general i publish the site to a local folder and then copy it to server.
but in case you are using local machine iis you can publish directly to respective iis folder.
I created a web service in C#, using Visual Studio 2010 ( Framework .NET 3.5). In debug mode it works great, but now I must publish it on the internet, so that I can consume it in remote (the app that will consume the web service is an android app).
So the question is: how do I publish my web service on Internet so that I can consume it in remote?
Thanks in advance; this is a work for taking my degree!
A simple way: you switch to release mode, update your web.config for production, right click on your service project and from the menu select publish. Then you publish it to the local folder. This way it copies only the files needed. Then you copy the contents of the folder to your remote site using ftp, for example, your hosting provider should have given you the credentials.
for some hosters it is also possible to publish directly but I don't use this.
Is there a way to publish a website/webservice/folder to the IIS directory of the remote machine?
If so how?
Web Deploy sounds like the tool you want - you can also 'Publish' the site within VS 2010
http://www.iis.net/download/webdeploy
I've been looking and I've seen a few how-tos but I find them to be somewhat confusing.
Does anyone have a good tutorial or step by step writeup that's easy to follow for a newbie
In Visual Studio, go on project properties > tab web and check "Use Local IIS Web Server". Then, it will ask you to if you want to create the virtual directory, answer yes and vouala...you create a IIS virtual directory, when you run your application, they will run on IIS.
If you're just looking to run your application under IIS, setting up a virtual directory is pretty straightforward. If you're looking to test publish a build, the web deployment project is the way to go (you can do it from the command line and in VS.Net, it enables a "Publish" right-click option).
A good place to start would be looking into web deployment projects.
This link is for VS2008, but they also exist for VS2005
VS2008 Web Deployment Project
You can publish your web app to an iis website. Click on Build > Publish Web app and select to publish to Local IIS website. Job done.
For a local development environment this is fine but if you want to deploy to a test or staging server than look at another solution such as the Web Deployment project or use nant or msbuild.