How to Use Web.Config customErrors for ASP.NET

Matt Watson Developer Tips, Tricks & Resources Leave a Comment

The ASP.NET framework provides built-in settings to control how to respond when an application error occurs. This functionality is part of the Web.Config customErrors section. Configuration Options for Web.Config <customErrors> Like most web.config settings, customErrors can be configured within the Machine.config, root web.config or your application web.config file. Usually, it is set per application. CustomErrors supports the following modes: On – …

Get tips for error handling in ASP.Net

Best Practices for Error Handling in ASP.NET MVC

Matt Watson Developer Tips, Tricks & Resources Leave a Comment

Error handling is an important part of any application. ASP.NET provides several different ways to handle errors. In this article, we will review MVC error handling best practices. 5 Ways to do MVC Error Handling Between .NET, ASP.NET, and MVC there are several potential ways to handle application errors. Web.Config customErrors MVC HandleErrorAttribute Controller.OnException method HttpApplication Application_Error event Collect exceptions via …

Understanding # of Exceps Thrown / Sec, and How to Find Exceptions

Matt Watson Developer Tips, Tricks & Resources, Live Queue Leave a Comment

Exceptions can cause big performance problems. One of the most important performance metrics to track about your application is “# of Exceps Thrown / Sec“. It is available via Windows Performance Counters under the category .NET CLR Exceptions. In this article we will talk about exceptions, how to monitor your exception rate and find the actual exceptions being thrown. Is …

Software Error vs Exception – In Real World Examples

Matt Watson Developer Tips, Tricks & Resources, Live Queue Leave a Comment

After 15+ years of software development, I still use the words error and exception interchangeably. But is there a difference between exceptions and errors? I think it is best to make the distinction with some examples of errors vs exceptions. Example #1: Dishwasher Errors Let’s use this example of a dishwasher. Both images depict a problem, or error, that happened with …

C# Exception Handling Best Practices

Matt Watson Developer Tips, Tricks & Resources, Live Queue Leave a Comment

Welcome to Stackify’s guide to C# exception handling. In this article we cover the following topics: Basics about C# Exceptions, including examples Common .NET Exceptions How to Create Your Own Custom C# Exception Types How to Find Hidden .NET Exceptions C# Exception Logging Best Practices What is an Exception? Exceptions are a type of error that occurs during the execution …

Finding Hidden Exceptions in Your Application with Prefix

Matt Watson Developer Tips, Tricks & Resources Leave a Comment

Prefix enables developers to easily see what their code is doing as they write and test their code, including SQL queries, HTTP calls, errors, logs, and much more. One of the best features of Prefix is its ability to see all of the exceptions that are occurring in your code. There are 3 types of exceptions: Unhandled – the user got a …

Fewzion Alex Retzlaff

Fewzion: “Using Stackify we identify application performance issues earlier and solve them faster. ”

Stackify Stackify Product & Company Updates Leave a Comment

Australian work management software company Fewzion has become the latest international business to implement Stackify’s unique all-in-one application performance management  and error and log management solution. By utilizing Stackify’s application error and log management software, the team at Fewzion can now proactively identify and fix any system issue within their suite of work management tools before the end-users even notice. …

SQL Azure Elastic Pool

SQL Azure Elastic Pool – Product Review

Matt Watson Developer Tips, Tricks & Resources, Insights for Dev Managers Leave a Comment

At Stackify, we have about 1,000 SQL Azure databases. Monitoring, managing, and right sizing these databases creates a unique set of challenges. For security and scalability, each of our clients has their own database. As you can imagine, each client is in a different sizes and we have wildly different performance characteristics from one databases to another. We are excited …

Log tagging

Log tagging creates smarter application logs #awesomelogs

Dusty Kline Developer Tips, Tricks & Resources Leave a Comment

How many combined log statements do your applications and infrastructure produce in a day? 50,000? Over a million? Here at Stackify, our applications generate around 100 million log entries every day. Even after feeding them into Stackify’s powerful log management and filtering tools, it can be difficult to distill things down into meaningful, actionable diagnostics with an incredibly high volume …

GeeksWithBlog log

How GWB Found Hidden Exceptions and Application Performance Problems

Matt Watson Stackify Product & Company Updates Leave a Comment

  Exceptions in .NET can be very expensive when it comes to CPU cycles. Read how Geeks with Blogs (http://geekswithblogs.net) used Retrace to improve the performance of their application. About Geeks with Blogs (GWB) Thousands of software developers use Geeks with Blogs (GWB) to host their own personal blog. The code base has slowly morphed and has been modified by several developers over …

HEAD-Prepare-for-the-worst-how-to-future-proof-your-app-to-prevent-performance-issues

How to future-proof your app to prevent performance issues

Stackify Developer Career Development, Insights for Dev Managers Leave a Comment

When John F. Kennedy said that “the time to repair the roof is while the sun is shining” in his State of the Union address, application development was probably the last thing on his mind. Yet his notion of preparing in advance to pre-empt tough times is something that can certainly be applied to the world of app development. As …

duplicate-event-processing

Distributed Method Mutex – How To Prevent Duplicate Event Processing At Scale

Matt Watson Insights for Dev Managers Leave a Comment

Distributed Method Mutexing Stackify handles millions of incoming metrics and log messages on a daily basis. This creates some unique challenges to coordinating various types of events that are triggered as data flows in and system settings are modified. When events are constantly firing for various reasons across multiple servers it can be very challenging to ensure that certain types …

PHP Log

PHP Logging Best Practices

Craig Ferril Insights for Dev Managers Leave a Comment

Intro With our most recent release, we’re excited to announce we have added enhanced the support in our Stackify Errors & Logs product for apps written in PHP. Our recent release includes a direct logging API for PHP, enhanced support for the Monolog and log4php logging frameworks via Stackify-specific handlers/appenders, and an agent collector model that delivers fast performance for …

Application troubleshooting market research

52% of application issues took over half a day to fix – market research

Stackify Developer Tips, Tricks & Resources, Stackify Product & Company Updates

Stackify’s Application Troubleshooting Survey Reveals Integrated Tools Lead to Significant Response Time Improvements. 37% of developers rely on user notifications to identify issues, yet integrated tools reduce customer impact by 62%   Embed Our Infographic On Your Site! <img src=”http://www.stackify.com/wp-content/uploads/2014/11/igillath7.png” alt=”Application troubleshooting infographic – An Infographic from Stackify” width=”100%”/><br /><br /><br /><br /><br /><br /><br /><br /> <p>Embedded from <a …

Make sense

3 Ways to Make Sense of Errors & Logging

Craig Ferril Insights for Dev Managers Leave a Comment

Errors and log files are two of the most important tools a developer have to try and find the source of a problem.  If you’re like most developers, your approach to capturing and utilizing errors and logs is fairly straightforward. You probably send log output to a file or a log aggregation product. You may notify on the occurrence of …