Globalizing Web Community Menu

Home
Mission
Message
Blog
Downloads
Favorite Links
Thanks
Invitation
Coty

     
Login or Register
Information Site

Back To Blog

Archive Links


August 18, 2006


February 25, 2006
February 8, 2006
January 15, 2006
November 16, 2005
October 31, 2005
October 1, 2005
September 20, 2005
September 3, 2005


   
Message 11/16/2005 5:09:53 AM



After being interrupted for 10 days by 3 different projects, small and large, the Coty Blog Section has been finally completed today.
Before the interruption, the text part of the Blog was already in place, but it took a long time to display the Blog pictures. For displaying the Blog pictures, I adopted the system from the Community Starter Kit, in which the images are called from the Database and displayed by “context.Response.BinaryWrite” through a HttpHandler to process the files with the “.jpg” extension. However, when I implemented this system, the images never displayed. Therefore, after the interruptions, I studied about the HttpHandler and found out that, in order for the HttpHandler to process a particular extension, the IIS metabase (ISAPI EXTENSION) must be configured to send the extension to aspnet_isapi.dll (Asp.net metabase). Since it is out of the question to manipulate the IIS metabase of my Internet provider, I must utilize the “.ashx” extension, which is reserved to activate a HttpHandler. After changing the extension from “.jpg” to “ashx”, the image retrieval code worked for the test page but not for the image blog pages. So, by further investigating on this issue, I found out that you need to give the relative path in front of the file name to the directory where the blog “ascx” files reside. Once this path is given, the Blog images are finally displayed.
Switch to Japanese

Comments: 0    Trackbacks: 0





Write a comment

TrackBack Address:
http://www.timeo.com/TrackBack.aspx?ID=46
   

RSS FEED