3.14.2014

Difference between WCF Fault Exception and normal .NET Exception


S.No
WCF Fault Exception
.NET Exception
1 What is WCF Fault Exception ?
If we use a raise a fault exception as shown in the below code, our WCF clients will see the complete clear error rather than a generic error as shown in .NET Exception example.
 
 
Our WCF client will now see a better error description as shown in the WCF Fault example.

Example is provided at the bottom of the table
What is .NET Exception ?
If we throw a normal .NET exception from a WCF service as shown in the below code snippet.
 
Our WCF client will get a very generic error with a message as shown in the .NET Exception example. Now this kind of message can be very confusing as it does not pinpoint what exactly the error is

Example is provided at the bottom of the table

Example for WCF Fault Exception:


Example for generic .NET Exception:







14 comments:

  1. Smartmind Online Training provides complete knowledge regarding all core concepts and it gives enough confidence about Dotnet. We can say Smartmind Online Training  is the best Dotnet Training platform for freshers because here we start every concept from the ground level and we explain concepts by taking real time scenarios, so Students get good understanding about subject. Smartmind Online Training  helps you to gain depth knowledge on Dotnet and it makes you ready to become a real time Software Developers
    Dotnet Online Training

    ReplyDelete
  2. Such a great articles in my carrier, It's wonderful commands like easiest understand words of knowledge in information's.

    ccna training in chennai guindy

    ReplyDelete
  3. Hi to every one, the contents present at this site are
    actually remarkable for people experience, well, keep up the good work fellows.
    dot net training in chennai

    ReplyDelete
  4. Clear about Wcf fault exception? comparison of wcf fault expressions and .net exceptions are nice to read and understand but this much information is not enough to all.some of them needed a brief explanations with collection of informative.

    Dot Net Training in Chennai

    ReplyDelete
  5. This is an awesome post.Really very informative and creative contents. These concept is a good way to enhance the knowledge.I like it and help me to development very well.Thank you for this brief explanation and very nice information.Well, got a good knowledge.
    Isoft Innovations Adyar
    Isoft Innovations Facebook

    ReplyDelete
  6. Learn Dot Net Training in Chennai at Credo Systemz. Training offered by MNC Experts. Rated as Best .Net Training Institute in Chennai. Learn C# & ASP.Net Course with 100% Placement.

    .NET Framework developed by Microsoft is an integral part for most of the primary applications running on Windows. .NET with its consistent and comprehensive programming model, created a technological revolution in recent years. Applications built using .NET has the capability to entice the user with visually stunning experiences along with faultless and secured communication system.

    ReplyDelete

  7. The .NET framework helps you create mobile, desktop, and web applications that run on Windows PCs, devices and servers and it's included in Visual Studio.

    Develop web sites and services that run on Linux, Windows and macOS with the blazing fast and modular platform provided by .NET Core and ASP.NET Core.

    Xamarin brings the power and productivity of .NET to iOS and Android, reusing skills and code while getting access to the native APIs and performance.
    Dot Net Training in Chennai

    Best Dot Net Training in Chennai

    ReplyDelete
  8. Hey Gyss Check out this...

    Softpro Learning Center (SLC)is the training wing of Softpro India Computer Technologies Pvt.
    Limited. SLC established itself in the year 2008.
    SLC offer an intensive and extensive range of training/internship programs for B.Tech, BCA, MCA & Diploma students.
    Softpro Learning Center is a best Summer training institute in Lucknow extends in depth knowledge of technology like .Net, Java, PHP and Android and also an opportunity to practically apply their fundamentals. SLC’s objective is to provide skilled manpower to support the vast development programs.

    ReplyDelete
  9. What you have written in this post is exactly what I have experience when I first started my blog.I’m happy that I came across with your site this article is on point,thanks again and have a great day.Keep update more information.

    Dot Net Training in Chennai

    Software Testing Training in Chennai

    ReplyDelete
  10. Really a good technical site,keep on writing good stuffs
    dot net training in chennai

    ReplyDelete