How to get the client ip address in ASP.Net MVC?

Posted by melaos on Stack Overflow See other posts from Stack Overflow or by melaos
Published on 2010-04-05T08:25:17Z Indexed on 2010/04/05 8:33 UTC
Read the original article Hit count: 442

Filed under:
|
|
|
|

hi guys, i'm totally new to the asp.net mvc stack and i was wondering what happened to the simple Page object and the Request ServerVariables object?

basically what i wanted to do is to pull out the client's pc ip address. but i fail to understand how the current MVC structure has changed all of this.

as far as i can understand, most of the variable object has been replaced by the HttpRequest variants?

anybody care to share some resources? really a sea of stuff to learn in the asp.net mvc world :)

thanks.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about mvc