﻿<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>Newest KB Articles in Visual Studio 2010</title>
    <description>Recent additions to the knowledge base from DiscountASP.NET</description>
    <link>http://support.discountasp.net/KB/c280/visual-studio-2010.aspx</link>
    <dt>Tue, 21 May 2013 02:20:18 GMT</dt>
    <generator>SmarterTrack Enterprise 7.8.4653</generator>
    <item>
      <title>How do I deploy a Visual Studio 2010 Web Application Project to a DiscountASP.NET Server using Web Deploy?</title>
      <link>http://support.discountasp.net/KB/a792/how-do-i-deploy-visual-studio-2010-web-application.aspx</link>
      <pubDate>Mon, 29 Mar 2010 21:11:29 GMT</pubDate>
      <guid isPermaLink="false">kbarticle792</guid>
      <description>The following instructions apply only to &lt;strong&gt;Web Application Projects&lt;/strong&gt;.&amp;nbsp; For Web Site Projects, please &lt;a href="http://support.discountasp.net/KB/KB/a793/visual-studio-2010-deployment.aspx"&gt;see this Knowledge Base article&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Web Deploy is a new method to publish your web application.&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
&lt;ul&gt;
    &lt;li&gt;&lt;strong&gt;Web Deploy is only available for web sites hosted on Windows 2008 servers&lt;/strong&gt;. &lt;/li&gt;
    &lt;li&gt;In order to use the web deploy method with Visual Studio 2010 &lt;strong&gt;you must activate IIS Manager permissions in Control Panel if you have not already done so&lt;/strong&gt;. For details on activating IIS Manager permissions, please see &lt;a target="_blank" href="http://support.discountasp.net/KB/a402/assigning-users-to-microsoft-iis-7-manager.aspx"&gt;this Knowledge Base article&lt;/a&gt;. &lt;/li&gt;
&lt;/ul&gt;
To publish your web application using Web Deploy:&lt;br /&gt;
&lt;ul&gt;
    &lt;li&gt;Open the project in Visual Studio 2010.&lt;/li&gt;
    &lt;li&gt;Click &lt;strong&gt;Build&lt;/strong&gt; -&amp;gt; &lt;strong&gt;Publish&lt;/strong&gt;.&amp;nbsp; This will bring up the "Publish Web" dialog box.&lt;/li&gt;
    &lt;li&gt;Change the "Publish Method" to &lt;strong&gt;Web Deploy.&lt;/strong&gt;&lt;/li&gt;
    &lt;li&gt;In the "Service URL" field, enter: "https://[webserver].discountasp.net:8172/MsDeploy.axd ([webserver]&lt;strong&gt; &lt;/strong&gt;is the actual server name, for example; web701).&lt;/li&gt;
    &lt;li&gt;In the "Site/application" field, enter: "[domainName]/[subdirectory], e.g.;&amp;nbsp; yourhosteddomain.com/app1.&amp;nbsp; Replace [subdirectory] with the directory you wish to publish the application to.&lt;/li&gt;
    &lt;li&gt;Check &lt;strong&gt;Mark as IIS application on destination. &lt;/strong&gt;(There is no need to do this if you are deploying to the Root)&lt;/li&gt;
    &lt;li&gt;Check &lt;strong&gt;Allow untrusted certificate.&lt;/strong&gt; &lt;/li&gt;
    &lt;li&gt;In the username field, enter your &lt;a target="_blank" href="http://my.discountasp.net"&gt;Control Panel&lt;/a&gt; login user name (not to be confused with FTP login).&lt;/li&gt;
    &lt;li&gt;In the password field, enter your password.&lt;/li&gt;
    &lt;li&gt;Click &lt;strong&gt;Publish.&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;img alt="" src="http://support.discountasp.net/AvatarHandler.ashx?radfile=%252fCommon%252fimage3f.png" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: 8pt;"&gt;&lt;br /&gt;
