{"action":"created","comment":{"url":"https://api.github.com/repos/aspnet/Docs/pulls/comments/35101028","id":35101028,"diff_hunk":"@@ -1,8 +1,329 @@\n-.. include:: /../common/stub-topic.txt\n+OWIN\n+====\n \n-|stub-icon| OWIN\n-================\n+By `Steve Smith`_\n \n-.. include:: /../common/stub-notice.txt\n+ASP.NET 5 supports OWIN, the Open Web Interface for .NET, which allows web applications to be decoupled from web servers. In addition, OWIN defines a standard way for middleware to be used in a pipeline to handle individual requests and associated responses. ASP.NET 5 applications and middleware can interoperate with OWIN-based applications, servers, and middleware.\n \n-.. _issue: https://github.com/aspnet/Docs/issues/71\n\\ No newline at end of file\n+In this article:\n+\t- `Running OWIN middleware in the ASP.NET pipeline`_\n+\t- `Using ASP.NET Hosting on an OWIN-based server`_\n+\t- `Run ASP.NET 5 on an OWIN-based server and use its WebSockets support`_\n+\t- `OWIN keys`_\n+\n+`Browse or download samples on GitHub <https://github.com/aspnet/Docs/tree/master/docs/fundamentals/owin/sample>`_.\n+\n+Running OWIN middleware in the ASP.NET pipeline\n+-----------------------------------------------\n+\n+ASP.NET 5's OWIN support is deployed as part of the `Microsoft.AspNet.Owin <https://www.nuget.org/packages/Microsoft.AspNet.Owin/1.0.0-beta5>`_ package, and the source is in the `HttpAbstractions repository <https://github.com/aspnet/HttpAbstractions/tree/1.0.0-beta5/src/Microsoft.AspNet.Owin>`_. You can import OWIN support into your project by adding this package as a dependency in your ``project.json`` file, as shown here:\n+\n+.. literalinclude:: owin/sample/src/OwinSample/project.json\n+\t:language: javascript\n+\t:lines: 5-10\n+\t:emphasize-lines: 3\n+\n+OWIN middleware conform to the `OWIN specification <http://owin.org/spec/spec/owin-1.0.0.html>`_, which defines a ``Properties IDictionary<string, object>`` interface that must be used, and also requires certain keys be set (such as ``owin.ResponseBody``). We can construct a very simple example of middleware that follows the OWIN specification to display \"Hello World\", as shown here:\n+\n+.. literalinclude:: owin/sample/src/OwinSample/Startup.cs\n+\t:language: c#\n+\t:lines: 26-39\n+\t:dedent: 8\n+\n+In the above example, notice that the method returns a ``Task`` and accepts an ``IDictionary<string, object>`` as required by OWIN. Within the method, this parameter is used to retrieve the ``owin.ResponseBody`` and ``owin.ResponseHeaders`` objects from the environment dictionary. Once the headers are set appropriately for the content being returned, a task representing the asynchronous write to the response stream is returned.\n+\n+Adding OWIN middleware to the ASP.NET pipeline is most easily done using the ``UseOwin`` extension method. Given the ``OwinHello`` method shown above, adding it to the pipeline is a simple matter:\n+\n+.. literalinclude:: owin/sample/src/OwinSample/Startup.cs\n+\t:language: c#\n+\t:lines: 18-24\n+\t:dedent: 8\n+\n+You can of course configure other actions to take place within the OWIN pipeline. Remember that response headers should only be modified prior to the first write to the response stream, so configure your pipeline accordingly.\n+\n+.. note:: Multiple calls to ``UseOwin`` is discouraged for performance reasons. OWIN components will operate best if grouped together.\n+\n+.. code-block:: c#\n+\n+\tapp.UseOwin(pipeline =>\n+\t{\n+\t    pipeline(next =>\n+\t\t{\n+\t\t    // do something before\n+\t\t    return OwinHello;\n+\t\t    // do something after\n+\t\t});\n+\t});\n+\n+.. note:: The OWIN support in ASP.NET 5 is an evolution of the work that was done for the `Katana project <http://katanaproject.codeplex.com/>`_. Katana's ``IAppBuilder`` component has been replaced by ``IApplicationBuilder``, but if you have existing Katana-based middleware, you can use it within your ASP.NET 5 application through the use of a bridge, as shown in the `Owin.IAppBuilderBridge example on GitHub <https://github.com/aspnet/Entropy/tree/dev/samples/Owin.IAppBuilderBridge>`_. \n+\n+Using ASP.NET Hosting on an OWIN-based server\n+---------------------------------------------\n+\n+OWIN-based servers can host ASP.NET applications, since ASP.NET conforms to the OWIN specification. One such server is `Nowin <https://github.com/Bobris/Nowin>`_, a .NET OWIN web server. In the sample for this article, I've included a very simple project that references Nowin and uses it to create a simple server capable of self-hosting ASP.NET 5.\n+\n+.. literalinclude:: owin/sample/src/NowinSample/NowinServerFactory.cs\n+\t:emphasize-lines: 13,19,22,27,39\n+\t:linenos:\n+\t:language: c#\n+\n+`IServerFactory <https://github.com/aspnet/Hosting/blob/1.0.0-beta5/src/Microsoft.AspNet.Hosting.Server.Abstractions/IServerFactory.cs>`_ is an ASP.NET interface that requires an Initialize and a Start method. Initialize must return an instance of `IServerInformation <https://github.com/aspnet/Hosting/blob/1.0.0-beta5/src/Microsoft.AspNet.Hosting.Server.Abstractions/IServerInformation.cs>`_, which simply includes the server's name (but the specific implementation may provide additional functionality). In this example, the ``NowinServerInformation`` class is defined as a private class within the factory, and is returned by ``Initialize`` as required.\n+\n+``Initialize`` is responsible for configuring the server, which in this case is done through a series of fluent API calls that hard code the server to listen for requests (to any IP address) on port 5000. Note that the final line of the fluent configuration of the ``builder`` variable specifies that requests will be handled by the private method ``HandleRequest``.\n+\n+``Start`` is called after ``Initialize`` and accepts the the ``IServerInformation`` created by ``Initialize``, and a callback of type ``Func<IFeatureCollection, Task>``. This callback is assigned to a local field and is ultimately called on each request from within the private ``HandleRequest`` method (which was wired up in ``Initialize``).\n+\n+With this in place, all that's required to run an ASP.NET application using this custom server is the following command in ``project.json``:\n+\n+.. literalinclude:: owin/sample/src/NowinSample/project.json\n+\t:emphasize-lines: 14\n+\t:linenos:\n+\t:language: javascript\n+\t:lines: 1-15\n+\n+When run, this command (equivalent to running ``dnx . web`` from a command line) will search for a package called \"NowinSample\" that contains an implementation of ``IServerFactory``. If it finds one, it will initialize and start the server as detailed above. Learn more about the built-in ASP.NET :doc:`/fundamentals/servers`.\n+\n+Run ASP.NET 5 on an OWIN-based server and use its WebSockets support\n+--------------------------------------------------------------------\n+\n+Another example of how OWIN-based servers' features can be leveraged by ASP.NET 5 is access to features like WebSockets. The .NET OWIN web server used in the previous example has support for Web Sockets built in, which can be leveraged by an ASP.NET 5 application. The example below shows a simple web application that supports Web Sockets and simply echos back anything sent to the server via WebSockets.\n+\n+.. literalinclude:: owin/sample/src/NowinWebSockets/Startup.cs\n+\t:lines: 10-\n+\t:language: c#\n+\t:linenos:\n+\t:emphasize-lines: 7, 9-10\n+\t\n+This sample (`available on GitHub <https://github.com/aspnet/Docs/tree/master/docs/fundamentals/owin/sample>`_) is configured using the same ``NowinServerFactory`` as the previous one - the only difference is in how the application is configured in its ``Configure`` method. A simple test using `a simple websocket client <https://chrome.google.com/webstore/detail/simple-websocket-client/pfdhoblngboilpfeibdedpjgfnlcodoo?hl=en>`_ demonstrates that the application works as expected:\n+\n+.. image:: owin/_static/websocket-test.png\n+\n+\n+OWIN keys\n+---------\n+\n+OWIN depends heavily on an ``IDictionary<string,object>`` used to communicate information throughout an HTTP Request/Response exchange. ASP.NET 5 implements all of the required and optional keys outlined in the OWIN specification, as well as some of its own. Note that any keys not required in the OWIN specification are optional and may only be used in some scenarios. When working with OWIN keys, it's a good idea to review the list of `OWIN Key Guidelines and Common Keys <http://owin.org/spec/spec/CommonKeys.html>`_\n+\n+Request Data (OWIN v1.0.0)\n+^^^^^^^^^^^^^^^^^^^^^^^^^^\n+\n+.. list-table::\n+\t:header-rows: 1\n+\t\n+\t* - Key\n+\t  - Value (type)\n+\t  - Description\n+\t* - owin.RequestScheme\n+\t  - ``String``\n+\t  -\n+\t* - owin.RequestMethod\n+\t  - ``String``\n+\t  -\n+\t* - owin.RequestPathBase\n+\t  - ``String``\n+\t  -\n+\t* - owin.RequestPath\n+\t  - ``String``\n+\t  -\n+\t* - owin.RequestQueryString\n+\t  - ``String``\n+\t  -\n+\t* - owin.RequestProtocol\n+\t  - ``String``\n+\t  -\n+\t* - owin.RequestHeaders\n+\t  - ``IDictionary<string,string[]>``\n+\t  -\n+\t* - owin.RequestBody\n+\t  - ``Stream``\n+\t  - \n+\t \n+Request Data (OWIN v1.1.0)\n+^^^^^^^^^^^^^^^^^^^^^^^^^^\n+\n+.. list-table::\n+\t:header-rows: 1\n+\t\n+\t* - Key\n+\t  - Value (type)\n+\t  - Description\n+\t* - owin.RequestId\n+\t  - ``String``\n+\t  - Optional\n+\n+Response Data (OWIN v1.0.0)\n+^^^^^^^^^^^^^^^^^^^^^^^^^^\n+\n+.. list-table::\n+\t:header-rows: 1\n+\t\n+\t* - Key\n+\t  - Value (type)\n+\t  - Description\n+\t* - owin.ResponseStatusCode\n+\t  - ``int``\n+\t  - Optional\n+\t* - owin.ResponseReasonPhrase\n+\t  - ``String``\n+\t  - Optional\n+\t* - owin.ResponseHeaders\n+\t  - ``IDictionary<string,string[]>``\n+\t  - \n+\t* - owin.ResponseBody\n+\t  - ``Stream``\n+\t  -\n+\n+Other Data (OWIN v1.0.0)\n+^^^^^^^^^^^^^^^^^^^^^^^^^^\n+\n+.. list-table::\n+\t:header-rows: 1\n+\t\n+\t* - Key\n+\t  - Value (type)\n+\t  - Description\n+\t* - owin.CallCancelled\n+\t  - ``CancellationToken``\n+\t  -\n+\t* - owin.Version\n+\t  - ``String``\n+\t  -\n+\n+Common Keys\n+^^^^^^^^^^^\n+\n+.. list-table::\n+\t:header-rows: 1\n+\t\n+\t* - Key\n+\t  - Value (type)\n+\t  - Description\n+\t* - ssl.ClientCertificate\n+\t  - ``X509Certificate``\n+\t  -\n+\t* - ssl.LoadClientCertAsync\n+\t  - ``Func<Task>``\n+\t  -\n+\t* - server.RemoteIpAddress\n+\t  - ``String``\n+\t  -\n+\t* - server.RemotePort\n+\t  - ``String``\n+\t  -\n+\t* - server.LocalIpAddress\n+\t  - ``String``\n+\t  -\n+\t* - server.LocalPort\n+\t  - ``String``\n+\t  -\n+\t* - server.IsLocal\n+\t  - ``bool``\n+\t  -\n+\t* - server.OnSendingHeaders\n+\t  - ``Action<Action<object>,object>``\n+\t  -\n+\t* - host.AppName","path":"aspnet/fundamentals/owin.rst","position":231,"original_position":231,"commit_id":"d1667a9999d513d36d119bdfc04324b156d99f3f","original_commit_id":"d1667a9999d513d36d119bdfc04324b156d99f3f","user":{"login":"ardalis","id":782127,"avatar_url":"https://avatars.githubusercontent.com/u/782127?v=3","gravatar_id":"","url":"https://api.github.com/users/ardalis","html_url":"https://github.com/ardalis","followers_url":"https://api.github.com/users/ardalis/followers","following_url":"https://api.github.com/users/ardalis/following{/other_user}","gists_url":"https://api.github.com/users/ardalis/gists{/gist_id}","starred_url":"https://api.github.com/users/ardalis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ardalis/subscriptions","organizations_url":"https://api.github.com/users/ardalis/orgs","repos_url":"https://api.github.com/users/ardalis/repos","events_url":"https://api.github.com/users/ardalis/events{/privacy}","received_events_url":"https://api.github.com/users/ardalis/received_events","type":"User","site_admin":false},"body":"Fixed","created_at":"2015-07-21T13:29:28Z","updated_at":"2015-07-21T13:29:28Z","html_url":"https://github.com/aspnet/Docs/pull/341#discussion_r35101028","pull_request_url":"https://api.github.com/repos/aspnet/Docs/pulls/341","_links":{"self":{"href":"https://api.github.com/repos/aspnet/Docs/pulls/comments/35101028"},"html":{"href":"https://github.com/aspnet/Docs/pull/341#discussion_r35101028"},"pull_request":{"href":"https://api.github.com/repos/aspnet/Docs/pulls/341"}}},"pull_request":{"url":"https://api.github.com/repos/aspnet/Docs/pulls/341","id":40130450,"html_url":"https://github.com/aspnet/Docs/pull/341","diff_url":"https://github.com/aspnet/Docs/pull/341.diff","patch_url":"https://github.com/aspnet/Docs/pull/341.patch","issue_url":"https://api.github.com/repos/aspnet/Docs/issues/341","number":341,"state":"open","locked":false,"title":"Owin","user":{"login":"ardalis","id":782127,"avatar_url":"https://avatars.githubusercontent.com/u/782127?v=3","gravatar_id":"","url":"https://api.github.com/users/ardalis","html_url":"https://github.com/ardalis","followers_url":"https://api.github.com/users/ardalis/followers","following_url":"https://api.github.com/users/ardalis/following{/other_user}","gists_url":"https://api.github.com/users/ardalis/gists{/gist_id}","starred_url":"https://api.github.com/users/ardalis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ardalis/subscriptions","organizations_url":"https://api.github.com/users/ardalis/orgs","repos_url":"https://api.github.com/users/ardalis/repos","events_url":"https://api.github.com/users/ardalis/events{/privacy}","received_events_url":"https://api.github.com/users/ardalis/received_events","type":"User","site_admin":false},"body":"Fixes #71 \r\n@Tratcher please review and we can fix/add anything I've missed via PR convo","created_at":"2015-07-16T13:44:45Z","updated_at":"2015-07-21T13:29:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5dde01c8ce71063bd851e53ca8abf9ecff99ff62","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/aspnet/Docs/pulls/341/commits","review_comments_url":"https://api.github.com/repos/aspnet/Docs/pulls/341/comments","review_comment_url":"https://api.github.com/repos/aspnet/Docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aspnet/Docs/issues/341/comments","statuses_url":"https://api.github.com/repos/aspnet/Docs/statuses/d1667a9999d513d36d119bdfc04324b156d99f3f","head":{"label":"aspnet:owin","ref":"owin","sha":"d1667a9999d513d36d119bdfc04324b156d99f3f","user":{"login":"aspnet","id":6476660,"avatar_url":"https://avatars.githubusercontent.com/u/6476660?v=3","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"repo":{"id":28239455,"name":"Docs","full_name":"aspnet/Docs","owner":{"login":"aspnet","id":6476660,"avatar_url":"https://avatars.githubusercontent.com/u/6476660?v=3","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aspnet/Docs","description":"Documentation for ASP.NET 5","fork":false,"url":"https://api.github.com/repos/aspnet/Docs","forks_url":"https://api.github.com/repos/aspnet/Docs/forks","keys_url":"https://api.github.com/repos/aspnet/Docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aspnet/Docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aspnet/Docs/teams","hooks_url":"https://api.github.com/repos/aspnet/Docs/hooks","issue_events_url":"https://api.github.com/repos/aspnet/Docs/issues/events{/number}","events_url":"https://api.github.com/repos/aspnet/Docs/events","assignees_url":"https://api.github.com/repos/aspnet/Docs/assignees{/user}","branches_url":"https://api.github.com/repos/aspnet/Docs/branches{/branch}","tags_url":"https://api.github.com/repos/aspnet/Docs/tags","blobs_url":"https://api.github.com/repos/aspnet/Docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aspnet/Docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aspnet/Docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/aspnet/Docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aspnet/Docs/statuses/{sha}","languages_url":"https://api.github.com/repos/aspnet/Docs/languages","stargazers_url":"https://api.github.com/repos/aspnet/Docs/stargazers","contributors_url":"https://api.github.com/repos/aspnet/Docs/contributors","subscribers_url":"https://api.github.com/repos/aspnet/Docs/subscribers","subscription_url":"https://api.github.com/repos/aspnet/Docs/subscription","commits_url":"https://api.github.com/repos/aspnet/Docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/aspnet/Docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/aspnet/Docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/aspnet/Docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/aspnet/Docs/contents/{+path}","compare_url":"https://api.github.com/repos/aspnet/Docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aspnet/Docs/merges","archive_url":"https://api.github.com/repos/aspnet/Docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aspnet/Docs/downloads","issues_url":"https://api.github.com/repos/aspnet/Docs/issues{/number}","pulls_url":"https://api.github.com/repos/aspnet/Docs/pulls{/number}","milestones_url":"https://api.github.com/repos/aspnet/Docs/milestones{/number}","notifications_url":"https://api.github.com/repos/aspnet/Docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aspnet/Docs/labels{/name}","releases_url":"https://api.github.com/repos/aspnet/Docs/releases{/id}","created_at":"2014-12-19T17:38:02Z","updated_at":"2015-07-21T10:02:34Z","pushed_at":"2015-07-20T10:06:51Z","git_url":"git://github.com/aspnet/Docs.git","ssh_url":"git@github.com:aspnet/Docs.git","clone_url":"https://github.com/aspnet/Docs.git","svn_url":"https://github.com/aspnet/Docs","homepage":null,"size":23822,"stargazers_count":136,"watchers_count":136,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":119,"mirror_url":null,"open_issues_count":152,"forks":119,"open_issues":152,"watchers":136,"default_branch":"master"}},"base":{"label":"aspnet:master","ref":"master","sha":"00d525bbc1cb4474012ca27306be77279e437b77","user":{"login":"aspnet","id":6476660,"avatar_url":"https://avatars.githubusercontent.com/u/6476660?v=3","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"repo":{"id":28239455,"name":"Docs","full_name":"aspnet/Docs","owner":{"login":"aspnet","id":6476660,"avatar_url":"https://avatars.githubusercontent.com/u/6476660?v=3","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aspnet/Docs","description":"Documentation for ASP.NET 5","fork":false,"url":"https://api.github.com/repos/aspnet/Docs","forks_url":"https://api.github.com/repos/aspnet/Docs/forks","keys_url":"https://api.github.com/repos/aspnet/Docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aspnet/Docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aspnet/Docs/teams","hooks_url":"https://api.github.com/repos/aspnet/Docs/hooks","issue_events_url":"https://api.github.com/repos/aspnet/Docs/issues/events{/number}","events_url":"https://api.github.com/repos/aspnet/Docs/events","assignees_url":"https://api.github.com/repos/aspnet/Docs/assignees{/user}","branches_url":"https://api.github.com/repos/aspnet/Docs/branches{/branch}","tags_url":"https://api.github.com/repos/aspnet/Docs/tags","blobs_url":"https://api.github.com/repos/aspnet/Docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aspnet/Docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aspnet/Docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/aspnet/Docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aspnet/Docs/statuses/{sha}","languages_url":"https://api.github.com/repos/aspnet/Docs/languages","stargazers_url":"https://api.github.com/repos/aspnet/Docs/stargazers","contributors_url":"https://api.github.com/repos/aspnet/Docs/contributors","subscribers_url":"https://api.github.com/repos/aspnet/Docs/subscribers","subscription_url":"https://api.github.com/repos/aspnet/Docs/subscription","commits_url":"https://api.github.com/repos/aspnet/Docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/aspnet/Docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/aspnet/Docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/aspnet/Docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/aspnet/Docs/contents/{+path}","compare_url":"https://api.github.com/repos/aspnet/Docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aspnet/Docs/merges","archive_url":"https://api.github.com/repos/aspnet/Docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aspnet/Docs/downloads","issues_url":"https://api.github.com/repos/aspnet/Docs/issues{/number}","pulls_url":"https://api.github.com/repos/aspnet/Docs/pulls{/number}","milestones_url":"https://api.github.com/repos/aspnet/Docs/milestones{/number}","notifications_url":"https://api.github.com/repos/aspnet/Docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aspnet/Docs/labels{/name}","releases_url":"https://api.github.com/repos/aspnet/Docs/releases{/id}","created_at":"2014-12-19T17:38:02Z","updated_at":"2015-07-21T10:02:34Z","pushed_at":"2015-07-20T10:06:51Z","git_url":"git://github.com/aspnet/Docs.git","ssh_url":"git@github.com:aspnet/Docs.git","clone_url":"https://github.com/aspnet/Docs.git","svn_url":"https://github.com/aspnet/Docs","homepage":null,"size":23822,"stargazers_count":136,"watchers_count":136,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":119,"mirror_url":null,"open_issues_count":152,"forks":119,"open_issues":152,"watchers":136,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aspnet/Docs/pulls/341"},"html":{"href":"https://github.com/aspnet/Docs/pull/341"},"issue":{"href":"https://api.github.com/repos/aspnet/Docs/issues/341"},"comments":{"href":"https://api.github.com/repos/aspnet/Docs/issues/341/comments"},"review_comments":{"href":"https://api.github.com/repos/aspnet/Docs/pulls/341/comments"},"review_comment":{"href":"https://api.github.com/repos/aspnet/Docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aspnet/Docs/pulls/341/commits"},"statuses":{"href":"https://api.github.com/repos/aspnet/Docs/statuses/d1667a9999d513d36d119bdfc04324b156d99f3f"}}}}