{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/IISIntegration/issues/105","repository_url":"https://api.github.com/repos/aspnet/IISIntegration","labels_url":"https://api.github.com/repos/aspnet/IISIntegration/issues/105/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/IISIntegration/issues/105/comments","events_url":"https://api.github.com/repos/aspnet/IISIntegration/issues/105/events","html_url":"https://github.com/aspnet/IISIntegration/issues/105","id":143614870,"number":105,"title":"HttpPlatformHandler has been replaced by ASP.NET Core Module","user":{"login":"Tratcher","id":1821173,"avatar_url":"https://avatars.githubusercontent.com/u/1821173?v=3","gravatar_id":"","url":"https://api.github.com/users/Tratcher","html_url":"https://github.com/Tratcher","followers_url":"https://api.github.com/users/Tratcher/followers","following_url":"https://api.github.com/users/Tratcher/following{/other_user}","gists_url":"https://api.github.com/users/Tratcher/gists{/gist_id}","starred_url":"https://api.github.com/users/Tratcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tratcher/subscriptions","organizations_url":"https://api.github.com/users/Tratcher/orgs","repos_url":"https://api.github.com/users/Tratcher/repos","events_url":"https://api.github.com/users/Tratcher/events{/privacy}","received_events_url":"https://api.github.com/users/Tratcher/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aspnet/IISIntegration/labels/Discussion","name":"Discussion","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/aspnet/IISIntegration/milestones/6","html_url":"https://github.com/aspnet/IISIntegration/milestones/Discussions","labels_url":"https://api.github.com/repos/aspnet/IISIntegration/milestones/6/labels","id":1666491,"number":6,"title":"Discussions","description":null,"creator":{"login":"muratg","id":1808428,"avatar_url":"https://avatars.githubusercontent.com/u/1808428?v=3","gravatar_id":"","url":"https://api.github.com/users/muratg","html_url":"https://github.com/muratg","followers_url":"https://api.github.com/users/muratg/followers","following_url":"https://api.github.com/users/muratg/following{/other_user}","gists_url":"https://api.github.com/users/muratg/gists{/gist_id}","starred_url":"https://api.github.com/users/muratg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muratg/subscriptions","organizations_url":"https://api.github.com/users/muratg/orgs","repos_url":"https://api.github.com/users/muratg/repos","events_url":"https://api.github.com/users/muratg/events{/privacy}","received_events_url":"https://api.github.com/users/muratg/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":3,"state":"open","created_at":"2016-03-25T22:26:11Z","updated_at":"2016-05-24T06:43:06Z","due_on":null,"closed_at":null},"comments":86,"created_at":"2016-03-25T22:21:22Z","updated_at":"2016-05-24T07:53:10Z","closed_at":null,"body":"## Background\r\n\r\nIn beta8 and rc1 ASP.NET Core Applications hosted in IIS employed a native IIS module, HttpPlatformHandler v1.2, to forward requests to the ASP.NET Core Kestrel Server.\r\n\r\n## What's Changing?\r\n\r\nGoing forward we're moving to the ASP.NET Core Module, a new native IIS module, to forward requests to Kestrel.\r\n\r\n## Why?\r\n\r\nWe have added Asp.Net specific features, where HttpPlatformHandler was a generic reverse forwarder.\r\n\r\n## What's new?\r\n\r\nAspNetCoreModule v0.8 is based on a fork of HttpPlatformHandler 1.2. Most viable is the rename of the module and associated config entries to avoid conflicts with the existing module. We've also fixed several [bugs](https://github.com/aspnet/iisintegration/issues?q=is%3Aissue+is%3Aopen+label%3AAspNetCoreModule+label%3A%223+-+Done%22+milestone%3A1.0.0-rc2) and added the following features:\r\n\r\n* Support for [app_offline.htm](https://github.com/aspnet/IISIntegration/issues/81)\r\n* Forward [client certificates](https://github.com/aspnet/IISIntegration/issues/27)\r\n* Unlocked [config section](https://github.com/aspnet/IISIntegration/issues/24)\r\n* Support for [sub applications](https://github.com/aspnet/IISIntegration/issues/14) in IIS\r\n\r\n## Download the new ASP.NET Core Module v0.8\r\n* [x86 Installer](http://download.microsoft.com/download/7/2/D/72DD68D5-7386-4A41-8B8F-E21779A69E33/aspnetcoremodule_x86_en.msi)\r\n* [x64 Installer](http://download.microsoft.com/download/7/2/D/72DD68D5-7386-4A41-8B8F-E21779A69E33/aspnetcoremodule_x64_en.msi)\r\n\r\n## What won't work yet?\r\n\r\nThere is no tooling support in Visual Studio yet (as of 3/25). In the meantime you'll need to use `dotnet publish` from the command line and run the application with full IIS. dotnet-publish-iis is also in the process of being updated so some manual web.config manipulation may be necessary.\r\n\r\nThe module will be deployed to Azure Web Sites in the coming weeks.\r\n\r\n## Changes to your app\r\n\r\n### New package dependency\r\n\r\nThere is a new package `Microsoft.AspNetCore.Server.IISIntegration` that contains the extension methods to work with ASP.NET Core Module. This replaces `Microsoft.AspNetCore.IISPlatformHandler`.\r\n\r\n### Changes to `Startup.cs`\r\n\r\n````csharp\r\npublic class Startup\r\n{\r\n    public void Configure(IApplicationBuilder app, ILoggerFactory loggerfactory)\r\n    {\r\n          ...\r\n          // Remove call to app.UseIISPlatformHandler(); This is handled by UseIIS in Main.\r\n          // Remove call to app.UseForwardedHeaders(); This is handled by UseIIS in Main.\r\n          ...\r\n    }\r\n\r\n    public static void Main(string[] args)\r\n    {\r\n        var host = new WebHostBuilder()\r\n            .UseDefaultConfiguration(args)\r\n            .UseServer(\"Microsoft.AspNetCore.Server.Kestrel\")\r\n            // Replaces call to UseIISPlatformHandlerUrl()\r\n            .UseIISIntegration()\r\n            .UseStartup<Startup>()\r\n            .Build();\r\n\r\n        host.Run();\r\n    }\r\n}\r\n````\r\n\r\n### Register the new `AspNetCoreModule` in your `web.config`\r\n\r\n````xml\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<configuration>\r\n  <system.webServer>\r\n    <handlers>\r\n      <add name=\"aspNetCore\" path=\"*\" verb=\"*\" modules=\"AspNetCoreModule\" resourceType=\"Unspecified\" />\r\n    </handlers>\r\n    <aspNetCore processPath=\"..\\MySite.exe\" arguments=\"\" stdoutLogEnabled=\"false\" stdoutLogFile=\"..\\logs\\stdout\" />\r\n  </system.webServer>\r\n</configuration>\r\n````\r\n"},"comment":{"url":"https://api.github.com/repos/aspnet/IISIntegration/issues/comments/221192940","html_url":"https://github.com/aspnet/IISIntegration/issues/105#issuecomment-221192940","issue_url":"https://api.github.com/repos/aspnet/IISIntegration/issues/105","id":221192940,"user":{"login":"EricSch","id":25437,"avatar_url":"https://avatars.githubusercontent.com/u/25437?v=3","gravatar_id":"","url":"https://api.github.com/users/EricSch","html_url":"https://github.com/EricSch","followers_url":"https://api.github.com/users/EricSch/followers","following_url":"https://api.github.com/users/EricSch/following{/other_user}","gists_url":"https://api.github.com/users/EricSch/gists{/gist_id}","starred_url":"https://api.github.com/users/EricSch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EricSch/subscriptions","organizations_url":"https://api.github.com/users/EricSch/orgs","repos_url":"https://api.github.com/users/EricSch/repos","events_url":"https://api.github.com/users/EricSch/events{/privacy}","received_events_url":"https://api.github.com/users/EricSch/received_events","type":"User","site_admin":false},"created_at":"2016-05-24T07:53:10Z","updated_at":"2016-05-24T07:53:10Z","body":"What is the scenario to support Windows Authentication on IIS with RC2? \r\nDo I have to use Kestrel or WebListener? How to setup? Didn't find anything actual in the doc.\r\nThanks for any help"}}
{"actor":{"display_login":"EricSch"}}