How to get the hostname or IP address of the server?
Answer Posted / praveen
string IpAddress=HttpContext.Current.Request.UserHostName;
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Please explain what is heap and what is stack?
I am constantly writing the drawing procedures with system.drawing.graphics, but having to use the try and dispose blocks is too time-consuming with graphicsobjects. Can I automate this?
What is reflection and what is it for?
What class does icon derive from? Isn't it just a bitmap with a wrapper name around it?
Explain can the validation be done in the server side? Or this can be done only in the client side?
Explain why do we use msmq?
What is difference between static page and dynamic page?
What are Satellite Assemblies? How you will create this? How will you get the different language strings?
Tell us what is json data, and what is one way that .net developers can work with json?
What is Entity Relationship Model in .NET?
What are the properties of ADO.NET?
Explain how to spawn a thread?
What exactly is being serialized when you perform serialization in .net?
Write a program to create a user control with name and surname as data members and login as method and also the code to call it.
Interop Services?