Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7640995
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T08:48:40+00:00 2026-05-31T08:48:40+00:00

I was developing a website by using c# with .net framework 4. OO concepts

  • 0

I was developing a website by using c# with .net framework 4. OO concepts have been implemented. Each layer has some Try Catch blocks used to handle different errors and return different error messages. I found that it getting slower when loading as the try catch block getting more and more. I wonder this is because why. Any alternative solution? Correct me if I am wrong. Appreciate for any reply.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T08:48:41+00:00Added an answer on May 31, 2026 at 8:48 am

    There is nothing wrong with using try/catch blocks. They don’t alter performance. what does alter performance is throwing errors!

    see web site below particularly:

    Throwing exceptions can be very expensive, so make sure that you don’t
    throw a lot of them. Use Perfmon to see how many exceptions your
    application is throwing. It may surprise you to find that certain
    areas of your application throw more exceptions than you expected. For
    better granularity, you can also check the exception number
    programmatically by using Performance Counters.

    http://msdn.microsoft.com/en-us/library/ms973839.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been developing a simple website using asp.net MVC and I'm starting to add
I'm developing a website (using asp.net-mvc) with a SqlServer 2005 database. I have numerous
I'm currently developing a monitoring application for some in-house hardware using net-snmp. I have
TGIF, I have a website I'm developing which is using ASP.NET masterpage/sitemap/content pages setup.
I'm developing a mobile oriented website using asp.net. This website will consume some web
I am developing a website using Asp.Net MVC framework. We need to add general
I'm developing ASP.NET 4.0 Website using SQL server 2008 with Membership Framework. It runs
i am developing a website using asp.net 3.5.i have created a cascading dropdownlist for
I've recently been developing a website using asp.net webforms that uses in proc sessions
I'm developing a website in ASP .NET MVC 2 using C#. I have a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.