&lt;/span&gt;
&lt;span style="font-size: 8pt;"&gt;&lt;strong&gt;Related
articles:&lt;/strong&gt;&lt;br /&gt;
&lt;a href="../KB/a793/visual-studio-2010-deployment.aspx"&gt;Visual
Studio 2010 Deployment Overview&lt;/a&gt;&lt;br /&gt;
&lt;a href="../KB/a787/how-do-i-deploy-visual-studio-2010-web-site-project.aspx"&gt;How
do I deploy a Visual Studio 2010 Web Site Project using the Copy web
site feature?&lt;/a&gt;&lt;br /&gt;
&lt;a href="../KB/a788/how-do-i-deploy-visual-studio-2010-web-site-project.aspx"&gt;How
do I deploy a Visual Studio 2010 Web Site Project using Publish Web
Site feature?&lt;/a&gt;&lt;br /&gt;
&lt;a href="../KB/a789/how-do-i-deploy-visual-studio-2010-web-application.aspx"&gt;How
do I deploy a Visual Studio 2010 Web Application Project using FTP?&lt;/a&gt;&lt;/span&gt;</description>
    </item>
    <item>
      <title>How do I deploy a Visual Studio 2010 Web Application Project to a DiscountASP.NET Server using FTP?</title>
      <link>http://support.discountasp.net/KB/a789/how-do-i-deploy-visual-studio-2010-web-application.aspx</link>
      <pubDate>Mon, 29 Mar 2010 21:00:03 GMT</pubDate>
      <guid isPermaLink="false">kbarticle789</guid>
      <description>The following instructions apply only to &lt;strong&gt;Web Application Projects&lt;/strong&gt;.&amp;nbsp; For Web Site Projects, please see &lt;a href="http://support.discountasp.net/KB/a788/how-do-i-deploy-visual-studio-2010-web-site-project.aspx"&gt;this Knowledge Base article&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
To publish your web application using FTP:&lt;br /&gt;
&lt;ul&gt;
    &lt;li&gt;Open the project in Visual Studio 2010.&lt;/li&gt;
    &lt;li&gt;Click &lt;strong&gt;Build&lt;/strong&gt; -&amp;gt; &lt;strong&gt;Publish&lt;/strong&gt;.&amp;nbsp; This will bring up the "Publish Web" dialog box.&lt;/li&gt;
    &lt;li&gt;Change the "Publish Method" to &lt;strong&gt;FTP.&lt;/strong&gt;&lt;/li&gt;
    &lt;li&gt;In the &lt;strong&gt;target location&lt;/strong&gt; field, enter: ftp://[domainName]/[subdirectory], e.g.;&amp;nbsp; ftp://yourhosteddomain.com/app1.&amp;nbsp; Replace [subdirectory] with the directory you wish to publish the application to.&lt;/li&gt;
    &lt;li&gt;In &lt;strong&gt;username&lt;/strong&gt; field, enter the FTP user name found in &lt;a target="_blank" href="http://my.discountasp.net"&gt;Control Panel.&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;In the password field, enter the FTP password.&lt;/li&gt;
    &lt;li&gt;Click &lt;strong&gt;Publish.&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;img alt="" src="http://support.discountasp.net/AvatarHandler.ashx?radfile=%252fCommon%252fimage2f.png" /&gt;&lt;br /&gt;
&lt;span style="font-size: 8pt;"&gt;&lt;br /&gt;
&lt;/span&gt;
&lt;span style="font-size: 8pt;"&gt;&lt;span style="font-size: 8pt;"&gt;&lt;strong&gt;&lt;br /&gt;
Related articles:&lt;/strong&gt;&lt;br /&gt;
&lt;a href="http://support.discountasp.net/KB/a793/visual-studio-2010-deployment.aspx"&gt;Visual Studio 2010 Deployment Overview&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://support.discountasp.net/KB/a787/how-do-i-deploy-visual-studio-2010-web-site-project.aspx"&gt;How do I deploy a Visual Studio 2010 Web Site Project using the Copy web site feature?&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://support.discountasp.net/KB/a788/how-do-i-deploy-visual-studio-2010-web-site-project.aspx"&gt;How do I deploy a Visual Studio 2010 Web Site Project using Publish Web Site feature?&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://support.discountasp.net/KB/a789/how-do-i-deploy-visual-studio-2010-web-application.aspx"&gt;&lt;/a&gt;&lt;a href="http://support.discountasp.net/KB/a792/how-do-i-deploy-visual-studio-2010-web-application.aspx"&gt;How do I deploy a Visual Studio 2010 Web Application Project using Web Deploy?&lt;/a&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;/span&gt;</description>
    </item>
    <item>
      <title>How do I deploy a Visual Studio 2010 Web Site Project to a DiscountASP.NET Server using Publish Web Site feature?</title>
      <link>http://support.discountasp.net/KB/a788/how-do-i-deploy-visual-studio-2010-web-site-project.aspx</link>
      <pubDate>Mon, 29 Mar 2010 19:38:49 GMT</pubDate>
      <guid isPermaLink="false">kbarticle788</guid>
      <description>The following instructions apply only to &lt;strong&gt;Web Site Projects&lt;/strong&gt;.&amp;nbsp; For Web Application Projects, please see &lt;a href="http://support.discountasp.net/KB/a789/how-do-i-deploy-visual-studio-2010-web-application.aspx"&gt;this Knowledge Base article&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
