Skip to content

Magenaut

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

rest

Can I incorporate both SignalR and a RESTful API?

September 2, 2022 by Magenaut

I have a single page web app developed using ASP.NET. I recently converted many of the web methods to be push based, using the SignalR library. This really sped up the page considerably and reduced a lot of the server calls from the page.

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

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

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

How to send a Status Code 500 in ASP.Net and still write to the response?

September 1, 2022 by Magenaut

I have an ASP.Net single-file web service (a .ashx file containing an IHttpHandler implementation) which needs to be able to return errors as responses with 500 Internal Server Error status codes. This is a relatively straightforward thing to do in PHP:

Categories ASP.NET, Q&A Tags asp.net, c#, ihttphandler, rest Leave a comment

Cross Origin Resource Sharing for c# WCF Restful web service hosted as Windows service

September 1, 2022 by Magenaut

I have a WCF Restful service which I am hosting as Windows service. I want to add cross domain support to my service. However, i can do this easily when I use global.asax file. But I want to host my service as a windows service.

Categories ASP.NET, Q&A Tags asp.net, c#-4.0, cors, rest, wcf Leave a comment

Maximum default POST request size of IIS 7 – how to increase 64kB/65kB limit?

September 1, 2022 by Magenaut

I have created a RESTful POST web service in ASp .net C# with IIS hosting the service.

Categories ASP.NET, Q&A Tags asp.net, http, iis, post, rest Leave a comment

Difference between REST and WebServices

August 31, 2022 by Magenaut

What is difference between REST and WebService (SOAP), I looked at the facebook api, they use HTTP headers and some parameters (probably xml or non) and return result in xml, where else SOAP does exactly same, HTTP headers + xml parameters and returns headers + xml.

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

Get wwwroot folder path from ASP.NET 5 controller VS 2015

August 31, 2022 by Magenaut

Sorry for a noob question, but it seems I can’t get Server.MapPath from Controller. I need to output json file list from images folder at wwwroot. They are is at wwwroot/images. How can I get a reliable wwwroot path?

Categories ASP.NET, Q&A Tags asp.net, asp.net-core, asp.net-core-mvc, c#, rest Leave a comment

How do I make my Web Application stateless yet still do something useful?

August 30, 2022 by Magenaut

I’ve seen this advice…

Categories ASP.NET, Q&A Tags asp.net, rest, stateless, webforms Leave a comment

How to pass multiple parameter in wcf restful service?

August 29, 2022 by Magenaut

IService.cs

Categories ASP.NET, Q&A Tags asp.net, c#, rest, wcf Leave a comment
Older posts
Newer posts
← Previous Page1 Page2 Page3 Page4 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