Posts Tagged ‘exceptions’

WebServices – Error Handling

tp_vol2_004 Several weeks ago I presented jQuery at the DotNet User’s Group in Connecticut.  As part of that presentation, I mentioned that I handle errors from my WebServices in a slightly different way than what most authors teach.

I thought this morning would be a good time to cover that method in detail.

Read the rest of this entry »

Other Related Items:

Men's 100% Heavyweight Cotton White Ringer T-shirt IM NOT A NURSE BUT FOR YOU ILL MAKE AN EXCEPTIONMen's 100% Heavyweight Cotton White Ringer T-shirt IM NOT A NURSE BUT FOR YOU ILL MAKE AN EXCEPTIONTo offer the highest quality with the lowest possible cost our T-shirts are custom designed individually upon your order. All items will be shipped ou... Read More >
Iron Python in ActionIron Python in Action

In 2005, Microsoft quietly announced an initiative to bring dynamic languages to the .NET platform. The starting point for this project was a .NET ... Read More >

ASP.NET Application_Error Detecting 404’s

misc_vol3_046 For many of you, this is going to be a “Duh!” kind of post.  But while working on this today, I found so many people asking this question and so many others giving the wrong answer, I’m compelled to post anyhow.

If you know the answer, then you are welcome to stop reading now.  I didn’t write this for you.  I wrote this for the hundreds of people who will search for this information and won’t be able to find the answer.  The fact of the matter is, that’s why I write most of what I write–so people searching for the information can find it.

Read the rest of this entry »

Other Related Items:

FUN HOPFUN HOPEvery child knows this much about evolution: somewhere, way, way back, we were kangaroos. All you need to satisfy the deep primal desire to get aroun... Read More >
Defensive Design for the Web: How to improve error messages, help, forms, and other crisis pointsDefensive Design for the Web: How to improve error messages, help, forms, and other crisis points

Let's admit it: Things will go wrong online. No matter how carefully you design a site, no matter how much testing you do, customers still encounte... Read More >

4PORT USB 2.0 Mobile Hub Black .4PORT USB 2.0 Mobile Hub Black .The Hi-Speed USB 2.0 4-Port Mobile Hub provides four downstream USB ports that offer easy Plug-and-Play connectivity to your USB 1.1 and USB 2.0 devic... Read More >

DotNetNuke Modules – Exceptions the DNN Way

misc_vol3_086 Everyone knows (or should know) that handling exceptions is  a fundamental feature of the .NET environment.  And most of the time if we don’t handle the exception ourselves the .NET environment will handle it for us.  However, letting the environment deal with the exception leaves us with absolutely nothing intelligent for our customers to report back to us when they call to report an error.

So, at a minimum, every application should have some way of getting some of the critical information back to the developer about what happened when the exception happened.  Log it to a file.  Log it to a database.  Send an email.  But do something.

Fortunately, DotNetNuke has an API call that we can make that will do all the hard work for us.  All we need to do is to make sure we call it.

Read the rest of this entry »

Other Related Items:

Building Secure Microsoft ASP.NET Applications (Pro-Developer)Building Secure Microsoft ASP.NET Applications (Pro-Developer)This guide presents a practical, scenario-driven approach to designing and building security-enhanced ASP.NET applications for Microsoft® Windows® 2000 and version 1.1 of the Microsoft .NET Framework.
The Brain: Teaching Modules (3-Volume Set, Modules 1-32) (2nd Edition)The Brain: Teaching Modules (3-Volume Set, Modules 1-32) (2nd Edition)Use these video modules, flexible teaching resources for psychology courses, in college and high school classrooms and for adult learners.
DotNetNuke Sponsor

 

Most Valuable Blogger
Sponsor