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

Home Posts Topics Members FAQ

ISAPI Filter in C# .NET 2.0

Hi,

Does anyone know if in the next version of asp.net / C# (2.0)
Would be possible to write an ISAPI Filter in C#?

Thanx.
Nov 19 '05 #1
4 4789
AFAIK, no. But, you can get the same functionality as an ISAPI filter by
using HttpModules and HttpHandlers, so I am not sure I see the need. What, in
particular, are you aiming at doing with an ISAPI filter that you cannot do
with built in .NET functionality?

A few links:
http://aspalliance.com/726 - shows how to embed resources to avoid handlers

http://www.gotdotnet.com/workspaces/...5-3fa0f4742032 - sample project with a handler

http://www.15seconds.com/issue/030522.htm - aimed at 1.1, but you can use
this to get an idea of how a module is created

http://west-wind.com/weblog/posts/2473.aspx - note this gotcha if you drop
the code in your project app_code folder

http://weblogs.asp.net/ShankuN/archi...16/215487.aspx - image
generator handler example

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************** ************
Think Outside the Box!
*************** ************
"Yet another C# coder" wrote:
Hi,

Does anyone know if in the next version of asp.net / C# (2.0)
Would be possible to write an ISAPI Filter in C#?

Thanx.

Nov 19 '05 #2
No.

"Yet another C# coder" <ge***@hotmail. com> wrote in message
news:OO******** ******@TK2MSFTN GP09.phx.gbl...
Hi,

Does anyone know if in the next version of asp.net / C# (2.0)
Would be possible to write an ISAPI Filter in C#?

Thanx.

Nov 19 '05 #3
I'm not 100% sure, but I believe this is more a feature of IIS than .Net.
There's talk about this for IIS 7.0, but everything's in early beta so it's
hard to tell.

You might want to check out:
http://blogs.msdn.com/david.wang/arc...ory/10432.aspx

for some details though.

karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
"Yet another C# coder" <ge***@hotmail. com> wrote in message
news:OO******** ******@TK2MSFTN GP09.phx.gbl...
Hi,

Does anyone know if in the next version of asp.net / C# (2.0)
Would be possible to write an ISAPI Filter in C#?

Thanx.

Nov 19 '05 #4
native support of .net filters will be supported in IIS 7.0, which is still
some time away, as it requires the next version of the O/S (no 2003
support).

-- bruce (sqlwork.com)
"Yet another C# coder" <ge***@hotmail. com> wrote in message
news:OO******** ******@TK2MSFTN GP09.phx.gbl...
Hi,

Does anyone know if in the next version of asp.net / C# (2.0)
Would be possible to write an ISAPI Filter in C#?

Thanx.

Nov 19 '05 #5

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

Similar topics

1
1661
by: Aaron | last post by:
whats the difference between an isapi filter and isapi extension? thanks
1
1248
by: balaji | last post by:
How can i design an ISAPI Filter that works with IIS-6.0 on win 2003 platform. I already have an ISAPI Filter that i designed for working with IIS 5.x and that works fine . I am finding a problem with the ISAPI Filter designed for IIS 6 since the SF_NOTIFY_READ_RAW_DATA is not supported. Can anyone suggest an alternative for the above notification? thks for any help.
2
2041
by: Norton | last post by:
I had a person tell me the other day that a person would not be able to beat the efficiency of an ISAPI dll, especially by using handlers/modules. Of course, they could only say the reason was that it is written in C++, which should have nothing to do with it. But, in general, can you write a handler that will handle just as many connections as an ISAPI dll? Isn't a handler a managed code answer to the ISAPI dll solution? Thanks.
2
2592
by: Jon Maz | last post by:
Hi All, I've been looking into options for URL Rewriting in .net, and to be honest, I haven't seen anything that's easier than the old Classic Asp solution with an ISAPI filter redirecting to an .asp page with responsibility for handling the redirect. I'm now planning to use this solution with my next .net project, and was wondering if anyone else out there has done this already, and what problems (if any) arise. Hopefully the news...
4
1898
by: Serg | last post by:
How do I install ISAPI filter in IIS? I need ISAPI filter to process folder paths such as http://MyUrl/folder1/folder2/folder3 There is no "ISAPI filters" tab in my IIS. Thanks!
2
2078
by: Drew Burchett | last post by:
I am currently coding an ISAPI filter and I would like to use some .Net functionality within the filter. However, when I include calls to anything in the framework, it locks the dll and will not release it until I restart the machine. Even after restarting the W3SVC and removing it from the list of ISAPI filters, it still has a lock on it. Any ideas why?
4
1904
by: Jeeran | last post by:
We use an ISAPI filter to convert long urls into short clean ones. For example: "Site.com/user/john/" Is re-written as: "Site.com/user/userinfo.aspx?uid=john" Now, "userinfo.aspx" contains a web user control which uses some Atlas functionality; The web user control contains a "DataList" which gets updated asynchronously through Atlas when the user clicks a button –the button is the Atlas trigger.
2
1964
by: Sheila | last post by:
Hi, I have setup a Sharepoint 2003 server which has an ISAPi filter installed, now I want to develop a HTTPModule which needs to run before the ISAPI filter. So my question is, if a HTTPModule and an ISAPI filter are installed on the same web virtual directory, which one will process first? Thanks in advance.
0
1648
by: Chris Curvey | last post by:
Hi all, I'm trying to write an ISAPI filter in Python, using the examples that come in the "isapi" directory of the win32com package. The installation program itself runs fine, but when I examine the properties of my web server, my filter has a big red down arrow next to it. But I can't seem to figure out where I should be looking to find the trouble. If anyone can point me to the right place (or see an obvious error in the code...
0
8617
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
9174
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9035
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...
1
8914
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8884
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...
1
6534
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5875
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
4629
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2009
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.