Click here to Skip to main content
15,899,754 members
Home / Discussions / C#
   

C#

 
AnswerRe: Runtime Compiling and references Pin
S. Senthil Kumar15-Nov-05 0:28
S. Senthil Kumar15-Nov-05 0:28 
GeneralRe: Runtime Compiling and references Pin
rnvrnv15-Nov-05 1:50
rnvrnv15-Nov-05 1:50 
QuestionHow to handle graphic object? Pin
pmasknguyen15-Nov-05 0:03
pmasknguyen15-Nov-05 0:03 
QuestionEquivalent for "Module" in C# Pin
Lebanese14-Nov-05 23:55
Lebanese14-Nov-05 23:55 
AnswerRe: Equivalent for "Module" in C# Pin
Vitaliy Kourokhtin15-Nov-05 0:11
Vitaliy Kourokhtin15-Nov-05 0:11 
GeneralRe: Equivalent for "Module" in C# Pin
Lebanese15-Nov-05 1:01
Lebanese15-Nov-05 1:01 
GeneralRe: Equivalent for "Module" in C# Pin
User 665815-Nov-05 2:40
User 665815-Nov-05 2:40 
AnswerRe: Equivalent for "Module" in C# Pin
Russell Jones15-Nov-05 4:29
Russell Jones15-Nov-05 4:29 
QuestionClear portion of bitmap Pin
Vitaliy Kourokhtin14-Nov-05 23:39
Vitaliy Kourokhtin14-Nov-05 23:39 
QuestionHow can i insert a new row of item .... Pin
RookieProgrammer14-Nov-05 23:08
RookieProgrammer14-Nov-05 23:08 
AnswerRe: How can i insert a new row of item .... Pin
RookieProgrammer14-Nov-05 23:14
RookieProgrammer14-Nov-05 23:14 
AnswerRe: How can i insert a new row of item .... Pin
leejo12316-Nov-05 17:44
leejo12316-Nov-05 17:44 
Questionreduce dfa Pin
buicongthanh14-Nov-05 23:05
buicongthanh14-Nov-05 23:05 
AnswerRe: reduce dfa Pin
Dave Kreskowiak15-Nov-05 6:43
mveDave Kreskowiak15-Nov-05 6:43 
Questionnfa to dfa Pin
buicongthanh14-Nov-05 22:51
buicongthanh14-Nov-05 22:51 
AnswerRe: nfa to dfa Pin
leppie14-Nov-05 23:28
leppie14-Nov-05 23:28 
QuestionMouse capture in direct show Pin
gokeeffe14-Nov-05 22:26
gokeeffe14-Nov-05 22:26 
QuestionISAPI filter in .NET Pin
leejo12314-Nov-05 22:24
leejo12314-Nov-05 22:24 
AnswerRe: ISAPI filter in .NET Pin
Dave Kreskowiak15-Nov-05 6:37
mveDave Kreskowiak15-Nov-05 6:37 
GeneralRe: ISAPI filter in .NET Pin
leejo12315-Nov-05 17:34
leejo12315-Nov-05 17:34 
GeneralRe: ISAPI filter in .NET Pin
Dave Kreskowiak16-Nov-05 2:55
mveDave Kreskowiak16-Nov-05 2:55 
Sure, you could move the logic to a newer .DLL. .NET won't have anything to do with this though, since ISAPI filters have no support in the .NET Base Class Library.

If you want to get this to work in Managed Code (C#, VB.NET, Managed C++), you could. But like I mentioned before, there is a performance penalty for going between managed and unmanaged code. There is a reason why you don't see examples of ISAPI implementations in C#.

If all your doing is blocking requests from certain IP's, nets, or entire countries, your best tool is still the firewall sitting in front of your web server. That's it's entire mission in life! To stop "this and that" traffic from reaching a network its protecting. If the firewall is blocking traffic from IP's, and more importantly, traffic trying to reach certain ports on machines inside the wall, your web server has less work to do that has nothing to do with serving web pages. Why have the web server run more code than it needs to?

By putting up the firewall and blocking everything that isn't going to port 80, or whatever port your using for HTTP, you reduce the attackable surface of your web server, thereby increasing its security and reliability.


Now, as I get off the Soapbox, there are HttpHandler and HttpModule interfaces that can provide similar functionality to ISAPI, though not a complete replacemnet for ISAPI. Look here[^] for some introduction and docs.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

Questionvs2003 and .net 2.0 question Pin
zhangxinghai14-Nov-05 21:52
zhangxinghai14-Nov-05 21:52 
AnswerRe: vs2003 and .net 2.0 question Pin
MoustafaS14-Nov-05 22:28
MoustafaS14-Nov-05 22:28 
AnswerRe: vs2003 and .net 2.0 question Pin
mav.northwind15-Nov-05 0:30
mav.northwind15-Nov-05 0:30 
Questionupdating data in text file for windows application Pin
orrjiao14-Nov-05 21:06
orrjiao14-Nov-05 21:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.