Tuesday, August 15, 2023

ASP.NET Core 8.0 Preview: Improved Debugging Experience on HttpContext

I have just noticed this with ASP.NET 8.0 Preview, and it's fantastic.

I am going to debug and inspect HttpContext.

Following is when the project is targeting .NET 7.
HttpContext
HttpContext.Request
HttpContext.User
Now let's have a look at the same when the project is targeting .NET 8.
HttpContext
HttpContext.Request
HttpContext.User
Look how simplified it is. Now it's really easy to find important information without even expanding items.

One more reason to go for .NET 8.

Happy Coding.

Regards,
Jaliya

No comments:

Post a Comment