IT SOLUTIONS
Your full service technology partner! 
-Collapse +Expand
Prism
Search Prism Group:

Advanced
-Collapse +Expand Prism To/From
To/FromCODEGuides
-Collapse +Expand Prism Study Test
PRESTWOODCERTIFIED
-Collapse +Expand Prism Store
PRESTWOODSTORE

Prestwood eMagazine

December Edition
Subscribe now! It's Free!
Enter your email:

   ► KBProgrammingDelphi PrismDelphi for ....   Print This     
  From the August 2008 Issue of Prestwood eMag
 
Prism Delphi for .Net Archive:
Deploying Delphi for .NET ASP.NET pages
 
Posted 18 years ago on 5/9/2006 and updated 1/20/2009
Take Away:

Tips on deploying ASP.NET pages written with Delphi for .NET 2006

KB100373

While building ASP.NET pages for a local IIS server, you may find everything to run smoothly, but then you may try to deploy to a virtualized server, and run into trouble.

Two tips:
Make sure the directory you want to deploy to is registered with IIS. The IIS console allows you to do this directly, or your service provider may be able to help in some other way.

When you deploy, you deploy files of the following form:
to the registered directory, you place:
Global.asax
Web.config (you may need to remove tags that are not supported by your web service provider)
.aspx

under the registered directory, you'll have a bin/ subdirectory. In that directory go your various project file .DLLs, and (this is the important tip), it is likely you will need Borland.Delphi.dll and Borland.Delphi.xml

This will be true unless your web service provider places Borland.Delphi.dll in the GAC on the server for you.

To get these files to deploy into your project directory locally, do the following:

1) With your ASP.NET project loaded in Delphi 2006, right-click on the References Node, and Click Add Reference...

2) Select Borland.Delphi in the list, and click [Add Reference], click [OK]
3) Expand the References node, right-click on Borland.Delphi.dll, and click Copy Local.
4) Delphi will likely issue a warning, click Yes if it does (it's warning you that, locally, the file already exists in the GAC -- but by setting it to Copy Local, you'll have an easy-to-find reminder to copy it to the bin/ directory on the server as well as on your development machine)


Comments

1 Comments.
Share a thought or comment...
Comment 1 of 2
Olá, Joshua, Você poderia me enviar algum prohjeto em Delgphi 2006 (.Net). Estou tentando inciar alguma aplicação com uso de servidor (Oracle, SQL Server, My Sql) e não encontreina nada que pudesse me ajudar. Agradeço muito. valdeci.lunguinho@terra.com.br
Posted 18 years ago

Comment 2 of 2
(I had to use a local translator here at Prestwood to read this -- yes, we can be multi-lingual too!) Valdeci basically said: "Hello Joshua, would you be able to send me some project in Delphi 2006 (.NET)? I've been trying to create an application using a (database) server (Oracle, SQL Server, My SQL) and I haven't found anything that can help me. Thank you." I would recommend to Valdeci (and others) that you reference the very useful set of online tutorials that I first used (and built up my ongoing questions from) at: http://delphi.about.com/od/aspnet/a/aspnetcourse.htm It's called "A Beginner's Guide to ASP.NET Programming for Delphi developers", by Zarko Gajic It's very clear and straightforward, and encourages some experimentation if you're at all the curious type (my series of Knowledgebase articles here are based on my tangents-explored while following his tutorial as a "skeleton").
Posted 18 years ago
 
Write a Comment...
...
Sign in...

If you are a member, Sign In. Or, you can Create a Free account now.


Anonymous Post (text-only, no HTML):

Enter your name and security key.

Your Name:
Security key = P144A1
Enter key:
KB Post Contributed By Joshua Delahunty:
I am a software engineer with many years professional experience, using everything from 6809 assembly language to C, C++, Delphi, Paradox for Windows, and Borland JBuilder.
Visit Profile

 KB Article #100373 Counter
22673
Since 4/2/2008
Go ahead!   Use Us! Call: 916-726-5675  Or visit our new sales site: 
www.prestwood.com


©1995-2024 Prestwood IT Solutions.   [Security & Privacy]