473,782 Members | 2,699 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASHX handler using codebehind ?

As VS.NET is not being very supportive in creating a ASHX http handler, i
would like to use a codebehind VB file as to get intellisense features etc
on it's code.

I just cannot get ashx to work with codebehind, the only reference claiming
it can be done i could find in google is this:

http://weblogs.asp.net/kdente/posts/10622.aspx

I tried using the class name as suggested, to no avail...

Does anyone know of a code example of a ashx using codebehind ?

Thanx,

Bart
Nov 18 '05 #1
2 5174
Find informations of HttpHandlers !

Aurel

"Bart Adriaanse" <ba*********@ho tmail.com> a écrit dans le message de news:
3f************* ********@news.x s4all.nl...
As VS.NET is not being very supportive in creating a ASHX http handler, i
would like to use a codebehind VB file as to get intellisense features etc
on it's code.

I just cannot get ashx to work with codebehind, the only reference claiming it can be done i could find in google is this:

http://weblogs.asp.net/kdente/posts/10622.aspx

I tried using the class name as suggested, to no avail...

Does anyone know of a code example of a ashx using codebehind ?

Thanx,

Bart

Nov 18 '05 #2
I have searched for "webhandler " "httphandle r" and a whole bunch of other
related keywords, to no avail...

I wouldn't be posting here if i weren't desperate...

(Well, not realy, the ASHX works fine, as long as the code is in the same
file, it's just that it would be nice to split it)

Bart
"Aurel" <We************ **@hotmail.com> wrote in message
news:eJ******** ******@TK2MSFTN GP10.phx.gbl...
Find informations of HttpHandlers !

Aurel

"Bart Adriaanse" <ba*********@ho tmail.com> a écrit dans le message de news: 3f************* ********@news.x s4all.nl...
As VS.NET is not being very supportive in creating a ASHX http handler, i would like to use a codebehind VB file as to get intellisense features etc on it's code.

I just cannot get ashx to work with codebehind, the only reference

claiming
it can be done i could find in google is this:

http://weblogs.asp.net/kdente/posts/10622.aspx

I tried using the class name as suggested, to no avail...

Does anyone know of a code example of a ashx using codebehind ?

Thanx,

Bart


Nov 18 '05 #3

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

Similar topics

0
2711
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 Session or the Context cache. e.g. (in the aspx page) Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Me.Context.Current.Items.Add("Msg", "NAM2") Me.Session.Add("Msg", "NAM2")...
6
2789
by: Philipp Schmid [MSFT] | last post by:
I am trying to add a Generic Handler (ASHX) to my web site solution. In order to do that I have to specifiy an assembly name in the web.config file. But since 2.0 web sites are no longer pre-compiled I get an error when trying to load the first page. <system.web> <httpHandlers> <add verb="GET,POST" path="*.angel" type="Namespace.MyHandler" />
3
4087
by: Tim | last post by:
Guys I am trying to create an ashx IHttpHandler that will provide images for me. This is what I have done so far. ' Start test.ashx <%@ WebHandler Language="VB" Class="testashx" %>
2
6377
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 can I add *.ashx files to the publish target?
0
1947
by: nickmarkham | last post by:
Hi, I have 'localized' the button images in my web app by using an HTTP handler file for each image so the correct langauge imagebutton can be loaded depending on the users language. In the ASHX file, i set the CurrentUICulture for the current thread using the following line, which reads the users' broswer default langauge. This works fine. Thread.CurrentThread.CurrentUICulture = New CultureInfo(context.Request.UserLanguages(0)) ...
3
5788
by: JJ | last post by:
I am using a handler (processImage.ashx) to display an image. The image is displayed according to parameters passed in the querystring. The handerl is called via some clientside javascript. I want to send an array of unknown length to the handler. I am not sure whether the querystring is the best place to do this. What's the best way to send an array held in the client side javascript to the handler? Thanks in advance, JJ
0
1647
by: =?Utf-8?B?UGhpbCBKb2huc29u?= | last post by:
Hi, We have an asp.net web application with an .ashx handler that is called from javascript from the same web app. We used to run the web app on one server and the ashx calls from the javascript running in the client browser worked fine. Now we have another server with the application on it and the two servers are running in a web farm.
0
2376
by: =?Utf-8?B?Um9nZXIgTWFydGlu?= | last post by:
I have a web site under .NET 2.0 that renders videos using the Silverlight media player. The <asp:MediaPlayercontrol only works on .NET 3.5, but I managed to get things working under .NET 2.0 by working with the javascript rather than the server control. The web page looks like this: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="video5.aspx.cs" Inherits="GalleryServerPro.Web.video5" %>
3
17696
by: George | last post by:
I am doing an AJAX call using JQuery on my page to which returns JSON objects and everything works fine. Now I decided to use ashx handler instead of and simply write JSON out. Then my problems begun. So here is JQuery call $.ajax({ type: 'POST', url: url,
0
9474
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10143
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9939
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8964
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6729
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5507
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4040
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3633
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2870
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.