Wednesday, April 12, 2017

WebApi Notes



In ASP.NET Web API 2 

To return a custom response you can use new helper methods exposed through ApiController such as:
  • Ok
  • NotFound
  • Exception
  • Unauthorized
  • BadRequest
  • Conflict
  • Redirect
  • InvalidModelState

---------------------
13/11/2020  SignalR 2 (.net framework) Tip
You would be unable to connect to signalr 2 (.net version) running on your visual studio/localhost if the visual studio is not running as Admin.


No comments:

Post a Comment

Devops links

  Build Versioning in Azure DevOps Pipelines