Tips and Tricks on how to improve MVC Application Performance

In this post we will cover a number of tips and tricks to improve ASP.NET MVC Application Performance.

More



Access Secure Feed with SyndicationFeed

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.

More



Getting DNS TXT Record using C#

In this example we will get the DNS TXT Record for a given hostname using C# to run nslookup at the command line.

More



ASP.NET Production Deployment Config

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.

More



Using Global Namespace Error Type

In this example we will use the Error Type static extension methods that get added to the base ECMAScript (JavaScript) Error type when using the Microsoft AJAX Client Library.

More



Using Global Namespace Array Type

In this example we will use the Array Type static extension methods that get added to the base ECMAScript (JavaScript) Array when using the Microsoft AJAX Client Library.

More



Using ASP.NET AJAX Client Side Callback

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.

More



Creating Static Content Website in IIS 7

In this example we will configure a website in IIS 7 for serving static content as quickly and efficiently as possible. This website is designed to serve files like CSS, JavaScript, Images and HTML. This configuration will give you a result of 100/100 with Google Page Speed.

More



Imperatively Impersonate a User

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.

More



Using ASP.NET Control State

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.

More



Next