Geeks With Blogs
Saqib Ullah BootStrapper Know How
Many time developer required specific port for development when he/she using Visual Studio for application development. They specify port by taking Properties of the Web Site and select Web option. Under Server option select Use Visual Studio Development Server and then set port in Specific Port option.
Ok when Windows Azure developer need to set a specific port to the WebRole application they need to take different approach. From Solution Explorer Window select open WebRole Section in my case[AzureTableApp] is and then open Roles folder and take properties of any WebRole in your application in my case [ServiceEndWebRole].

Under Properties select Endpoints option, by default Endpoint1 is selected. 
Double click on Public Port and set the specific port in the textbox. Now open Service Definition file from Solution Explorer [ServiceDefinition.csdef].

Here your Service Definition file has been updated with the specific port. 


Posted on Monday, April 25, 2011 3:29 AM .Net | Back to top

Comments on this post: How To Set Public Port for Web Role [Windows Azure]

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © Saqib Ullah | Powered by: | Join free