{"action":"opened","issue":{"url":"https://api.github.com/repos/aspnet/Tooling/issues/222","labels_url":"https://api.github.com/repos/aspnet/Tooling/issues/222/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Tooling/issues/222/comments","events_url":"https://api.github.com/repos/aspnet/Tooling/issues/222/events","html_url":"https://github.com/aspnet/Tooling/issues/222","id":111776678,"number":222,"title":"Ultimate NIT: httpPlatform element for DotNetConfig.xsd","user":{"login":"GuardRex","id":1622880,"avatar_url":"https://avatars.githubusercontent.com/u/1622880?v=3","gravatar_id":"","url":"https://api.github.com/users/GuardRex","html_url":"https://github.com/GuardRex","followers_url":"https://api.github.com/users/GuardRex/followers","following_url":"https://api.github.com/users/GuardRex/following{/other_user}","gists_url":"https://api.github.com/users/GuardRex/gists{/gist_id}","starred_url":"https://api.github.com/users/GuardRex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuardRex/subscriptions","organizations_url":"https://api.github.com/users/GuardRex/orgs","repos_url":"https://api.github.com/users/GuardRex/repos","events_url":"https://api.github.com/users/GuardRex/events{/privacy}","received_events_url":"https://api.github.com/users/GuardRex/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-16T07:32:31Z","updated_at":"2015-10-16T07:32:31Z","closed_at":null,"body":"Here's a nit if there ever was one. The `httpPlatform` element isn't part of ...\r\n```\r\nC:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Xml\\Schemas\\1033\\DotNetConfig.xsd\r\n```\r\n... so you get a case of McSquiggles ...\r\n\r\n![capture](https://cloud.githubusercontent.com/assets/1622880/10535925/9b4d9d22-73ac-11e5-8645-6208cff0fa8d.PNG)\r\n\r\nAn added section to `system.webServer` will take care of that ...\r\n```\r\n<xs:element name=\"httpPlatform\" vs:help=\"configuration/system.webServer/httpPlatform\">\r\n  <xs:complexType>\r\n    <xs:attribute name=\"arguments\" type=\"xs:string\" use=\"optional\" vs:help=\"configuration/system.webServer/httpPlatform/arguments\" />\r\n    <xs:attribute name=\"processPath\" type=\"xs:string\" use=\"required\" vs:help=\"configuration/system.webServer/httpPlatform/processPath\" />\r\n    <xs:attribute name=\"stdoutLogEnabled\" type=\"small_boolean_Type\" use=\"required\" vs:help=\"configuration/system.webServer/httpPlatform/stdoutLogEnabled\" />\r\n    <xs:attribute name=\"startupTimeLimit\" use=\"required\" vs:help=\"configuration/system.webServer/httpPlatform/startupTimeLimit\">\r\n      <xs:simpleType>\r\n        <xs:restriction base=\"xs:int\">\r\n          <xs:minInclusive value=\"1\" />\r\n          <xs:maxInclusive value=\"99999\" />\r\n        </xs:restriction>\r\n      </xs:simpleType>\r\n    </xs:attribute>\r\n    <xs:anyAttribute namespace=\"http://schemas.microsoft.com/XML-Document-Transform\" processContents=\"strict\" />\r\n  </xs:complexType>\r\n</xs:element>\r\n```\r\nAlphabetize the attributes for the ultimate \"retentiveness\" ...\r\n```xml\r\n<configuration>\r\n  <system.webServer>\r\n    <handlers>\r\n      <add \r\n        modules=\"httpPlatformHandler\"\r\n        name=\"httpPlatformHandler\"\r\n        path=\"*\"\r\n        resourceType=\"Unspecified\"\r\n        verb=\"*\" />\r\n    </handlers>\r\n    <httpPlatform \r\n      arguments=\"%DNX_ARGS%\"\r\n      processPath=\"%DNX_PATH%\"\r\n      startupTimeLimit=\"3600\"\r\n      stdoutLogEnabled=\"false\" />\r\n  </system.webServer>\r\n</configuration>\r\n```"}}