Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I have a situation where I need to write a program which accepts data via a HTTP Post. The program will be an upgrade to an existing application which is called app1.dll. Many people use this already and it's impratical to ask them to change their systems so I will need my program to be called app1.dll.

 

I have Visual Studio .NET 2003 and I'm familiar with creating asp.net and vb.net applications but I'm unsure of how to create a DLL which accepts data directly, i.e without going through an aspx page.

 

Can anyone help?

 

Cheers,

Fred

Posted

>You will need to provide some kind of applicatiom to accept the HTTP Post >and have that call the DLL, personally I would recomend looking at >WebServices as a possible solution.

 

As I said... "it's impratical to ask them to change their systems so I will need my program to be called app1.dll."

  • Administrators
Posted

Does the existing app1.dll accept http posts at the moment? If not then won't these modifications require them to make changes to use HTTP Posts?

If they wish to continue using the DLL as is then you could create a web service that will receive the http requests and formward them to the DLL for the clients requiring this feature, while the rest just use the dll directly.

 

It may help if you give a bit more detail about what the existing app1.dll currently does / where these requirements have come from and the need for this change.

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Posted
Does the existing app1.dll accept http posts at the moment? If not then won't these modifications require them to make changes to use HTTP Posts?

 

The existing DLL does accept posts. The DLL was written in Delphi and I need to rewrite it in VB.NET.

 

The existing clients have web pages with forms that have the action attribute set to the dll. I.E form action="app1.dll/auth" and this cannot change.

Posted
The existing DLL does accept posts. The DLL was written in Delphi and I need to rewrite it in VB.NET.

 

The existing clients have web pages with forms that have the action attribute set to the dll. I.E form action="app1.dll/auth" and this cannot change.

 

 

hmmm...you might need to create a tricky function that can handle that type of code and translate it into vb.net language. i had done something like that in the past but it was simpilar.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...