Click here to Skip to main content
15,895,781 members
Everything / HttpHandler

HttpHandler

HttpHandler

Great Reads

by Bo Li (KAFFEECKO)
using Angular `$http` and Parse REST API to process the relations
by techbird
Renaming of Trace.axd to custom name in ASP.NET
by @Shiv
Easy and simple ReCptcha tool for Web Application in pure C# code, no JavaScript external plugin required

Latest Articles

by @Shiv
Easy and simple ReCptcha tool for Web Application in pure C# code, no JavaScript external plugin required
by Bo Li (KAFFEECKO)
using Angular `$http` and Parse REST API to process the relations
by techbird
Renaming of Trace.axd to custom name in ASP.NET

All Articles

Sort by Score

HttpHandler 

19 May 2015 by Bo Li (KAFFEECKO)
using Angular `$http` and Parse REST API to process the relations
14 Sep 2016 by ZurdoDev
As mentioned in comments the server should handle that for you. If you find that your server cannot handle the load then you implement load balancing or some other technique but your code will stay the same, essentially.
12 May 2014 by Jörgen Andersson
I have an old WebControl that needs to be updated to work with IIS 7.5.In the control there is some code that checks if the Handler is registered in the Web.Config.It opens the HandlerSection using System.Web.Configuration.HttpHandlersSection handlerSection =...
26 Feb 2015 by Sergey Alexandrovich Kryukov
If does not matter what you log and is it WPF or not. One possibility is using the class System.Diagnostics.EventLog:https://msdn.microsoft.com/en-us/library/system.diagnostics.eventlog%28v=vs.110%29.aspx[^].One popular open-source 3rd-party product you can use is Apache...
28 Feb 2015 by Zoltán Zörgő
CONNECT is a method reserved for tunelling (see: https://tools.ietf.org/html/rfc2616#section-9.9[^]).On the other hand, HttpWebRequest implements proxy support[^].What is your purpose with it?
15 May 2014 by ismail khan
I am using upload services and i have to use a request over http due to which IE gives me "Mixed Content" popup. My client do not want this. Is there any way to hide or handle it through java script or in Jquerry or C#?Additional Info: Web Application C#Asp.Net
15 May 2014 by AnvilRanger
No there is not a way and you should really think about why. That is a security warning that you have content coming from a non secure source.Is this upload service not offered through a secure, https, connection?
4 Aug 2014 by Santiago Fabian
I have been provided a web interface(Form) URL with many fields in order to import a local file to that website.this is how the URL looks like:http://www.website.com/na/imports/ImportFile.jspThere are fields like type of import(SBE, MIME) which is a radio button, input...
4 Aug 2014 by Sergey Alexandrovich Kryukov
You simply need to study what is sent in HTTP request when you do it in the browser with a "real" HTML page and do the same in your HTTP request sent through System.Net.HttpWebRequest.First approach would be just looking at the content on this page. To start with, take the source code of...
17 Sep 2014 by Adi5555
i have created a wcf service and hosted in my own computer . it is working fine if i consume that service in the same computer but if i try to consume that service from another computer it shows error ... configuration files of host and client is attached below ... what should i change in the...
16 Sep 2014 by SandeepKushwah
Make sure that both computers are connected in LAN and exhibit in the same IP address that is 192.168.1.(anything).You can do one more thing... Create one more endpoint with netTCP binding and then try. Also please post the error you are getting while accessing the service on other computer.
2 Oct 2014 by payne173
Hi,I've a requirement where Client Web Application will be sending a post request with Login Details to login in our Web Application.Here Client is suggesting us to write a HttpListener to process the login request and show our portal.But i don't see a point in writing a...
26 Nov 2014 by techbird
Renaming of Trace.axd to custom name in ASP.NET
4 Dec 2014 by Santiago Fabian
Hello,I am making a HTTP Request to a Third Party API which one gives me a response in JSON format of type Newtonsoft.Json.Linq.JObject;My question is how to bind in some way an ASPxGridview Control from server side using C# with this JSON?
28 Dec 2014 by Member 11303078
I had make an reverse proxy using IHttpAsyncHandler class that listen on the iis request and according to the incoming url path i send a request to another site public class ReverseProxy : IHttpAsyncHandler{ public bool IsReusable { get { return...
4 Jan 2015 by Veera Saidarao
I want to getting knowledge in This classes . Hlp me.
4 Jan 2015 by CHill60
Google is your friend when it comes to doing research.this list for example [^]
4 Jan 2015 by Suraj Sahoo | Coding Passion
These are attributes not classes as mentioned by Kornfield. These are used to get(simple english meaning) and post the data when the HTTP involves in interaction between client and server.Google is the best friend for these queries, but here is a link with one of the best explanations.Diff...
6 Jan 2015 by Member 11246080
if using $http.delete('api/contacts', Id); Then getting error.But When Using Like this $http.delete('api/contacts/'+ Id); Executing .I don't Want to use URL Binding To pass data....Please Help Me To Solve
7 Jan 2015 by Member 11246080
According to Restiful API, the delete spec requires you to pass the id.If you don't want to pass it through the url, then use POST but then your app will not be following restful api styles.
20 Jan 2015 by Gaurav Gupta A Tech Guy
How to transfer url from http to https and remove www from URL ?it is very urgent need. Please anybody tell me how to do it ?it might be possible with .htaccess or URL rewriting ? but please help me out with detailed process ?Need 1 :- all URL typed in browser should be changed...
20 Jan 2015 by jaket-cp
Scott Guthrie has written a good blog.Fix Common SEO Problems Using the URL Rewrite Extension:http://weblogs.asp.net/scottgu/tip-trick-fix-common-seo-problems-using-the-url-rewrite-extension[^]If you have control of the iis, it may be of help.Alternatively check out this link for...
26 Feb 2015 by Member 10145129
Hi,I am newly working in WPF project, written in C# language. This application provides the operating base like browser, email, printing, logging etc to other applications on workstations.Now a particular application wants to trace the HTTPRequests and HTTPResponses and want us to log...
27 Feb 2015 by Member 10145129
Hi,In below code I am Logging the http call detailsa. URL addressb. Response codec. Size of packaged. Call durationNow I want to add iterative requests if more files are included and need to be downloaded.Can anyone please help with code?Public Function NavigateTo(uriString...
9 Mar 2015 by Member 10517776
I'm trying to call httphandler in SharePoint usercontrol . I'm loading this usercontrol in a SharePoint web part. This httphandler is deployed to SharePoint layouts folder.Below is my code . this.Page.Form.Action = "/_layouts/handler/FileHandler.ashx"; this.Page.Form.Method = "POST";...
16 Apr 2015 by exoc
[THIS QUESTION IS OBSOLETE!!!]Hi everyone,I'm really stuck here, maybe someone can help me out. I have a WebApplication (asp.net), stored on IIS 7, that can be accessed inside my companys internal network via http://myapp.company.localAs for a - maybe naive - request I want...
16 Apr 2015 by Dave Kreskowiak
You'd need to write a protocol handler. You can start reading up on it here[^].
27 Jan 2016 by Kornfeld Eliyahu Peter
When you open a port into your system, you have to consider two things...1. What resource can be accesses via that port2. Who can access those resourcesSo, yes a port opening is a security risk and you should handle it as such...Consider to add some security to your service, like...
5 Jun 2016 by Nithin B
Hi,I have database with EmpNo(Int) and EmpImage(Image) columns.I am using HttpHandler to display the Images.I am storing Images both in database and folder.Now I want to change the names of Images in folder as names of EmpNo whose I didnt change while uploading.So need to...
5 Jun 2016 by Garth J Lancaster
If you're not storing the image name in the database you cant magically expect SqlDataReader to invent a name for you. I can think of two options, but, the first of those would depend on the image name being part of the metadata for the image - as in EXIF data - so, ignoring that ...Option...
15 Nov 2017 by s23user
i need to write custom http handler (Pdf File Handler) for an existing application. File is located in shared folder in different server. I wrote customPdfFileHandler and place the dll to the bin dir of my webApplicaion. Code in customPdfFileHandler is : public void...
15 Nov 2017 by Richard Deeming
HttpRequest.RawUrl property[^]: The raw URL is defined as the part of the URL following the domain information. In the URL string http://www.contoso.com/articles/recent.aspx, the raw URL is /articles/recent.aspx. The raw URL includes the query string, if present. So given your URL of: ...
28 Nov 2017 by s23user
I am trying to execute my custom Http Handler for pdf request. For the same I have following configuration in my Asp.Net Application : Application Pool has set as Managed Pipeline mode to Classic mode and Identity to Network...
20 Apr 2018 by Member 10329095
Hi, I am faced with a problem. I want to take some html, pass it to some library and convert it to a pdf. I'm reading the html from the frontend, using jquery, and I want to pass it to a HttpHandler which converts it and downloads it.The issue is that the html string is too long and I end up...
25 Aug 2019 by Gerry Schmitz
try { ... } catch ( Exception ex ) { ... if ( ex.InnerException != null ){ "display" ex.InnerException.Message; } }
6 Apr 2020 by Gaurav Gupta A Tech Guy
Dear All, I am facing a unqiue issue in which i am creating a application in which i have to redirect through post method to another application and getting back from same appication to our application through post method. Application platform...
26 Aug 2017 by @Shiv
Easy and simple ReCptcha tool for Web Application in pure C# code, no JavaScript external plugin required
27 Jan 2016 by Shubhanshu Pathak
In my windows form application 1. I am opening a port (by finding a random free port in a given range)2. Starting a HttpListener on that port3. Creating requests and as a response getting file streams from my file system (from HD)4. So meanwhile the port is open there is a...
7 Jul 2014 by Member 3892343
Hi,I want to create an sms send application which connects to a web server and through http method "post" send the sms text message to the specified mobile number, the site has an api to do it, I thing is in java has a jsp extension, I will give you the api commands and parameters also the...
28 Feb 2015 by Member 8353523
The CONNECT request don't work with HttpWebRequestand they always throw exceptions like 404 not found, or underlying connection closed. I think it is because they are HTTPS and not HTTP. So when requiring to handle CONNECT requests what exactly can be done? (Sending Connect Request and...
27 Jan 2016 by Konstantin A. Magg
I am not a security expert and there are people here, that are much more confident in this topic. But let give you some thoughts:Can you be sure, that you cannot "damage" your system calling your application on the given port?How about invalid formatted reuests? Keep in mind, that you...
14 Sep 2016 by Member 11528655
I have created on web service which receives request from one mobile application and forward it to one another server,and it reply back to the mobile application with the response which my web service has received.Now my question is, how i can handle multiple requests from multiple mobile...
25 Aug 2019 by Citrom67
I'm kinda new for c# and I've never used HttpClient and since I use it I have random SSL connnection failure. I tried things like adding HttpClientHandler but didn't help, and I don't really know where to "see inner exception" because the program isn't stopping just keeps going like nothing...
21 Dec 2021 by AzeeM_R
I have http response wrapper that rewrite response and suppose to send response like below {"Version":"1.0.0.0","StatusCode":200,"Message":"Success","Result":[{"code":"465","name":"fasdfsdfsd","systemkey":"AAAAAACL","createdby":"RM ...