Base solution for your next web application
Open Closed

Change Service Message #348


User avatar
0
thobiasxp created

Hi,

I want to shows the duplicate error message from service. how do i customize this error message from service.i hope you will reply back soon.

Thanks

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

3 Answer(s)
  • User Avatar
    0
    thobiasxp created

    Hi

    Kindly Make a reply ASAP.I stuck up with that area.I need to customize the error message.i tried it in many ways, it's not working properly.so guide me how to modify it

    Thank you

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    hikalkan created
    Support Team

    Hi,

    You can throw UserFriendlyException from application service. In that case, your custom message is displayed to the user. See docs for more: <a class="postlink" href="http://www.aspnetboilerplate.com/Pages/Documents/Handling-Exceptions">http://www.aspnetboilerplate.com/Pages/ ... Exceptions</a>

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    thobiasxp created

    Hi

    It's Perfectly worked...Thank you so much.

    Thanks

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)