{"id":40776,"date":"2016-09-30T10:23:58","date_gmt":"2016-09-30T04:53:58","guid":{"rendered":"http:\/\/www.tothenew.com\/blog\/?p=40776"},"modified":"2016-09-30T10:32:50","modified_gmt":"2016-09-30T05:02:50","slug":"configuring-iis-for-asp-net-application-windows-2012","status":"publish","type":"post","link":"https:\/\/www.tothenew.com\/blog\/configuring-iis-for-asp-net-application-windows-2012\/","title":{"rendered":"Configuring IIS for ASP.net Application &#8211; Windows 2012"},"content":{"rendered":"<p>This blog aims at basic steps for setting up ASP application(Website) on IIS. The screenshot and steps are mentioned using Windows 2012 server edition. However, the same steps are also valid for Windows 2008 Server. We will be installing .Net 3.5 and 4.5 during the further steps.<\/p>\n<h3>Steps To Follow<\/h3>\n<p><strong>1<\/strong>. Open Server Manager and click add roles:<br \/>\n<img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-40781 size-full\" src=\"\/blog\/wp-ttn-blog\/uploads\/2016\/09\/iis-80-using-aspnet-35-and-aspnet-45-1097-image001.png\" alt=\"iis-80-using-aspnet-35-and-aspnet-45-1097-image001\" width=\"886\" height=\"630\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2016\/09\/iis-80-using-aspnet-35-and-aspnet-45-1097-image001.png 886w, \/blog\/wp-ttn-blog\/uploads\/2016\/09\/iis-80-using-aspnet-35-and-aspnet-45-1097-image001-300x213.png 300w, \/blog\/wp-ttn-blog\/uploads\/2016\/09\/iis-80-using-aspnet-35-and-aspnet-45-1097-image001-624x443.png 624w\" sizes=\"(max-width: 886px) 100vw, 886px\" \/><\/p>\n<p><strong>2. <\/strong>On the first screen of &#8220;<strong>Add Roles and Features Wizard<\/strong>&#8221;\u00a0 select\u00a0 &#8221; <strong>Role-bases of feature based installation&#8221;: <\/strong><br \/>\n<img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-40793 size-full\" src=\"\/blog\/wp-ttn-blog\/uploads\/2016\/09\/iis-80-using-aspnet-35-and-aspnet-45-1097-image003.png\" alt=\"iis-80-using-aspnet-35-and-aspnet-45-1097-image003\" width=\"775\" height=\"565\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2016\/09\/iis-80-using-aspnet-35-and-aspnet-45-1097-image003.png 775w, \/blog\/wp-ttn-blog\/uploads\/2016\/09\/iis-80-using-aspnet-35-and-aspnet-45-1097-image003-300x218.png 300w, \/blog\/wp-ttn-blog\/uploads\/2016\/09\/iis-80-using-aspnet-35-and-aspnet-45-1097-image003-624x454.png 624w\" sizes=\"(max-width: 775px) 100vw, 775px\" \/><\/p>\n<p><strong>3.<\/strong> Click <strong>Next<\/strong>. The next screen\u00a0requires confirmation for the server\/roles being installed. Scroll down the list and select <strong>Web Server (IIS):<\/strong><br \/>\n<img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-40792 size-full\" src=\"\/blog\/wp-ttn-blog\/uploads\/2016\/09\/iis-80-using-aspnet-35-and-aspnet-45-1097-image005.png\" alt=\"iis-80-using-aspnet-35-and-aspnet-45-1097-image005\" width=\"771\" height=\"636\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2016\/09\/iis-80-using-aspnet-35-and-aspnet-45-1097-image005.png 771w, \/blog\/wp-ttn-blog\/uploads\/2016\/09\/iis-80-using-aspnet-35-and-aspnet-45-1097-image005-300x247.png 300w, \/blog\/wp-ttn-blog\/uploads\/2016\/09\/iis-80-using-aspnet-35-and-aspnet-45-1097-image005-624x514.png 624w\" sizes=\"(max-width: 771px) 100vw, 771px\" \/><\/p>\n<p><strong>4. <\/strong>Click <strong>Next. <\/strong>On the next screen select the following options as shown in the figure below:<br \/>\n<img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-40791 size-full\" src=\"\/blog\/wp-ttn-blog\/uploads\/2016\/09\/iis-80-using-aspnet-35-and-aspnet-45-1097-image007.png\" alt=\"iis-80-using-aspnet-35-and-aspnet-45-1097-image007\" width=\"772\" height=\"637\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2016\/09\/iis-80-using-aspnet-35-and-aspnet-45-1097-image007.png 772w, \/blog\/wp-ttn-blog\/uploads\/2016\/09\/iis-80-using-aspnet-35-and-aspnet-45-1097-image007-300x247.png 300w, \/blog\/wp-ttn-blog\/uploads\/2016\/09\/iis-80-using-aspnet-35-and-aspnet-45-1097-image007-624x514.png 624w\" sizes=\"(max-width: 772px) 100vw, 772px\" \/><\/p>\n<p>Now, scroll down further and select the roles\/services as shown below:<br \/>\n<img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-40788 size-full\" src=\"\/blog\/wp-ttn-blog\/uploads\/2016\/09\/iis-80-using-aspnet-35-and-aspnet-45-1097-smasp4.5.jpg\" alt=\"iis-80-using-aspnet-35-and-aspnet-45-1097-smasp4.5\" width=\"775\" height=\"564\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2016\/09\/iis-80-using-aspnet-35-and-aspnet-45-1097-smasp4.5.jpg 775w, \/blog\/wp-ttn-blog\/uploads\/2016\/09\/iis-80-using-aspnet-35-and-aspnet-45-1097-smasp4.5-300x218.jpg 300w, \/blog\/wp-ttn-blog\/uploads\/2016\/09\/iis-80-using-aspnet-35-and-aspnet-45-1097-smasp4.5-624x454.jpg 624w\" sizes=\"(max-width: 775px) 100vw, 775px\" \/><\/p>\n<p><strong>5. <\/strong>Click\u00a0 <strong>Next. <\/strong>Next screen asks for confirmation and shows a list of services\/roles selected during the previous screens:<br \/>\n<img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-40787 size-full\" src=\"\/blog\/wp-ttn-blog\/uploads\/2016\/09\/iis-80-using-aspnet-35-and-aspnet-45-1097-confirmnew.jpg\" alt=\"iis-80-using-aspnet-35-and-aspnet-45-1097-confirmnew\" width=\"773\" height=\"567\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2016\/09\/iis-80-using-aspnet-35-and-aspnet-45-1097-confirmnew.jpg 773w, \/blog\/wp-ttn-blog\/uploads\/2016\/09\/iis-80-using-aspnet-35-and-aspnet-45-1097-confirmnew-300x220.jpg 300w, \/blog\/wp-ttn-blog\/uploads\/2016\/09\/iis-80-using-aspnet-35-and-aspnet-45-1097-confirmnew-624x457.jpg 624w\" sizes=\"(max-width: 773px) 100vw, 773px\" \/><\/p>\n<p><strong>6. <\/strong>Click <strong>Install <\/strong> and wait for the installation wizard to complete:<br \/>\n<img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-40785 size-full\" src=\"\/blog\/wp-ttn-blog\/uploads\/2016\/09\/iis-80-using-aspnet-35-and-aspnet-45-1097-image019.png\" alt=\"iis-80-using-aspnet-35-and-aspnet-45-1097-image019\" width=\"777\" height=\"564\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2016\/09\/iis-80-using-aspnet-35-and-aspnet-45-1097-image019.png 777w, \/blog\/wp-ttn-blog\/uploads\/2016\/09\/iis-80-using-aspnet-35-and-aspnet-45-1097-image019-300x217.png 300w, \/blog\/wp-ttn-blog\/uploads\/2016\/09\/iis-80-using-aspnet-35-and-aspnet-45-1097-image019-624x452.png 624w\" sizes=\"(max-width: 777px) 100vw, 777px\" \/><br \/>\nNow, you can <strong>Close <\/strong> and exit the wizard.<\/p>\n<h3>Now,\u00a0let us open <strong>IIS <\/strong> and configure a site:<\/h3>\n<p><strong>1.<\/strong> Press Window key<img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-40794\" src=\"\/blog\/wp-ttn-blog\/uploads\/2016\/09\/index.jpeg\" alt=\"index\" width=\"48\" height=\"38\" \/> and type <strong>IIS.\u00a0 <\/strong>The search will show Internet information services (IIS) Manager. Click and open the IIS\u00a0 Manager.<\/p>\n<p><strong>2. <\/strong>Expand the server to the node labeled as <strong>Sites. <\/strong>Now click <strong>Add Website <\/strong>on the top right corner:<br \/>\n<img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-40795 \" src=\"\/blog\/wp-ttn-blog\/uploads\/2016\/09\/how-to-install-and-configure-IIS-on-Windows-Server-2012-R2-13.png\" alt=\"how-to-install-and-configure-IIS-on-Windows-Server-2012-R2-13\" width=\"755\" height=\"564\" \/><\/p>\n<p><strong>3. <\/strong>Provide the values in the next window and click ok:<br \/>\n<img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-40797 \" src=\"\/blog\/wp-ttn-blog\/uploads\/2016\/09\/how-to-install-and-configure-IIS-on-Windows-Server-2012-R2-14.png\" alt=\"how-to-install-and-configure-IIS-on-Windows-Server-2012-R2-14\" width=\"755\" height=\"564\" \/><\/p>\n<p>Now, the basic setup is done and you can access the site by browsing the server over your instance&#8217;s public IP.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This blog aims at basic steps for setting up ASP application(Website) on IIS. The screenshot and steps are mentioned using Windows 2012 server edition. However, the same steps are also valid for Windows 2008 Server. We will be installing .Net 3.5 and 4.5 during the further steps. Steps To Follow 1. Open Server Manager and [&hellip;]<\/p>\n","protected":false},"author":563,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":6},"categories":[1174,2348,1],"tags":[1440,248,1441,472,4042],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/40776"}],"collection":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/users\/563"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/comments?post=40776"}],"version-history":[{"count":0,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/40776\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/media?parent=40776"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/categories?post=40776"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/tags?post=40776"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}