Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 3.5 > ASP.NET 3.5 Professionals
ASP.NET 3.5 Professionals If you are an experienced ASP.NET programmer, this is the forum for your 3.5 questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Professionals section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old February 24th, 2012, 03:02 PM
Friend of Wrox
Join Date: Jun 2003
Posts: 996
Thanks: 2
Thanked 11 Times in 11 Posts
Send a message via Yahoo to melvik
Lightbulb Convert classic ASP - Web API code to ASP.NET

Hi guys,

I have this classic ASP code & new in WEB API how can I do it in ASP.NET(C#)

'Create the ServerXMLHTTP object
set objXMLHTTP = Server.CreateObject( "MSXML2.ServerXMLHTTP.4.0" )
objXMLHTTP.setOption(2) = 4096
objXMLHTTP.setOption(3) = ""

'This is the location of the system
objXMLHTTP.Open "POST", "https://" & BEANSTREAM_SERVER & "/scripts/process_transaction.asp", false

'Set the HTTP header's content type
objXMLHTTP.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"

'Submit the transaction request to the system server
objXMLHTTP.Send( postData )
Tnx in advance
Hovik Melkomian.

Similar Threads
Thread Thread Starter Forum Replies Last Post
using asp.net code in classic ASP (audit log) rockstar283 Classic ASP Basics 0 November 17th, 2010 03:48 PM
classic ASP to ASP.NET 2.o XML coding rupen XML 10 May 18th, 2010 03:09 AM
classic ASP to ASP.NET 2.o XML coding rupen ASP.NET 2.0 Basics 0 May 14th, 2010 07:25 AM
convert string to Uppercase in Classic asp MyronCope Classic ASP Basics 1 November 16th, 2006 04:12 PM
Convert ASP web application to ASP.NET Steve777 ASP.NET 1.0 and 1.1 Basics 3 June 2nd, 2005 07:26 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.