<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Musta Aga</title>
    <description>The latest articles on DEV Community by Musta Aga (@agamustafaaga).</description>
    <link>https://dev.to/agamustafaaga</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F235813%2Fc66ee78b-d9bb-4580-93b0-0c45e974276c.png</url>
      <title>DEV Community: Musta Aga</title>
      <link>https://dev.to/agamustafaaga</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/agamustafaaga"/>
    <language>en</language>
    <item>
      <title>How to deploy a Web-App in IIS</title>
      <dc:creator>Musta Aga</dc:creator>
      <pubDate>Tue, 01 Oct 2019 20:26:23 +0000</pubDate>
      <link>https://dev.to/agamustafaaga/how-to-deploy-a-web-app-in-iis-50hn</link>
      <guid>https://dev.to/agamustafaaga/how-to-deploy-a-web-app-in-iis-50hn</guid>
      <description>&lt;p&gt;In my experience as a programmer, I have work for different types of a company starting from small ones to relatively big. &lt;br&gt;
When working for a small company they may not have a DevOps to make the deployment and all this kind of stuff. &lt;br&gt;
And being in this company I learned on my first 6 months how to deploy a .Net Web-App in a windows server &lt;a href="https://stackify.com/iis-web-server/"&gt;IIS&lt;/a&gt; to be clear. &lt;br&gt;
And this is a question I've been asked a lot during my career. &lt;br&gt;
Here are some simple steps on how to do that: &lt;/p&gt;

&lt;h3&gt;
  
  
  1. Open solution explorer
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--_XeCicNL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/64dpkwpt5rdtb46xuwof.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--_XeCicNL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/64dpkwpt5rdtb46xuwof.png" alt="solution explorer"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  2. On the project file &lt;b&gt;Not solution file&lt;/b&gt; right click=&amp;gt; click &lt;b&gt;Publish&lt;/b&gt;
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--dbadUM6b--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/qgnkmyhye068sacs5obi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--dbadUM6b--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/qgnkmyhye068sacs5obi.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  3. On the window opened we chose &lt;strong&gt;IIS, FTP, etc&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--2fLKRfBn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/9sywn9xrb13zd9exvzjk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--2fLKRfBn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/9sywn9xrb13zd9exvzjk.png" alt="publish target"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  4. We click "Create Profile" and the next window we chose the "File System" as publish method and in the target location we chose a folder from our local PC
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--BYi2Du0q--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/c0wopti2ta3cgx25sc9d.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--BYi2Du0q--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/c0wopti2ta3cgx25sc9d.png" alt="Published method"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  5. My app is a .Net core application so the configurations in settings will be:
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--s3Ht2-Mz--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/0zejesxbr54ykcxf5taz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--s3Ht2-Mz--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/0zejesxbr54ykcxf5taz.png" alt="configurations"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And we click &lt;strong&gt;SAVE&lt;/strong&gt;&lt;br&gt;
The configuration window gets closed and next, we hit &lt;strong&gt;Publish&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  6. We copy all the files from the folder chosen on step &lt;strong&gt;4&lt;/strong&gt; and paste it to the website folder in IIS and with this, you should be done.
&lt;/h3&gt;

&lt;p&gt;Hope this helps someone. &lt;/p&gt;

</description>
      <category>csharp</category>
      <category>webdev</category>
      <category>dotnet</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
