Error: Uncaught (in promise) SyntaxError: Unexpected token ‘T’, “The resour”… is not valid JSON

You might get the “Unexpected token ‘T’” error or “404 (Not Found)” error when calling an endpoint from a client App like React. This might be because the request is blocked by the browser due to a CORS error or “same-origin” policy. Example error from a react application calling a .Net Core API endpoint: TheContinue reading “Error: Uncaught (in promise) SyntaxError: Unexpected token ‘T’, “The resour”… is not valid JSON”

Boost Your .Net Debugging Skills With These 7 Tricks

Writing code is easy. Handling messy code in other people’s libraries, investigating unreproduced scenarios in strict production environments, now that will 100% guarantee you gray hairs and a long-lasting burnout. Not unless you equip yourself with ninja-level debugging skills that I’m about to show you. The blog delves into various reverse engineering and debugging techniquesContinue reading “Boost Your .Net Debugging Skills With These 7 Tricks”

Create a Reverse Proxy Using .Net 6 Web API and Swagger

In this tutorial, we’re going to create a .Net Core application that will act as a reverse proxy forwarding requests to one or more swagger-supported API endpoints. You will find the source code for this tutorial here: SOURCE The Problem There are many cases where you require to forward requests to one or more endpoints,Continue reading “Create a Reverse Proxy Using .Net 6 Web API and Swagger”