{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Mvc/issues/8449","repository_url":"https://api.github.com/repos/aspnet/Mvc","labels_url":"https://api.github.com/repos/aspnet/Mvc/issues/8449/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Mvc/issues/8449/comments","events_url":"https://api.github.com/repos/aspnet/Mvc/issues/8449/events","html_url":"https://github.com/aspnet/Mvc/issues/8449","id":359524632,"node_id":"MDU6SXNzdWUzNTk1MjQ2MzI=","number":8449,"title":"Httpcontext is null","user":{"login":"mattman73","id":1905566,"node_id":"MDQ6VXNlcjE5MDU1NjY=","avatar_url":"https://avatars3.githubusercontent.com/u/1905566?v=4","gravatar_id":"","url":"https://api.github.com/users/mattman73","html_url":"https://github.com/mattman73","followers_url":"https://api.github.com/users/mattman73/followers","following_url":"https://api.github.com/users/mattman73/following{/other_user}","gists_url":"https://api.github.com/users/mattman73/gists{/gist_id}","starred_url":"https://api.github.com/users/mattman73/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattman73/subscriptions","organizations_url":"https://api.github.com/users/mattman73/orgs","repos_url":"https://api.github.com/users/mattman73/repos","events_url":"https://api.github.com/users/mattman73/events{/privacy}","received_events_url":"https://api.github.com/users/mattman73/received_events","type":"User","site_admin":false},"labels":[{"id":70264664,"node_id":"MDU6TGFiZWw3MDI2NDY2NA==","url":"https://api.github.com/repos/aspnet/Mvc/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-09-12T15:05:13Z","updated_at":"2018-09-17T23:04:44Z","closed_at":null,"author_association":"NONE","body":"#### Is this a Bug or Feature request?:\r\nHelp\r\n\r\n#### Description of the problem:\r\nHi all\r\nI need some help I have been working on a way to load a page from within the program.cs file but I can not work out how this is done I have look on the web to find the answer but for the life of me, I cannot find anything that will work.\r\nWhat I'm looking to do is after a lookup I need to load the page again with an added searchstring, I have all the code doing the look up and cross-checking but I'm unable to get the code to redirect to the page again with the added searchstring.\r\nI have tried to DI the Httpcontecxt but this keeps returning null.\r\nany pointers would be great.\r\n\r\n#### Version of `Microsoft.AspNetCore.Mvc` or `Microsoft.AspNetCore.App` or `Microsoft.AspNetCore.All`:\r\nMicrosoft.aspnetcore.app 2.1.0\r\n\r\n\r\n<!--\r\n                                    --- NOTE ---\r\n1.  Try enabling logging (in the most verbose level) and see if the details help you in fixing\r\n    the issue you are seeing. Share the logs too if it helps in diagnosing the issue faster.\r\n    More info: https://docs.microsoft.com/en-us/aspnet/core/fundamentals/logging\r\n\r\n2.  If you are seeing an exception, include the full exceptions details (message and stack trace).\r\n    More info: https://docs.microsoft.com/en-us/aspnet/core/fundamentals/error-handling\r\n\r\n3.  If you believe you have an issue that affects the security of the platform please do\r\n    not create an issue, instead email your issue to 'secure@microsoft.com'. Your report may\r\n    be eligible for our bug bounty. More info: https://technet.microsoft.com/en-us/mt764065.aspx\r\n-->\r\n"},"comment":{"url":"https://api.github.com/repos/aspnet/Mvc/issues/comments/422199779","html_url":"https://github.com/aspnet/Mvc/issues/8449#issuecomment-422199779","issue_url":"https://api.github.com/repos/aspnet/Mvc/issues/8449","id":422199779,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMjE5OTc3OQ==","user":{"login":"mkArtakMSFT","id":34246760,"node_id":"MDQ6VXNlcjM0MjQ2NzYw","avatar_url":"https://avatars3.githubusercontent.com/u/34246760?v=4","gravatar_id":"","url":"https://api.github.com/users/mkArtakMSFT","html_url":"https://github.com/mkArtakMSFT","followers_url":"https://api.github.com/users/mkArtakMSFT/followers","following_url":"https://api.github.com/users/mkArtakMSFT/following{/other_user}","gists_url":"https://api.github.com/users/mkArtakMSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/mkArtakMSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkArtakMSFT/subscriptions","organizations_url":"https://api.github.com/users/mkArtakMSFT/orgs","repos_url":"https://api.github.com/users/mkArtakMSFT/repos","events_url":"https://api.github.com/users/mkArtakMSFT/events{/privacy}","received_events_url":"https://api.github.com/users/mkArtakMSFT/received_events","type":"User","site_admin":false},"created_at":"2018-09-17T23:04:44Z","updated_at":"2018-09-17T23:04:44Z","author_association":"CONTRIBUTOR","body":"Hi @mattman73.\r\nDid you get a solution to your question already? Assuming you've already posted it on StackOverflow, did you?"}}
{"actor":{"display_login":"mkArtakMSFT"}}