M
Mike
is there a tool that will convert cold fusion code to C#?
Or anything out there to help in this process?
thx
Or anything out there to help in this process?
thx
Nicholas Paldino said:Mike,
I don't believe that there is. Given that the frameworks are vastly
different, as well as the languages, I imagine that it is not an easy thing
to do. You will probably have to do it on your own.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
Mike said:is there a tool that will convert cold fusion code to C#?
Or anything out there to help in this process?
thx
Mike said:Ok, after doing some research i found the same result.
Now, here is what i'm trying to do. I'm trying to recieve a newsfeed from a
web site that is coded in Cold Fusion, how could I code a C# web app, to
consume this newsfeed?
Or better yet, is there anything out there that exlains on how to cosnume
news feeds without using RSS and a Web Service?
message news:[email protected]...Mike,
I don't believe that there is. Given that the frameworks are vastly
different, as well as the languages, I imagine that it is not an easy thing
to do. You will probably have to do it on your own.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
Mike said:is there a tool that will convert cold fusion code to C#?
Or anything out there to help in this process?
thx
Nicholas Paldino said:Mike,
You can do it, as long as there is some structure to it. If you know
what the protocol for communication is (HTTP I'm assuming), as well as the
format and structure of the response of the site, then its just a matter of
programming against that specification/structure.
To download the contents through HTTP, you can use the HttpWebRequest
and the HttpWebResponse classes.
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
fromMike said:Ok, after doing some research i found the same result.
Now, here is what i'm trying to do. I'm trying to recieve a newsfeeda
web site that is coded in Cold Fusion, how could I code a C# web app, to
consume this newsfeed?
Or better yet, is there anything out there that exlains on how to cosnume
news feeds without using RSS and a Web Service?
message news:[email protected]...Mike,
I don't believe that there is. Given that the frameworks are vastly
different, as well as the languages, I imagine that it is not an easy thing
to do. You will probably have to do it on your own.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
is there a tool that will convert cold fusion code to C#?
Or anything out there to help in this process?
thx
Mike said:I just tried that and its gettng an error.
I'm assuming I can find an example of this online?
message news:[email protected]...Mike,
You can do it, as long as there is some structure to it. If you know
what the protocol for communication is (HTTP I'm assuming), as well as the
format and structure of the response of the site, then its just a matter of
programming against that specification/structure.
To download the contents through HTTP, you can use the HttpWebRequest
and the HttpWebResponse classes.
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
fromMike said:Ok, after doing some research i found the same result.
Now, here is what i'm trying to do. I'm trying to recieve a newsfeedwrotea
web site that is coded in Cold Fusion, how could I code a C# web app, to
consume this newsfeed?
Or better yet, is there anything out there that exlains on how to cosnume
news feeds without using RSS and a Web Service?
"Nicholas Paldino [.NET/C# MVP]" <[email protected]>
inmessage Mike,
I don't believe that there is. Given that the frameworks are vastly
different, as well as the languages, I imagine that it is not an easy
thing
to do. You will probably have to do it on your own.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
is there a tool that will convert cold fusion code to C#?
Or anything out there to help in this process?
thx
Nicholas Paldino said:Mike,
What exactly is the error you are getting? And how are you trying it?
If you want to create an HttpWebRequest, you have to make a call to the
static Create or the static CreateDefault method on the WebRequest class.
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
app,Mike said:I just tried that and its gettng an error.
I'm assuming I can find an example of this online?
message news:[email protected]...matterMike,
You can do it, as long as there is some structure to it. If you know
what the protocol for communication is (HTTP I'm assuming), as well as the
format and structure of the response of the site, then its just a
ofprogramming against that specification/structure.
To download the contents through HTTP, you can use the HttpWebRequest
and the HttpWebResponse classes.
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
Ok, after doing some research i found the same result.
Now, here is what i'm trying to do. I'm trying to recieve a newsfeed from
a
web site that is coded in Cold Fusion, how could I code a C# webtoconsume this newsfeed?
Or better yet, is there anything out there that exlains on how to cosnume
news feeds without using RSS and a Web Service?
in
message Mike,
I don't believe that there is. Given that the frameworks are vastly
different, as well as the languages, I imagine that it is not an easy
thing
to do. You will probably have to do it on your own.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
is there a tool that will convert cold fusion code to C#?
Or anything out there to help in this process?
thx
Mike said:Heres the snippet i'm using.
protected System.Web.UI.WebControls.Xml fetchXML;
private void Page_Load(object sender, System.EventArgs e)
{
WebRequest request =
WebRequest.Create("http://www.mediapost.com/newsfeedproc.cfm");
WebResponse response = request.GetResponse();
Stream responseStream = response.GetResponseStream();
XmlTextReader reader = new XmlTextReader(responseStream);
XmlDocument xml_doc = new XmlDocument();
xml_doc.Load(reader);
fetchXML.Document = xml_doc;
}
is it wrong, should i be doing it different way?
message news:OIYq#[email protected]...Mike,
What exactly is the error you are getting? And how are you trying it?
If you want to create an HttpWebRequest, you have to make a call to the
static Create or the static CreateDefault method on the WebRequest class.
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
wroteMike said:I just tried that and its gettng an error.
I'm assuming I can find an example of this online?
"Nicholas Paldino [.NET/C# MVP]" <[email protected]>
inasmessage Mike,
You can do it, as long as there is some structure to it. If you know
what the protocol for communication is (HTTP I'm assuming), as well
theapp,format and structure of the response of the site, then its just a matter
of
programming against that specification/structure.
To download the contents through HTTP, you can use the HttpWebRequest
and the HttpWebResponse classes.
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
Ok, after doing some research i found the same result.
Now, here is what i'm trying to do. I'm trying to recieve a newsfeed
from
a
web site that is coded in Cold Fusion, how could I code a C# webto
consume this newsfeed?
Or better yet, is there anything out there that exlains on how to
cosnume
news feeds without using RSS and a Web Service?
in
message Mike,
I don't believe that there is. Given that the frameworks are
vastly
different, as well as the languages, I imagine that it is not an easy
thing
to do. You will probably have to do it on your own.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
is there a tool that will convert cold fusion code to C#?
Or anything out there to help in this process?
thx
Mike said:is there a tool that will convert cold fusion code to C#?
Or anything out there to help in this process?