Forum Discussion
aly2014
Aug 19, 2024Copper Contributor
how to configure asp.net.core ihostservice with global exception handler
hi ,I am developing a windows service under asp.net.core 8 as ihostservice , everything is good , but I want to configure global exception handler , I did look to most article on the net , all of the...
Abhishek_Khatri
Aug 24, 2024Brass Contributor
Hi Have you tried IhostSevice in the main program ?
with register a custom global exception handler ?
with register a custom global exception handler ?
- aly2014Aug 24, 2024Copper Contributorihostservice is working good and also register custome exception handler , but its not calling on exception ,my ihostservice not use any http request or respond , we just use for listen to a database and logging
- Abhishek_KhatriAug 26, 2024Brass ContributorThis is window service ? Right
- aly2014Aug 30, 2024Copper Contributoryes , its a running a windows service ,so we cant use any http request or respond.