Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

asp.net-web-api

ASP .Net Web API downloading images as binary

September 1, 2022 by Magenaut

I want to try to use Web API make a rest call but I want the response to be the actual binary image stored in a database, not a JSON base64 encoded string. Anyone got some pointers on this?

Categories ASP.NET, Q&A Tags asp.net, asp.net-web-api, rest Leave a comment

WebAPI Request Streaming support

September 1, 2022 by Magenaut

I am writing an ASP.NET Web API application that requires me to accept a file upload and forward that file on to another HTTP endpoint.

Categories ASP.NET, Q&A Tags asp.net, asp.net-web-api, c#, streaming Leave a comment

Is there a default verb applied to a Web API ApiController method?

September 1, 2022 by Magenaut

I’ve been looking at the code (in https://github.com/patelsan/WebAPIAuthentication) from this article: http://www.codeproject.com/Articles/630986/Cross-Platform-Authentication-With-ASP-NET-Web-API.

Categories ASP.NET, Q&A Tags asp.net, asp.net-web-api, asp.net-web-api-routing Leave a comment

How to add Web API to an existing ASP.NET MVC (5) Web Application project?

September 1, 2022 by Magenaut

Assuming you forgot to tick the Web API checkbox (add it to the project) when making a new MVC (5) project, what do you need to do add Web API and get it working?

Categories ASP.NET, Q&A Tags asp.net, asp.net-mvc, asp.net-mvc-5, asp.net-web-api, c# Leave a comment

Optional Parameters in Web Api Attribute Routing

September 1, 2022 by Magenaut

I want to handle POST of the following API-Call:

Categories ASP.NET, Q&A Tags asp.net, asp.net-web-api, asp.net-web-api-routing, c# Leave a comment

Get the current user, within an ApiController action, without passing the userID as a parameter

September 1, 2022 by Magenaut

How do we get the current user, within an secure ApiController action, without passing the userName or userId as a parameter?

Categories ASP.NET, Q&A Tags asp.net, asp.net-identity, asp.net-web-api, c# Leave a comment

Android Volley POST string in body

September 1, 2022 by Magenaut

I’m trying to use Volley library to communicate with my RESTful API.

Categories ASP.NET, Q&A Tags android, android-volley, asp.net, asp.net-web-api, rest Leave a comment

WCF Service or Web API

September 1, 2022 by Magenaut

I’m going to be working on a project that involves a number of elements: ASP.NET MVC website C# console application iPhone App To get all these separate applications talking to the database, my immediate thought was to use a WCF Service. However, I now need to add an API to the site to allow third … Read more

Categories ASP.NET, Q&A Tags asp.net, asp.net-mvc, asp.net-web-api, c#, wcf Leave a comment

Disable *all* exception handling in ASP.NET Web API 2 (to make room for my own)?

September 1, 2022 by Magenaut

I want to wire up exception handling in a middleware component, something like this:

Categories ASP.NET, Q&A Tags asp.net, asp.net-web-api, c#, owin Leave a comment

WebAPI route 404’s when there is a trailing space in the URL

September 1, 2022 by Magenaut

With the default web api route

Categories ASP.NET, Q&A Tags asp.net, asp.net-mvc-routing, asp.net-web-api, c#, routing Leave a comment
Older posts
Newer posts
← Previous Page1 … Page9 Page10 Page11 … Page29 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress