473,378 Members | 1,347 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Can we have the ResolveURL functionality within *.ashx files?

Hi,

Is it possible to have the functionality of ResolveURL within *.ashx files?

Thank you,

Max

Sep 28 '07 #1
2 5135
Hi,

see:

ResolveUrl() without Page
http://west-wind.com/weblog/posts/154812.aspx
--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net
"Max2006" <al*******@newsgroup.nospamwrote in message
news:uv**************@TK2MSFTNGP05.phx.gbl...
Hi,

Is it possible to have the functionality of ResolveURL within *.ashx
files?

Thank you,

Max

Sep 29 '07 #2
How to resolve relative url's without ResolveUrl
http://dotnettipoftheday.org/tips/Vi...oAbsolute.aspx

"Max2006" wrote:
Hi,

Is it possible to have the functionality of ResolveURL within *.ashx files?

Thank you,

Max

Oct 31 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Lloyd Sheen | last post by:
I have a weird (at least to those who think the IDE should work) problem. I have in code the following: psFiles = Page.ResolveUrl("/Pictures") This resolves to /Pictures in the code In...
1
by: Detlef Hüttenbach | last post by:
There is a bug within the Handler factory that messes up the streams loaded from memory. Workaround: Don't use the HandlerFactory, i.e.: ashx-handlers when you need to print images from streams...
0
by: JJ | last post by:
I am trying to use .ashx files to handle dynamic image requests. The aspx page needs to pass the data to the ashx file. It was decided to not use the query string. Instead we hoped we could use the...
2
by: Roshawn Dawson | last post by:
Hi, While browsing the web, I came across a file extension in ASP.NET called ..ashx. Does anyone know what this file type is for? Is it useful? How do you use it? Thanks, Roshawn
0
by: Jason Chan | last post by:
I wanna to create ashx file to generate image on the fly. In VS Add New Item dialog, I cannot find the ashx template. So what I do is create a text file and rename it to .ashx However I cannot...
0
by: Augustin Prasanna | last post by:
How do i add .ashx files to content files when i am packaging my web project into an .msi using a web setup project? Regards, Augustin
6
by: tshad | last post by:
I am finally getting the path to the Current Page using Page.ResolveURL. I am now getting "/jobSeeker/displayCompanyOverview.aspx" which is what I was looking for. But what is the syntax to...
2
by: Max2006 | last post by:
Hi, After I right-click on my web application project file and choose "Publish ." and do the publishing, the result publishable files does not include the *.ashx files. Is it by design? How...
5
by: macap.usenet | last post by:
Hello, I am creating Gif-Images (8bit: 256 colors) with using the IHttpHandler and .ashx-Files. My ProcessRequest-Method looks like this: public void ProcessRequest(HttpContext context) {
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.