Way to Deserialize JSON from HttpWebResponse without 3rd party frameworks

I’m trying to keep from depending on open source or third party libraries such as Json.NET to parse incoming JSON from an HttpWebResponse. Why? Because the more reliance on open source frameworks to aid in your implementations, the more your app has to rely on those dependencies…I don’t like my apps to be depenent on a lot of libraries for many reasons if at all possible. I’m ok with using stuff like Enterprise Library because it’s supported by MS but I’m taking more open source libraries.

Loading user controls dynamically

How to load a user control dynamically in a page?
I have a page that contains radioButtons. Each click on a radio button loads a user control (.ascx) in the page.
What I am doing is loading all controls at the same time, but set their visibility to false. When a user clicks a radiobutton I set the visibility of the specific user control to true.
As a result I am loading all the user controls on each postback.
Is there any other possible way of doing this?

ASP.NET Core 404 Error When Published to IIS 7.5

I’m using Visual Studio 2015 to publish my ASP.NET Core app to IIS 7.5. All I’m trying to do is view a normal default.htm page within my wwwroot. Everything works fine when I use VS’s IIS Express, however when I publish is to IIS 7.5 and point the physical path to the wwwroot folder that Visual Studio created on publish, I get nothing but a blank screen (404). What’s weird is when I run the default app.run method from within the Configure method of startup.cs, it works perfectly:

smtp exception Failure sending mail?

StringBuilder emailMessage = new StringBuilder(); emailMessage.Append("Dear Payment Team ,"); emailMessage.Append("<br><br>Please find the Payment instruction"); try { MailMessage Msg = new MailMessage(); // Sender e-mail address. Msg.From = new MailAddress("<a href="https://getridbug.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="2353525163444e424a4f0d404c4e">[email protected]</a>"); // Recipient e-mail address. Msg.To.Add("<a href="https://getridbug.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="2f4e4d4c6f48424e4643014c4042">[email protected]</a>"); Msg.CC.Add("<a href="https://getridbug.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="fb81989fbb9c969a9297d5989496">[email protected]</a>"); Msg.Subject = "Timesheet Payment Instruction updated"; Msg.IsBodyHtml = true; Msg.Body = … Read more