To publish your web site using the Publish Web Site feature:&lt;br /&gt;
&lt;ul&gt;
    &lt;li&gt;Open the project in Visual Studio 2010.&lt;/li&gt;
    &lt;li&gt;Click &lt;strong&gt;Build&lt;/strong&gt; -&amp;gt; &lt;strong&gt;Publish&lt;/strong&gt;.&amp;nbsp; This will bring up the "Publish Web Site" dialog box.&lt;/li&gt;
    &lt;li&gt;Expand the &lt;strong&gt;Target Location&lt;/strong&gt; text box by clicking the &lt;strong&gt;&amp;hellip;&lt;/strong&gt; icon.&lt;/li&gt;
    &lt;li&gt;In the expanded dialog box:
    &lt;ul&gt;
        &lt;li&gt;In the &lt;strong&gt;Server&lt;/strong&gt; field, enter your domain name, e.g.; yourhosteddomain.com&lt;/li&gt;
        &lt;li&gt;In the &lt;strong&gt;port&lt;/strong&gt; field, enter: 21&lt;/li&gt;
        &lt;li&gt;In the &lt;strong&gt;directory&lt;/strong&gt; field, enter the directory you wish to publish the application to.&lt;/li&gt;
        &lt;li&gt;In the &lt;strong&gt;Username&lt;/strong&gt; field, enter the FTP user name.&lt;/li&gt;
        &lt;li&gt;In the &lt;strong&gt;password&lt;/strong&gt; field, enter the FTP password.&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/li&gt;
    &lt;li&gt;Click &lt;strong&gt;Open.&lt;/strong&gt;&lt;/li&gt;
    &lt;li&gt;Click &lt;strong&gt;OK&lt;/strong&gt; again.&lt;/li&gt;
    &lt;li&gt;If prompted, re-enter the FTP password.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;img alt="" src="http://support.discountasp.net/AvatarHandler.ashx?radfile=%252fCommon%252fimage1.png" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: 8pt;"&gt;&lt;br /&gt;
&lt;/span&gt;
&lt;span style="font-size: 8pt;"&gt;&lt;strong&gt;Related
articles:&lt;/strong&gt;&lt;br /&gt;
&lt;a href="../KB/a793/visual-studio-2010-deployment.aspx"&gt;Visual
Studio 2010 Deployment Overview&lt;/a&gt;&lt;br /&gt;
&lt;a href="../KB/a787/how-do-i-deploy-visual-studio-2010-web-site-project.aspx"&gt;How
do I deploy a Visual Studio 2010 Web Site Project using the Copy web
site feature?&lt;/a&gt;&lt;br /&gt;
&lt;a href="../KB/a788/how-do-i-deploy-visual-studio-2010-web-site-project.aspx"&gt;&lt;/a&gt;&lt;a href="../KB/a789/how-do-i-deploy-visual-studio-2010-web-application.aspx"&gt;How
do I deploy a Visual Studio 2010 Web Application Project using FTP?&lt;/a&gt;&lt;br /&gt;
&lt;a href="../KB/a792/how-do-i-deploy-visual-studio-2010-web-application.aspx"&gt;How
do I deploy a Visual Studio 2010 Web Application Project using Web
Deploy?&lt;/a&gt;&lt;/span&gt;</description>
    </item>
    <item>
      <title>How do I deploy a Visual Studio 2010 Web Site Project to a DiscountASP.NET Server using the Copy web site feature?</title>
      <link>http://support.discountasp.net/KB/a787/how-do-i-deploy-visual-studio-2010-web-site-project.aspx</link>
      <pubDate>Mon, 29 Mar 2010 19:19:11 GMT</pubDate>
      <guid isPermaLink="false">kbarticle787</guid>
      <description>The following instructions apply only to &lt;strong&gt;Web Site Projects&lt;/strong&gt;.&amp;nbsp; For Web Application projects, please see &lt;a href="http://support.discountasp.net/KB/a789/how-do-i-deploy-visual-studio-2010-web-application.aspx"&gt;this Knowledge Base article&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
