In this post we will cover a number of tips and tricks to improve ASP.NET MVC Application Performance.
In this example we are going to access a secure RSS feed using SyndicationFeed. This is done by setting the NetworkCredentials in the XmlUrlResolver, and then setting the XmlUrlResolver in the XmlReaderSettings and finally passing the XmlReaderSettings into the XmlReader.Create() method.
In this example we will get the DNS TXT Record for a given hostname using C# to run nslookup at the command line.
In this example we will look at how to use the deployment configuration element on production servers hosting ASP.NET web applications to automatically configure trace, custom errors and compilation settings.
In this example we are going to create a Client-side Callback with ASP.NET AJAX by implementing the RaiseCallbackEvent and GetCallbackResult methods of the the ICallbackEventHandler interface.
In this example we will Imperatively Impersonate a User so that we can run a few lines of code and then undo the Impersonation so that we are running using the standard ASP.NET permissions.
In this example we will create a Server Control and use the Control State to store and retrieve values. It is better practice to use Control State when creating custom control rather than using Page ViewState, because if Page ViewState is disabled it would break your control where as Control State cannot be disabled. This custom control is used to display an address.