<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Richard Haines on Medium]]></title>
        <description><![CDATA[Stories by Richard Haines on Medium]]></description>
        <link>https://medium.com/@richardhaines_6992?source=rss-19a6ab78e73b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*_rFAWNRcVxcW1DZe.</url>
            <title>Stories by Richard Haines on Medium</title>
            <link>https://medium.com/@richardhaines_6992?source=rss-19a6ab78e73b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 12:02:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@richardhaines_6992/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Hosting a create-react-app on IIS]]></title>
            <link>https://medium.com/@richardhaines_6992/hosting-a-create-react-app-on-iis-e8be9a1f0a86?source=rss-19a6ab78e73b------2</link>
            <guid isPermaLink="false">https://medium.com/p/e8be9a1f0a86</guid>
            <category><![CDATA[react]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[isis]]></category>
            <category><![CDATA[create-react-app]]></category>
            <category><![CDATA[aspnetcore]]></category>
            <dc:creator><![CDATA[Richard Haines]]></dc:creator>
            <pubDate>Fri, 21 Sep 2018 18:41:18 GMT</pubDate>
            <atom:updated>2018-09-21T18:41:18.091Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KsQXuC_NloAk-w4eKIoi0w.jpeg" /></figure><p>This is a brief explanation for how to get a create-react-app up and running on IIS server. I have read many answers on stackoverflow and seen many different ways to handle this. I needed to do this for a project and want to share what i did to get things working.</p><p>This is not an explanation for how React works, or for how IIS works, this is for anyone looking to get their app up and running on IIS.</p><p>So down to the nitty gritty of it then!</p><p>To keep things simple i will take this from the point of view of starting a new app from scratch, but these steps apply to those that have a react app setup/tested and ready for deployment also.</p><p>Open your terminal and (assuming you have create-react-app installed: <a href="https://github.com/facebook/create-react-app?files=1">https://github.com/facebook/create-react-app?files=1</a>) type create-react-app (name of your app here)</p><p>Wait for it to grab all the dependencies and then hit yarn (or npm) build.</p><p>Open IIS manager and create a new website.</p><p>Point it at your build folder that was created when you hit yarn/npm build.</p><p>Create a new application pool with No Manged Code then right click that app pool and select advanced settings. From there scroll down to Process Model and select Identity.</p><p>Select custom and enter your windows credentials.</p><p>If this doesn’t work you may need to enable read/write access to the files so right click on the website and select edit permissions.</p><p>Go to Security and hit edit, select Authenticated Users and on the bottom of the dialog check the modify/full control /read/write boxes where applicable. Do the same for your windows user that should be listed under Groups or user names section. Hit apply/save.</p><p>I assume that you know how to set up ip addresses and the like. For testing purposes you can right click the newly created website and got to Manage Website then browse.</p><p>You should now see your react app!</p><p>That’s the simple version. At the end of the day there are lots of opinions about if you should even consider hosting a react app on IIS when there are so many *better* alternatives out there. But if you had created a back end API with ASP.NET Core like i had and you wanted to keep your front-end project close by then maybe this will solve a few problems for you.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e8be9a1f0a86" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>