To publish your web site using the Copy Web Site feature:&lt;br /&gt;
&lt;ul&gt;
    &lt;li&gt;Open the web project to be deployed in Visual Studio 2010. &lt;/li&gt;
    &lt;li&gt;Go to &lt;strong&gt;Web Site&lt;/strong&gt; -&amp;gt; &lt;strong&gt;Copy Web Site&lt;/strong&gt;. The Copy Web tab will show
    the Source Web site and the Remote Web site. &lt;/li&gt;
    &lt;li&gt;Click the "Connect" button. The "Open Web Site" window will pop
    up. &lt;/li&gt;
    &lt;li&gt;Select &lt;strong&gt;FTP Site&lt;/strong&gt;. &lt;/li&gt;
    &lt;li&gt;Enter the following values:
    &lt;ul&gt;
        &lt;li&gt;&lt;strong&gt;Server&lt;/strong&gt;: www.YourHostedDomainName.com&lt;/li&gt;
        &lt;li&gt;&lt;strong&gt;Port&lt;/strong&gt;: 21&lt;/li&gt;
        &lt;li&gt;&lt;strong&gt;Directory&lt;/strong&gt;: [name of the remote directory to copy to; leave
        blank for the root]&lt;/li&gt;
        &lt;li&gt;&lt;strong&gt;Passive Mode&lt;/strong&gt;: checked*&lt;/li&gt;
        &lt;li&gt;&lt;strong&gt;Anonymous Login&lt;/strong&gt;: unchecked, and enter your login information.&lt;br /&gt;
        * &lt;em&gt;Note that passive mode may not be compatible with some home
        network routers or modems. If you have difficulty connecting, try
        switching passive mode off.&lt;/em&gt;&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/li&gt;
    &lt;li&gt;Click "Open." &lt;/li&gt;
    &lt;li&gt;Select the files you want to copy from the Source Web site list.
    &lt;/li&gt;
    &lt;li&gt;Use the arrow buttons in the middle to copy the selected files
    from source to remote web site. &lt;/li&gt;
    &lt;li&gt;Log into Control Panel and enable the directory as a web
    application root using the &lt;a href="https://my.discountasp.net/webapplication-tool.aspx"&gt;Web
    Application tool&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;span style="font-size: 8pt;"&gt;&lt;br /&gt;
&lt;/span&gt;
&lt;span style="font-size: 8pt;"&gt;&lt;strong&gt;Related
articles:&lt;/strong&gt;&lt;br /&gt;
&lt;a href="../KB/a793/visual-studio-2010-deployment.aspx"&gt;Visual
Studio 2010 Deployment Overview&lt;/a&gt;&lt;br /&gt;
&lt;a href="../KB/a787/how-do-i-deploy-visual-studio-2010-web-site-project.aspx"&gt;&lt;/a&gt;&lt;a href="../KB/a788/how-do-i-deploy-visual-studio-2010-web-site-project.aspx"&gt;How
do I deploy a Visual Studio 2010 Web Site Project using Publish Web
Site feature?&lt;/a&gt;&lt;br /&gt;
&lt;a href="../KB/a789/how-do-i-deploy-visual-studio-2010-web-application.aspx"&gt;How
do I deploy a Visual Studio 2010 Web Application Project using FTP?&lt;/a&gt;&lt;br /&gt;
&lt;a href="../KB/a792/how-do-i-deploy-visual-studio-2010-web-application.aspx"&gt;How
do I deploy a Visual Studio 2010 Web Application Project using Web
Deploy?&lt;/a&gt;&lt;/span&gt;</description>
    </item>
  </channel>
</rss>