In this post I will try to explain the IIS configuration performance tuning and settings. My previous post Difference between throw and throw ex in Asp.Net C# exceptions.
IIS
Internet Information System simply called as IIS which is used host our application. While hosting an Application we need to concentrate on performance and concurrent users hits. Basic things we need to see, While user enter some invalid page IIS will automatically show 404 error page instead of we should provide some meaningful message with custom errors. We have developed our project in 32 bit and server may have 64 bit by default, so we have an option "Enable 32 bit Application" in Advanced settings kindly mark as true.
Shortcut to open IIS using run command just type inetmgr
While hosting the Application avoid .pdb files in published folder.While publish the application use release mode instead of giving debug mode.Use encrypted password in web.config connection string settings. Create individual Application Pool for every websites, because we can avoid Out of memory exception due to wpw3.exe cache size increases.This will improve the performance of the site.
Large SQL query execution avoid connection timeout by increasing the execution time out in web.config file
<httpRuntime executionTimeout="3600" />
We are able to show temporary shutdown message by simply adding app_offline.html(we can use any image or text in this file) in published folder. Note this will work only on .aspx pages if we may have .html page it will show the orginal page. Best way to restart the IIS, go to run command and type IISRESET this will immediately close and restart the application and release the temporary memory. But carefully do this because if you are having multiple application in IIS means it will stop/start all the Application pool including default Application Pool.
Configure HTTP Response Header expiration. This option will helps us to minimize the number of hits to IIS by viewers. HTTP Response header expires the client browser page cache and its contents such as images,JavaScript, CSS etc. In IIS double click HTTP response headers, and then select "set common HTTP Response headers". Then click "Expire web content" and select immediately option.
We can disable the ASP debugging for server and client in IIS. While running Application in Live server, we do not need to use the ASP debugging mode in IIS. Application will be very fast by disabling this mode in IIS. To disable debugging, Go to Advanced settings select the "compilation" and then click on "debugging properties" and set false for Server side debugging and Client side debugging
Enabling the output caching in IIS will keep a copies of the user requested pages. If the same page has been requested by a different user, IIS will send the copies from cache by without reproducing the same page.
Conclusion
In this post i tried to explain the IIS configuration performance tuning and settings. My previous post Difference between throw and throw ex in Asp.Net C# exceptions.
great doing. and i happy to visit your blog to know about this wonderful information. thanks for sharing. keep updating.
ReplyDeleteccna Training in Chennai
Really very nice blog information for this one and more technical skills are improve,i like that kind of post.
ReplyDeleteDot Net training in chennai
Great article Glad to find your blog. Thanks for sharing.
ReplyDeleteoracle training in chennai
hi welcome to this blog. really you have post an informative blog. it will be really helpful to many peoples. thank you for sharing this blog.
ReplyDeletedot net training in chennai
Thanks for your informative blog!!! Your article helped me to understand the future of .net programming language. Keep on updating your with such awesome information.
ReplyDeletedot net training in chennai
The blog gave me idea to improve IIS performance My sincere thanks for sharing this post Please continue to share this post
ReplyDeleteDot Net Training in Chennai
This post discuss about Remote IIS Debugging Web App On IIS and Various Authentication Mode.
ReplyDeleteIt is really a great work and the way in which u r sharing the knowledge is excellent.Thanks for helping me to understand basic concepts. As a beginner in Dot Net programming your post help me a lot.Thanks for your informative article.
ReplyDeletedot net training in chennai
Given so much information in it. its very useful .perfect explanation about Dot net framework.Thanks for your valuable information. Big data Analytics Training in Chennai | Software Testing Training in Chennai
ReplyDeletePleasant article. Think so new type of elements have been incorporated into your article. Sitting tight for your next article.
ReplyDeleteMagento Product Upload
That is very interesting; you are a very skilled blogger. I have shared your website in my social networks! A very nice guide. I will definitely follow these tips. Thank you for sharing such detailed article.
ReplyDeleteJava Training in Bangalore|
Very informative and interesting post..Thanks for sharing..
ReplyDeleteDigital Marketing Training in Chennai | SEO Training Institute in Chennai | Photoshop Training in Chennai
Thanks a lot very much for the high quality and results-oriented help. I won’t think twice to endorse your blog post to anybody who wants and needs support about this area.
ReplyDeletejava training in bangalore
Much thanks to you such a great amount for imparting this value capable substance to us. Keep it up... Fixed Assets Audit | CFA Audit | Customer Reconciliation
ReplyDeleteReally an amazing blog..Really an amazing post...
ReplyDeleteNo.1 Software Testing Training Institute in Chennai | Best Selenium Training Institute in Chennai | Web Designing Training Institute in Chennai
Very good explanation about IIS configuration performance tuning and settings would like to read regularly to get more stuff from this area.
ReplyDeleteBest Online Software Training Institute | Asp.Net MVC Training
Thanks for one marvelous posting! I enjoyed reading it; you are a great
ReplyDeleteAuthor.Keep in blogging.. Duplicate Payment Review | Continuous Transaction Monitoring | Duplicate Payment Recovery
Appreciation for really being thoughtful and also for deciding on
ReplyDeletecertain marvelous guides most people really want to be aware of.
Summer Course Training in Chennai | Summer Course Training in Madipakkam
Excellent and useful tips on excel.Continue sharing more like this.
ReplyDeleteBest MatLab Summer Classes in Saidapet | No.1Matlab Summer Classes in Saidapet
Needed to compose one little word yet thanks for the suggestions that you are contributed here, thanks much for sharing here...
ReplyDeleteBest Online Software Training Institute | C#.Net Training
The blog is very useful and informative which provides great information and I really loved it. I also have some blogs where you can get the complete information about Cisco Certification so I would suggest to all just visit Networkers home and I am sure you will get the great and complete knowledge about CCNA
ReplyDelete
ReplyDeleteReally very good .....Thanks for sharing it ... 1crore project center is providing best software testing ipt training with certification and guaranteed output for your projects..