Find Jobs
Hire Freelancers

Need ASP.NET Proxy

$30-100 USD

Closed
Posted over 15 years ago

$30-100 USD

Paid on delivery
I need a simple ASP.NET proxy script for use proxying Ajax requests from JavaScript to remote servers. The page should be written to be upwards compatible from early versions of ASP.NET, i.e, it should not require the latest version of .NET to function but should function with all versions of .NET. The ASP.NET page should allow configuration of the remote server by inclusion of user modifiable variables at the top of the file, including hostname, port, protocol, path. ## Deliverables Attached is a classic ASP version (JScript) of what I need. I need basically the exact same functionality in a .NET implementation. <%@language=JScript%> <% var url="http://otherserver:9999/[login to view URL]" var progIds = [ 'MSXML2.ServerXMLHTTP.6.0', 'MSXML2.ServerXMLHTTP.5.0', 'MSXML2.ServerXMLHTTP.4.0', 'MSXML2.ServerXMLHTTP.3.0', '[login to view URL]' ]; var objSrvHTTP = null; for (var i = 0, l = [login to view URL]; i < l; i++) { try { objSrvHTTP = new ActiveXObject(progIds[i]); //var objSrvHTTP=[login to view URL]("MSXML2.ServerXMLHTTP.4.0"); break; } catch (e) {} } if (objSrvHTTP != null) { if ([login to view URL]("REQUEST_METHOD")=="POST") { var DataToSend = [login to view URL]([login to view URL]); [login to view URL]("POST",url,false); [login to view URL]("Content-type","application/x-www-form-urlencoded"); [login to view URL](DataToSend); } else { [login to view URL]("GET",url+"?"+[login to view URL]("QUERY_STRING"),false); [login to view URL](); } [login to view URL]([login to view URL]); } else { [login to view URL]("Could not create Microsoft XML object. Please download and install, onto your webserver, the Microsoft XML components at [login to view URL] and retry your request."); }? %>
Project ID: 3521602

About the project

4 proposals
Remote project
Active 15 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
4 freelancers are bidding on average $47 USD for this job
User Avatar
See private message.
$85 USD in 14 days
5.0 (135 reviews)
6.2
6.2
User Avatar
See private message.
$34 USD in 14 days
4.8 (4 reviews)
3.8
3.8
User Avatar
See private message.
$10.20 USD in 14 days
5.0 (2 reviews)
2.0
2.0
User Avatar
See private message.
$59.50 USD in 14 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
United States
5.0
4
Member since Feb 10, 2003

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.