Click here to Skip to main content
15,915,319 members
Home / Discussions / C#
   

C#

 
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 
Is it possible? Yes. Practical? No.

There is a bunch of Interop code that has to sit between your Managed C# code and the Unmanaged code world of IIS. This just adds a bunch of overhead to each and every request going to the web server. That means you're sacrificing your web servers performance to use a managed language.

If this is really how you want to go about it, write it in C++. I don't think you'll find any examples of doing this in C#. Oh! You'll also probably have to write a management utility to go along with this filter. How else are you going to tell the filter what addresses to block?

But, if all you want to do is block requests from certain IP's, then that what the firewall is for. Put the block where it belongs and leave the web server running as little code as possible to do its job. This will only result in better stability and easier management of the server.


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

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 
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 
QuestionDatagrid event Pin
Prashant Gadhave14-Nov-05 17:39
Prashant Gadhave14-Nov-05 17:39 
AnswerRe: Datagrid event Pin
Prashant Gadhave14-Nov-05 17:56
Prashant Gadhave14-Nov-05 17:56 
QuestionGUI problem Pin
ppp00114-Nov-05 16:12
ppp00114-Nov-05 16:12 
AnswerRe: GUI problem Pin
Christian Graus14-Nov-05 16:28
protectorChristian Graus14-Nov-05 16:28 
GeneralRe: GUI problem Pin
ppp00114-Nov-05 16:58
ppp00114-Nov-05 16:58 
GeneralRe: GUI problem Pin
S. Senthil Kumar14-Nov-05 17:54
S. Senthil Kumar14-Nov-05 17:54 
GeneralRe: GUI problem Pin
ppp00114-Nov-05 19:33
ppp00114-Nov-05 19:33 
GeneralRe: GUI problem Pin
S. Senthil Kumar15-Nov-05 0:31
S. Senthil Kumar15-Nov-05 0:31 
QuestionGet NDoc running in .NET 2.0? Pin
wout de zeeuw14-Nov-05 12:57
wout de zeeuw14-Nov-05 12:57 
AnswerRe: Get NDoc running in .NET 2.0? Pin
wout de zeeuw14-Nov-05 13:15
wout de zeeuw14-Nov-05 13:15 
GeneralRe: Get NDoc running in .NET 2.0? Pin
wout de zeeuw14-Nov-05 13:18
wout de zeeuw14-Nov-05 13:18 

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.