.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

what is asp.net isapi?

Posted By:      Posted Date: September 09, 2010    Points: 0   Category :ASP.Net
Hi,Can anybody tell me in very simple language what asp.net isapi is?

View Complete Post

More Related Resource Links

ASP.NET: Intercept, Monitor, and Modify Web Requests with HTTP Filters in ISAPI and ASP.NET


There can be many reasons to reroute incoming Web requests. For instance, sometimes it's necessary to redirect a browser to a page based on user criteria without passing long lists of parameters in the URL. In the past, the only way to intercept such page requests and send them elsewhere was with ISAPI. Now, in ASP.NET, the IHttpModule interface provides notification of server requests, and lets you easily reroute them based on criteria other than browser type or version. Here the author demonstrates the use of IHttpModule for interception and explains the use of ISAPI filters for anyone who isn't yet using ASP.NET.

Panos Kougiouris

MSDN Magazine August 2002

ISAPI Extensions: Creating a DLL to Enable HTTP-based File Uploads with IIS


The MIME-compliant content type, called multipart/form-data, makes writing HTML that uploads files almost trivial. On the server side though, ASP does not have a way to access data in the multipart/form-data format. The most flexible way to access the uploaded file is through a C++ ISAPI Extension DLL. This article describes a reusable ISAPI extension DLL that allows you to upload images and files without writing C++ code. It is coupled with a few COM components that make it readily reusable for ASP development. With .NET, this whole process is much easier, and this article shows preliminary code that uploads files using ASP.NET features.

Panos Kougiouris

MSDN Magazine October 2001

ISAPI Filters: Designing SiteSentry, an Anti-Scraping Filter for IIS


The Microsoft Internet API for IIS, ISAPI, sits between the client and the Web server. Therefore, you can access the HTTP data stream before IIS gets to see it. The project in this article takes advantage of the ISAPI architecture to create a filter that monitors access to a Web site to determine if visits are from typical users or from automated processes designed to pilfer information from your site. The author tracks the regularity of visits to the site to determine the likely source. Once the determination is made, the app either redirects the user or continues to track information about those hits.

Rodney Bennett

MSDN Magazine October 2001

IIS 7 error Handler "svc-ISAPI-4.0_32bit" has a bad module "IsapiModule" in its module list

Hi experts, I'm trying to  host my WCF(3.5) on IIS7  and I get the below error.  HTTP Error 500.21 - Internal Server Error Handler "svc-ISAPI-4.0_32bit" has a bad module "IsapiModule" in its module list   I tried reinstalling >net 4(Some forum mentioned to do that) and also aspnet_regiis.exe -i in VS 2010 command prompt. Thanks in advance, KP Nothing helped.

Central Administration Could not retrieve ISAPI filters

I am having trouble with CA. When I try to open it errors pops up in event viewer  - Could not load all ISAPI filters for site 'SHAREPOINT CENTRAL ADMINISTRATION V3'.  Therefore site startup aborted. - The update cannot be started because the content sources cannot be accessed. Fix the errors and try the update again. Context: Application 'Search', Catalog 'index file on the search server Search' SO I wanted to add those filters and I went to ISAPI filters of CA but whe I try to open ISAPI , I receive following error  Filename \\?\C:\Windows\System32\inetsrv\config\applicationHost.config , line number 3155 Cannot add duplicate collection entry of type 'filter' with unique key attribute 'name' set to 'ASP.Net_2.0.50727'  Config Source:  <isapiFilters>                 <filter name="ASP.NET_2.0.50727.0"  path="C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_filter.dll"  enableCache="true" preCondition="bitness32"/> <filter name="ASP.NET_2.0.50727.0"  path="C:\Windows\Microsoft.NET\Framework64\v2.0.50727\aspnet_filter.dll"  enableCache="true" preCondition="bitness64"/>             </isapiFilters>

WCF Service hosted inside SharePoint 2010's ISAPI folder and MaxReceivedMessageSize


I got a WCF service hosted inside the SharePoint 2010 following this article http://answers.oreilly.com/topic/1404-how-to-customize-wcf-services-in-sharepoint-2010/

Everything was going great until I wanted to increase the MaxReceivedMessageSize however there is no configuration file for this service.

I tried to add a configuration file to be deployed along with the svc service in the same directory inside the ISAPI mapped folder but I get this error:

The service '/_vti_bin/epcc/messagesarchive/contactssearcher.svc' cannot be activated due to an exception during compilation.  The exception message is: Could not find a base address that matches scheme http for the endpoint with binding BasicHttpBinding. Registered base address schemes are []..

Here is my configuration,

   <service name="WCFServices.ContactsSearcher.ContactsSearcher" behaviorConfiguration="ContactsSearcherBehavior">
    <endpoint address="ContactsSearcher"
    <endpoint address="mex"

SSO to SharePoint through ISAPI extension

We have some integration code to enable SSO to SharePoint through ISAPI extension. It worked fine with SharePoint 2007, but with SharePoint 2010, SSO stops working unless SharePoint's anonymous access is enabled.

The key component of the Integration code is an ISAPI extension installed on IIS. This extension uses the user attributes available on the incoming request to get a Kerberos ticket (through S4U2proxy) and impersonate the user through HSE_REQ_EXEC_UNICODE_URL support function.
With anonymous authentication enabled in IIS and our ISAPI extension first on the handler mapping list, we found that we also had to enable SharePoint's anonymous access by following the steps listed in http://blog.drisgill.com/2009/11/sp2010-branding-tip-9-turn-on-anonymous.html; otherwise, users would get prompted for username/password, before our ISAPI extension was even invoked. Note that we didn't need to enable anonymous access for SharePoint 2007.
So the questions are:
1. Is enabling anonymous access the right thing to do? Any security implications? 
2. Why anonymous access needs to be enabled for SP 2010 but not SP 2007?
3. In general, how SharePo

No dll in ISAPI folder


Hey everybody

I'm just trying to take my first Workflow-Steps in Visual Studio 2008. The book I'm using prompts me to add references to Microsoft.Sharepoint assemblies (path: \Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\ISAPI). Unfortunately, the ISAPI folder is empty, so I guess I'm missing something pretty basic here.

Can anybody help?


ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend