What is the difference between using system.net and system.net.sockets?
Answer / narendra
System.Net:The System.Net namespace provides a simple programming interface for many of the protocols used on networks today. The WebRequest and WebResponse classes form the basis of what are called pluggable protocols, an implementation of network services that enables you to develop applications that use Internet resources without worrying about the specific details of the individual protocols.Classes in the System.Net namespace can be used to develop Windows Store apps or desktop apps. When used in a Windows Store app, classes in the System.Net namespace are affected by network isolation feature, part of the application security model used by the Windows Developer Preview. The appropriate network capabilities must be enabled in the app manifest for a Windows Store app for the system to allow network access by a Windows Store app. For more information, see the Network Isolation for Windows Store Apps.
System.Net.Socket:The System.Net.Sockets namespace provides a managed implementation of the Windows Sockets (Winsock) interface for developers who need to tightly control access to the network.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to set the debug mode
What is entity graph? : Entity framework
What are the new enhancements done in default project template of asp.net mvc 4?
What is the property available to check if the page posted or not
Can you explain renderbody and renderpage in asp.net mvc?
What is NonActionAttribute ?
Is it possibe to run 2 aplication on single m/c, one App is on .Net Framework 1.0 and another one is on .Net Fremework 2.0?
What is the use of display modes?
Httpcontext objects?
explain why t4 entity is important in entity framework?
How do I use partial view?
Microsoft introduced c# as a de facto language of the .NET platform. What is mean by de facto and fot what purpose? Please answer me. Advance thanks.