How to solve Object reference not set to an instance of an object.?

In my asp.net program.I set one protected list.And i add a value in list.But it shows Object reference not set to an instance of an object error protected List<string> list; protected void Page_Load(object sender, EventArgs e) { list.Add("hai"); } How to solve this error? Answers: Thank you for visiting the Q&A section on Magenaut. Please … Read more

How can I get fragment value from server side?

My url is: http://localhost:4567/Test/Callback#state=test&access_token=…. But when calling Request.Url.ToString(); it just outputs http://localhost:4567/Test/Callback How can I get the full url send to the server? Answers: Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you … Read more