first time deploy web applicationhttp://forums.asp.net/t/1800434.aspx/1?first+time+deploy+web+applicationWed, 30 May 2012 09:04:25 -040018004344967034http://forums.asp.net/p/1800434/4967034.aspx/1?first+time+deploy+web+applicationfirst time deploy web application <p>&nbsp;&nbsp; I am new to working with deploying a C# web application 2010. I want to use the setup and deploy template in the visual studio .net 2010 ide since that is what the previous programmer(s) used at my company. Right now I am the only programmer at my small company. &nbsp;&nbsp; I also want to mention there are is no written deployment documentation for this web application. &nbsp;&nbsp; I have used the setup and deploy project file that I generated, but it does not install the web form 2010 application to acutally run.</p> <p>&nbsp;Thus,I am trying to determine what I could have done wrong. &nbsp;&nbsp;</p> <p>Here are my question:&nbsp;</p> <p>1. I am not exactly certain what I need to include in the project file for it to work. I can see the files&nbsp; that were generated by theoriginal programmers but I am not certain if I need exactly those files those particular folders. &nbsp;&nbsp;</p> <p>&nbsp; Thus can you make a recommendation on how I determine what files to include in the deployment.?</p> <p>2. Also once I deploy the application, I am not certain exactly how to test that the application to that it actually acutally runs. Basically the production application runs on IIS 7. &nbsp; Do you think I should deploy the application to cassini on my workstation and then see if it runs? &nbsp; Thus basically are there directions I can follow to see how I can test the web application? Would I deploy the web application in steps? Should I deploy the web application to cassini, then to iis on a test server?</p> 2012-05-05T14:19:00-04:004967460http://forums.asp.net/p/1800434/4967460.aspx/1?Re+first+time+deploy+web+applicationRe: first time deploy web application <p>Hello&nbsp;<a title="cindy_gal" href="http://forums.asp.net/members/cindy_gal.aspx">cindy_gal,</a></p> <p>Your question is bit unclear to me. You can simply publish your web application to the File System and copy paste all the files to your server. Then from IIS, you can add a new website. If you are not sure what files you should include, it's better to choose 'All files in the project' from the Package/Publish Web. Otherwise choose 'Only files needed to run this application'. You can set this by right clicking on the web application in the solution explorer and choosing 'Package/Publish Settings'.</p> <p><img src="http://i.msdn.microsoft.com/dynimg/IC452454.jpg" width="747" height="584"></p> <p>And you can right click on your project in the solution explorer and choose 'Publish'. From there, as the publish method, choose 'File System'.</p> <p><img src="http://www.digitallycreated.net/Content/Public/Blog/PublishToFileSystem_cd6550ea-8b67-4ef2-a4a8-21b05066da5b.gif" width="423" height="397"></p> <p>When you run the application in Visual Studio, it will use Cassini to run the applications, So, Yes. You can use it to test your web applications.</p> <p>You can add the website by right clicking on the 'Sites' in IIS.</p> <p><img src="http://www.codeproject.com/KB/web-cache/MyCache/CreateNewSite.png" width="278" height="264"></p> <p>Then give a name to your site and select the physical path from where you copied the site folder</p> <p><img src="http://chalaki.com/wp-content/uploads/2011/03/IIS7-Add-Web-Site.png" width="531" height="516"></p> 2012-05-06T07:27:56-04:004967509http://forums.asp.net/p/1800434/4967509.aspx/1?Re+first+time+deploy+web+applicationRe: first time deploy web application <p>refer&nbsp;<a href="http://csharpdotnetfreak.blogspot.com/2012/07/publish-deploy-aspnet-website-iis7.html">http://csharpdotnetfreak.blogspot.com/2012/07/publish-deploy-aspnet-website-iis7.html</a></p> 2012-05-06T08:34:12-04:004968070http://forums.asp.net/p/1800434/4968070.aspx/1?Re+first+time+deploy+web+applicationRe: first time deploy web application <p>I appreciate the information you gave me so far!</p> <p>To deploy the application, I want to use the method the previous programmers used and the network administrator says I should use the same method.</p> <p>Thus can you tell me how to setup a web setup and deploy proejct for iiS7?</p> <p>&nbsp;</p> <p>&nbsp;</p> 2012-05-07T02:50:54-04:004968191http://forums.asp.net/p/1800434/4968191.aspx/1?Re+first+time+deploy+web+applicationRe: first time deploy web application <p>Hi,</p> <p>Are you looking for <a href="http://learn.iis.net/page.aspx/1081/building-a-web-deploy-package-from-visual-studio-2010/"> this</a>? I'm still not clear what you are looking for. For deploying a project, the method I've give above would work. Since you need to setup a web setup, you may better fo for Web Deploy. See the link I've provided.</p> 2012-05-07T05:10:05-04:005003595http://forums.asp.net/p/1800434/5003595.aspx/1?Re+first+time+deploy+web+applicationRe: first time deploy web application <p>chk the above link for deployment Process</p> <p><a href="http://zohaibqadarsblog.blogspot.com/">http://zohaibqadarsblog.blogspot.com/</a></p> <p><a href="http://www.codeproject.com/Articles/28693/Deploying-ASP-NET-Websites-on-IIS-7-0">http://www.codeproject.com/Articles/28693/Deploying-ASP-NET-Websites-on-IIS-7-0</a></p> 2012-05-30T09:04:25-04:00