website - Using Visual Studio 2013 for ASP.NET web site project -


I am new to the Visual Studio 2013 IDE / environment ...

I got an old legacy (ASP.NET) Web site that is currently being maintained using Microsoft Expression Web 4 (which is no longer supported by Microsoft) test and production web sites are hosted remotely by using IIS 7.5 < / P>

Migrate from Expression Web 4 to Visual Studio 2013 I have two questions in relation to I:

  1. Is there any way to just copy the copy (FTP / Download) Web site from Production Server to Visual Studio 2013 ? Ie: V.S. Create a new blank web site in 2013 and then copy everything from the production web site. Will this maintain sub-web? Folders, etc? (I doubt it).

  2. IIS expression to publish pages on a page while using Web 4 ???? Some files in the Expression Web are marked as 'excluded from publishing' (because some files, such as web.config, are different depending on the publication or publication on the production server). VS for the ASP.NET Web site project There is nothing found in 2013 which allows me to set different files so that they can be copied to the remote web site. Does such functionality also exist? Any insights will be appreciated.

    Thanks in advance.

    If you do not get confused with web site project VS (web application project) If you are open in, you can right-click on it and select Copy Web Site. This will bring to a window where you can connect to a remote site (like with FTP) and sync files back and forth.

    (Note: This feature is ancient and nobody knows about it)

    For # 2, it depends. In the case of web.config, you can create a published profile (right-click on project and select Publish) which will allow you to modify the web.config file for each publishing destination. Once your published profile is present, you can right-click on Solution Explorer and choose Add Config Transform, which will only apply when it is published to that Destination.

    For other files that you want to exclude, you can & lt; ExcludeFilesFromDeployment & gt; and & lt; ExcludeFoldersFromDeployment & gt; Modify the .pubxml file for your published profile as described using . (Blog post talk of editing project file, but VS is not required for it since 2012; instead use .pubxml files.)

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -