{"id":1331,"date":"2016-02-17T16:26:07","date_gmt":"2016-02-17T05:26:07","guid":{"rendered":"http:\/\/ntsblog.homedev.com.au\/?p=1331"},"modified":"2016-02-17T16:26:07","modified_gmt":"2016-02-17T05:26:07","slug":"tricks-setting-wcf-service-hosted-iis","status":"publish","type":"post","link":"https:\/\/ntsblog.homedev.com.au\/index.php\/2016\/02\/17\/tricks-setting-wcf-service-hosted-iis\/","title":{"rendered":"Tricks to setting up WCF Service hosted on IIS"},"content":{"rendered":"<div id=\"ntsbl-2211418296\" class=\"ntsbl-before-content ntsbl-entity-placement\"><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-6288941070289539\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:inline-block;width:728px;height:90px;\" \ndata-ad-client=\"ca-pub-6288941070289539\" \ndata-ad-slot=\"9356781486\"><\/ins> \n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div><p>The following is a short checklist of items to consider when trying to deploy a WCF Service to an IIS server.<\/p>\n<p>These instructions are for a windows server box<\/p>\n<ol>\n<li>Ensure that you have the required level of .Net installed first<\/li>\n<li>Install the following roles &#8211; Application Server \/ Web Server and choose all the default options when prompted<\/li>\n<li>Check the ISAPI and CGI Restrictions and ensure .net framework 4.0.3 is installed and set to allowed<\/li>\n<li>If not you need to open a cmd window and go to c:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319\\ and run &#8220;aspnet_regiis -i&#8221;\n<li>My service writes to a log file. Make sure the user that runs the application pool for the website has write access to the folder where the log file will be written<\/li>\n<\/ol>\n<p>If you need to set up HTTPS then do the following<\/p>\n<ol>\n<li>In IIS Manager on the entire server double-click Server Certificates<\/li>\n<li>Create Self Signed Certificate, give it a name<\/li>\n<li>Create a https binding on a port<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>The following is a short checklist of items to consider when trying to deploy a WCF Service to an IIS server. These instructions are for [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1331","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ntsblog.homedev.com.au\/index.php\/wp-json\/wp\/v2\/posts\/1331","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ntsblog.homedev.com.au\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ntsblog.homedev.com.au\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ntsblog.homedev.com.au\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ntsblog.homedev.com.au\/index.php\/wp-json\/wp\/v2\/comments?post=1331"}],"version-history":[{"count":0,"href":"https:\/\/ntsblog.homedev.com.au\/index.php\/wp-json\/wp\/v2\/posts\/1331\/revisions"}],"wp:attachment":[{"href":"https:\/\/ntsblog.homedev.com.au\/index.php\/wp-json\/wp\/v2\/media?parent=1331"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ntsblog.homedev.com.au\/index.php\/wp-json\/wp\/v2\/categories?post=1331"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ntsblog.homedev.com.au\/index.php\/wp-json\/wp\/v2\/tags?post=1331"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}