This is called knowledge sharing. You covered everything nicely and clearly in all your videos. Please keep it up sir. Lovely... Outstanding... 5 out of 5 * * * * *
@StudyMash8 күн бұрын
Thank you for the appreciation buddy, I'm glad you found the videos helpful!
@naveenpujari89962 жыл бұрын
gajab ho bhai... bachapan se ker rahe kya coding..awsome content ...
@StudyMash2 жыл бұрын
Hehe, Haan bhai Bachpan se hi kar rahe hai
@mrtrader3661 Жыл бұрын
how it is done with program.cs as I don't have startup.cs file in my project?
@sureshthaduri627510 ай бұрын
here, we have added internal server errror. we have many different type errors so we have to call all of them? then how to do it?
@mahbub7864 жыл бұрын
Thanks Sandeep. Exception handling using middleware here done really exceptional.. Thank you again!!!
@StudyMash4 жыл бұрын
Thanks for appreciation 🙂
@kumarramas10 ай бұрын
Thanks. Very useful and easy to understand.
@ahmedbasha41743 жыл бұрын
Good Information, simple and best explanation ... !
@pedroamparo67273 жыл бұрын
What about if on an UnauthorizedAccessException i want to return 401 HTTP code? With your example will always return Error 500
@vineeths17103 жыл бұрын
Hi..in custome middleware am getting user unhalndled exception. After that it enters to middleware catch..is it anybway to blockn that debug thrown?
@shahrozgul13 жыл бұрын
How can we call save exception with this unit of work approach project? and also saving exception in text file for troubleshooting?
@yuvankumar.s89893 жыл бұрын
How to do logging by using this middleware?
@harrylyod34024 жыл бұрын
cant wait to see new video. Thanks
@tauseefahmed2680 Жыл бұрын
Nicely explained
@StudyMash Жыл бұрын
Thanks buddy
@msrnetcore16972 жыл бұрын
Hi sir, in .Net 6 there is no startup.cs file and cofigure() ConfigureServices() were also not there. will you pls help me out
@StudyMash2 жыл бұрын
Sorry i have no idea, I will let you know once i will explore it
@msrnetcore16972 жыл бұрын
@@StudyMash Thanks sir, but i found the solution is well.
@Adiliciouslz2 жыл бұрын
Which version of .NET CORE is being used here?
@StudyMash2 жыл бұрын
3.1
@chandanadas78603 жыл бұрын
how check global error in Visual studio 2019 at production level?
@StudyMash3 жыл бұрын
You can log the errors in a log file on production
@noobtube55553 жыл бұрын
So if we using this custom middleware and the ConfigureExceptionHandler class of ours isn't being called, does this mean the app no longer needs to check for which enviroment its gonna log on? Does that mean Development and Production receive the same debugging treatment?
@StudyMash3 жыл бұрын
If you will not use ConfigureExceptionHandler in startup.cs at all, in that case both production and development will receive the same debugging treatment. In the next video I have shown how to pass environment as well in custom middle ware so that on he base of of environment we should return the detailed or non detailed trace as response. Feel free to let me know if you have more questions.
@eryogeshtripathi88883 жыл бұрын
It covers custom middleware and global exception both.. Thanks
@lesmonkmorison28283 жыл бұрын
nice and precise tutorial.
@ijazkhan-mq4jy2 жыл бұрын
Thanks Sir! liked and subscribed
@vijay-xr6qm3 жыл бұрын
thank you sir !!!
@khubaibakbarayubi68464 жыл бұрын
You have done your work on vs code
@AbhinavSingh-ov7pj3 жыл бұрын
This is good but model validation error are not caught in above solution. Just need code where we can caught exception and Model validation at same place so that api can return common response.
@khubaibakbarayubi68464 жыл бұрын
Sir Why ? you dont use visual studio 2019
@StudyMash4 жыл бұрын
Khubaib, I am comfortable to work on vs code as it is lightweight and also cross platform, I can easily use it on my Linux, Mac and windows seamlessly. But I can not use VS 2019 on my Linux OS. By the way, it doesn't make any difference, either you use VS 2029 or VS Code, once you get used to you can work on any editor. Are you facing any problem in this tutorial with VS 2019?
@khubaibakbarayubi68464 жыл бұрын
@@StudyMash No sir , I am just confirming...!! Ok Sir, Thanks Sir could you plz send me the link of video in which we connect angular to asp.netcore.. So my complete Application will run
@StudyMash4 жыл бұрын
Only few more videos to go and then we will go back to angular app and will integrate our api to the angular pp