Introduction

This article is useful for developers encountering exceptions during development. It also provides some tips for common errors and gives a solution for common exceptions and issues encountered during development.

Tips and Tricks

1. The 500 Error occurs when publishing a website in IIS. The most configuration errors occur due to this.

Solution

Configuration Steps related to publish website in IIS
Figure 1: Configuration procedure related to publishing website in IIS

2. If you have published your website to a live server and want to change some minor code behind file and upload it to live server, then what is the best way?

Solution:

3. Now to resolve the "Maximum request length exceeded" exception when working with a web service or JSON data.

Solution

4. The request filtering module is configured to deny a request that exceeds the request content length (IIS 7).

Solution

5. The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map (for JSON file).

Solution

6. When I integrated WebAPI2 into an existing MVC web application then some dependency error occurred.

Solution

7. How to speedup page request in ASP.NET.

Solution

Conclusion

In this article we learned some basic configuration tips as well as common exceptions and their solution. These exceptions occur frequently when developing web applications. I will update this article with other useful tips.