With web development’s incredible growth in popularity as a career path, there are a few common questions in the field. Some ponder what or how much of any given hardware would suffice for activities like coding. Others turn to a more intimidating question regarding what programs work best for app development. It’s intimidating because the importance of picking the right …
rest-api
RESTful Interfaces break down technology silos WeGotCode.com is still a very young company – now entering its third year. During that time, we’ve handled a lot of custom software integration projects. This is a typical scenario: a house-build system (could be a web E-Commerce site, desktop application, mobile app) needs to talk to something else (a third-party service provider, a …
AspNetCore Controller Return Types that Implement IActionResult
On my current project, we return Task<IActionResult> in the controller actions. It makes it fairly painless to write useful unit tests. Middleware Pipeline – a common location for returning errors, like via SetForbiddenResponse() Because I was having issues locating these in MSDN (not there, look in https://docs.microsoft.com/en-us/aspnet/core/api instead), here’s a list of valid types that implement IActionResult in AspNetCore (dotnet …
Swagger fix for dotnetcore
I’m currently working on a Point of Sale type API utilizing dotnetcore. We use Swagger / Swashbuckle to handle our documentation. It’s a great project and I really appreciate the work that’s been put into it. As we all know, developers hate to write documentation and Swagger goes a long way towards the holy grail of maintained documentation. In our …