{"action":"created","issue":{"url":"https://api.github.com/repos/intellifactory/websharper.owin/issues/5","labels_url":"https://api.github.com/repos/intellifactory/websharper.owin/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/intellifactory/websharper.owin/issues/5/comments","events_url":"https://api.github.com/repos/intellifactory/websharper.owin/issues/5/events","html_url":"https://github.com/intellifactory/websharper.owin/pull/5","id":68257738,"number":5,"title":"Avoid re-initializing Remoting and Sitelet middleware on every call","user":{"login":"ca-ta","id":7034426,"avatar_url":"https://avatars.githubusercontent.com/u/7034426?v=3","gravatar_id":"","url":"https://api.github.com/users/ca-ta","html_url":"https://github.com/ca-ta","followers_url":"https://api.github.com/users/ca-ta/followers","following_url":"https://api.github.com/users/ca-ta/following{/other_user}","gists_url":"https://api.github.com/users/ca-ta/gists{/gist_id}","starred_url":"https://api.github.com/users/ca-ta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ca-ta/subscriptions","organizations_url":"https://api.github.com/users/ca-ta/orgs","repos_url":"https://api.github.com/users/ca-ta/repos","events_url":"https://api.github.com/users/ca-ta/events{/privacy}","received_events_url":"https://api.github.com/users/ca-ta/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-14T04:17:25Z","updated_at":"2015-04-14T22:48:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/intellifactory/websharper.owin/pulls/5","html_url":"https://github.com/intellifactory/websharper.owin/pull/5","diff_url":"https://github.com/intellifactory/websharper.owin/pull/5.diff","patch_url":"https://github.com/intellifactory/websharper.owin/pull/5.patch"},"body":"Fixes #4"},"comment":{"url":"https://api.github.com/repos/intellifactory/websharper.owin/issues/comments/93101173","html_url":"https://github.com/intellifactory/websharper.owin/pull/5#issuecomment-93101173","issue_url":"https://api.github.com/repos/intellifactory/websharper.owin/issues/5","id":93101173,"user":{"login":"ca-ta","id":7034426,"avatar_url":"https://avatars.githubusercontent.com/u/7034426?v=3","gravatar_id":"","url":"https://api.github.com/users/ca-ta","html_url":"https://github.com/ca-ta","followers_url":"https://api.github.com/users/ca-ta/followers","following_url":"https://api.github.com/users/ca-ta/following{/other_user}","gists_url":"https://api.github.com/users/ca-ta/gists{/gist_id}","starred_url":"https://api.github.com/users/ca-ta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ca-ta/subscriptions","organizations_url":"https://api.github.com/users/ca-ta/orgs","repos_url":"https://api.github.com/users/ca-ta/repos","events_url":"https://api.github.com/users/ca-ta/events{/privacy}","received_events_url":"https://api.github.com/users/ca-ta/received_events","type":"User","site_admin":false},"created_at":"2015-04-14T22:48:09Z","updated_at":"2015-04-14T22:48:09Z","body":"@Tarmil Loïc,\r\nThank you - I have taken a look at the changes and I have a couple of questions:\r\n* I haven't been able to locate the definition of ```Server.WithContext``` - are there any missing changes?\r\n* I think that ```UseWebSharperRemoting(webRoot: string, ?binDirectory: string)``` (which I happen to be using) still results in the metadata being loaded and server being created on every call. I think the pattern that you used with ```UseSitelet(webRoot: string, sitelet, ?binDirectory)``` and ```SiteletMiddleware.AsMidFunc(webRoot: string, ?binDirectory: string)``` could be used in this case as well."}}