![]() ![]() When you are working with templates, they should be located inside the Templates folder, located below your application main executable. This should be done in ServerController.OnConfig event handler. IntraWeb server WON’T ever serve a file outside its ContentPath (You may also set a different ContentPath folder for your IntraWeb application. ![]() On the other hand, if you save your SomeImage.png file under wwwroot folder, you only should use the file name, so in this case you will have:.If you have an TIWImageFile control (for instance) and its ImageFile.FileName property points to /Files/SomeImage.png, you must have the SomeImage.png file under.If this is your case, OK, but have in mind that: Many users prefer not to move their files to wwwroot folder because they have been working with /Files/ folder for a long time. ![]() This new directory is named wwwroot (just like IIS) and resides below your application main binary file (your EXE or DLL IntraWeb application file): There is a new directory where you should put all your static files like images, JavaScript, style sheets (CSS), etc. New ContentPath Directoryįirst thing: Forget everything you know about the old /Files/ directory! □ This document details the changes to IntraWeb 14 which may affect users upgrading from older IntraWeb versions. In order to keep current with changes in browsers, web servers, as well as Delphi/C++ changes and platforms some code must be changed. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |