Port Communication For Addins
Content
There are lots of problems which can be solved by working over ports specially when doing some complex integration of applications where we need to send the request over port and need to listen the same.
This small tutorial will help how to listen the response and send the request over the port.
This is very basic Server to App Communication which is followed by almost every small app which works on Internet and do some sort of communication.
Hope this will help all in some aspect.
Version
Any VersionCode Snippet
before all this you need to hit the acl url in commandprompt netsh http add urlacl url="http://+:1006/" user=everyone Sending a Request over a PORT Select any Localhost port say 1006 URL = http://127.0.0.1:1006/StartingPoint?Param1&Param2&Param3 HttpWebRequest request = (HttpWebRequest)WebRequest.Create(URL); request.Method = "GET"; request.ContentType = null;
Tagged:
5