Im using Xamarin Studio on MacOS to build a Website using ASP.NET C#. Now i want to publish the project to my local IIS server, but I can't find that option. I want to publish the site and then copy the files to my IIS.
Any clue?
Xamarin Studio does not include Web Deploy or Publish Wizard. You have to copy the binaries and configure IIS manually.
Related
I use Visual Studio Folder Publish option to publish my Web apps to my IIS server. They are mostly ASP.NET Core 2.0 apps. Before I updated Visual Studio 2017 to the latest version my published web app would look like this in the IIS Site folder: (picture below)
Now that I have updated Visual Studio 2017 to the latest release of 2017, my Core 2.0 apps site folder has tons of files, like this:
I am not sure why, obviously nothing has changed with my app project files that I know of. I also noticed when I publish a newly created ASP.NET Core 2.1 web app, it only publishes the short list of files.
Does anyone know why this happens and if it is possible to fix (or even worth fixing). I haven't noticed any performance difference but my apps are not very performance intensive.
I am now using the Visual Studio 2013, where I want to create a web deployment installer for project like I am doing in Visual Studio 2008.
But I am not getting any option inside Setup and Deployment. Can anybody please guide me how to create the installer package for web application? I have publish folder ready with me. Can I create any installer from VS2008 using this Publish folder?
Visual Studio no longer includes a setup installer out of the box. This was removed in VS2012; the guidance instead is to use a 3rd party option like WiX or InstallShield.
Another option, if you don't need to use an MSI based installer, is to use Web Deploy. A web project in VS can create a deployment package, which can then be published to any number of websites at any time. It can also be customized by configuring parameters and setting their values at deploy time (link). Web Deploy packages can support deploying your web content, IIS settings, and database.
VS2013 will support it again. It will be released in the next update patch of the VS2013.
http://visualstudiomagazine.com/articles/2014/04/18/microsoft-reinstalls-visual-studio-installer.aspx
What is the difference between Web Deployment Projects (.wdproj) and new
MSDeploy?
Is it prefer to use MSDeploy instead of Web Deployment Projects?
Is this add-in created only for backward compatibility with already created Visual Studio 2005/2008 projects, or it's a product, which will be evolving?
Web Deployment Projects and Web Deploy (aka MSDeploy) are not mutually exclusive; you can use a WDP to create a Web Deploy deployment package. Web Deploy is an IIS tool that can be used by Visual Studio or MSBuild. In Visual Studio 2010 the Web Publishing Pipeline is implemented using MSBuild so that it can work the same way from the IDE (the one-click publish feature) or by invoking MSBuild targets from the command line. See this MSDN page:
http://msdn.microsoft.com/en-us/library/dd394698.aspx
If you're using VS 2010 or later and you are using web application projects rather than web site projects, you don't need Web Deployment Projects unless you want to build a precompile/merge step into deployment. If you're using web site projects, you still need to use Web Deployment Projects.
WDP's days are numbered, it will not be evolving.
I been using Web Application project with Visual Studio 2003 for many years, and I finally decided to migrate to Visual Studio 2010 Pro. I did use the convert wizard with success to migrate my Web Application project.
However, there is one thing that I am not able to do with VS 2010 that I was able to do with VS 2003 : open a project from web. (important : here I mean a Web Application Project, not a Web Site Project)
VS 2010 only seems to offer the option to open Web Site Project from a web location. I want to keep using Web Application Project, and I am only able to open Web Application Project on my own computer or on my network, but I am not able anymore to open a Web Application Project using http location. This feature was available in VS 2003 and I really can't find the same in VS 2010.
Can you help?
new project -> language -> web -> ASP.NET Web Application
We are using Visual Studio 2010 to publish to IIS using Web Deploy. I have now upgraded to Web Deploy 2.0 on the client, and the server (by uninstalling the old version and installing the new version).
From Visual Studio, it still seams to be creating web deploy 1.0 packages. This is where I am confused. How does Visual Studio integrate with Web Deploy? How do I get Visual Studio to create Web Deploy 2.0 packages?
Thanks for your post.
I just found a doc might help, it illustrates the installation and enabling of web deploy:
http://weblogs.asp.net/scottgu/archive/2010/09/13/automating-deployment-with-microsoft-web-deploy.aspx
Moreover, I think web deploy is more relevant to ASP.Net, and if you can post another thread at:
http://forums.asp.net/26.aspx?Configuration+and+Deployment
I believe you can get more useful information.
Hope this can help.
I got it working. The batch file that was being generated by web deploy was checking for v1.1 in the registry. Editing it to check for v2 works on a server that only has v2 installed.
After installing the Visual Studio service pack, I see now that the batch file is different, and no longer does a registry check so works with web deploy clients 1 and 2.