Entity Framework disposing with async controllers in Web api/MVC
I have this little sample of code:
I have this little sample of code:
I’m trying to setup a global exception handler as outlined here: Web API Global Error Handling. I”ve setup a case where an exception gets thrown within a controller constructor. But my exception isn’t getting logged. Instead WebApi is just returning the exception and full stack trace to the calling client as a JSON message.
I’m testing out an MVC 6 Web Api and wanted to implement logging into a global error handler. Just guaranteeing no errors get out of the system without being logged. I created an ExceptionFilterAttribute and added it globally in the startup:
I have been playing around with using Web API (Web Host) as a proxy server and have run into an issue with how my Web API proxy handles responses with the “Transfer-Encoding: chunked” header.
I have an asp.net Web API project, and in my WebApiConfig file, I have the following route defined:
I need to start a new mvc project and as always I have issues about asp identity, never know where to put it!
I’m following along the bitoftech tutorial about creating Identity and role based claims with JWT. My application user is a custom User table with int PK.
We have an issue with some of our ASP.Net applications. Some of our apps claim a large amount of memory from start as their working set.
for my WebAPI OData application, im trying to give my client (browser) the decision what format the data output should be. as $format is not implemented yet in WebAPI OData, im using Raghuramn’s example here: https://gist.github.com/raghuramn/5556691
Given the following ASP.NET WebAPI, I am trying to send a test POST using Fiddler, but can’t get it to work. Whatever I send, I always just see the No data sent to service message.