[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 190
  • Last Modified:

Easy One, first Web App using Delphi and .net. What's required.

This is an easy question I believe, but I do not have much time for research.
We have a Windows 2000 Server running IIS 5. We need to deliver a small app by year end that must be available to our employees and contractors from anywhere on the internet, (secured). Our current development platform is Delphi 7 and I just started looking at Delphi 2005. We have nothing using .net at this time. We will be using the Advantage DB engine on the backend of the Web using ADO.net.

If we did this new web app with Delphi's .net support, what additional components are required?
0
Michael
Asked:
Michael
  • 2
  • 2
2 Solutions
 
wjmfzszCommented:
Why don't you use IntraWeb. It is a good resolve web develop in Delphi?
0
 
Wim ten BrinkCommented:
If you use .NET then the webserver will need .NET version 1.1 installed on it, with ASP.NET support. This, plus the compiled Delphi project(s) and possibly the .NET assemblies that Delphi requires would be what you need to have installed on it. And you will set up the folder where it will be running as an Application folder within IIS.

I wrote my first ASP.NET/Delphi 8 application within 4 hours. It took me about a week to get it uploaded correctly to my website with a special logon screen, though. It's not as easy as it seems at first, mostly because a lot of things you have to do are configuration-based, not codebased.

One comment from me about Intraweb... It's crap. I HATE it. I've used it and it's less intuitive to use than just ASP with Delphi 8. IntraWeb also doesn't perform that well in all situations and you have to restart IIS every time when you're working with ISAPI DLL's. With .NET you don't need to restart IIS and it performs quite well. I'd only use IntraWeb if I would have to develop for an Apache server or a server that cannot handle ASP.NET for whatever reason. Otherwise, Delphi for .NET is a better alternative indeed, once you're familiar with it.
0
 
DavidBirch2dotComCommented:
"you have to restart IIS every time when you're working with ISAPI DLL's."

not necessarily there are tools which mean that you dont need to do that and can restart them "on the fly" although you will need admin access on the server to set it up - or alternativly there are hosts which have such tools already installed

some usefull links

http://community.borland.com/article/0,1410,21729,00.html
http://www.delphihost.com/ 

http://www.reddi-web.com/isapi_manager.asp - no need to restart IIS

DAvid
0
 
Wim ten BrinkCommented:
True, David. But it just means you either have to restart IIS yourself or let some tool do it for you. It's just a kind of setup I dislike. With ASP.NET and Delphi things are a lot easier. If you want to overwrite a webapplication or even remove it, you can do this without any real problems.
Of course you could use a different webbrowser with IntraWeb or even write your own webserver with this code but if you have IIS then why not use it? With ASP.NET it does become quite easy, although you do have to learn how to configure the system correctly.
0
 
DavidBirch2dotComCommented:
fair enough, I just wanted to say ISAPI dll's can be used sucessfuly
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now