Configuring Endpoints settings on Azure

How  to  Configuring Endpoints settings on Azure?

hi,
Generally, we could set the endpoint on azure project file. We right- click on the role file and select "properties", like below pictures.
And then we could set the endpoints into project, like below picture.
After do this, we could using the endpoint into woker role or web role,like this ,
serviceHost = new ServiceHost(typeof(WcfService));
NetTcpBinding binding = new NetTcpBinding(SecurityMode.None);
string internalIP = RoleEnvironment.CurrentRoleInstance.InstanceEndpoints["WcfEndpoint"].IPEndpoint.Address.ToString();
int internalPort = RoleEnvironment.CurrentRoleInstance.InstanceEndpoints["WcfEndpoint"].IPEndpoint.Port;
string inputIP = RoleEnvironment.CurrentRoleInstance.InstanceEndpoints["InputEndpoint"].IPEndpoint.Address.ToString();
int inputPort= RoleEnvironment.CurrentRoleInstance.InstanceEndpoints["InputEndpoint"].IPEndpoint.Port;
string internalEndpoint = String.Format("net.tcp://{0}:{1}/LoanCalculator", internalIP, internalPort);
string inputEndpoint = String.Format("net.tcp://{0}:{1}/LoanCalculator", inputIP, inputPort);
// cpu
serviceHost.AddServiceEndpoint(typeof(ServiceLib.IF.IWcfService), binding, inputEndpoint);
serviceHost.AddServiceEndpoint(typeof(ServiceLib.IF.IWcfService), binding, internalEndpoint);
try
serviceHost.Open();
catch {
You could get some sample using Bing search. Also, you could refer to this wpf and wcf code sample:
http://www.codeproject.com/Articles/188464/Host-WCF-Services-in-an-Azure-Worker-Role
Hope this helps.
Regards,
Will
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • How do I configure the settings on my MBP and Apple TV so it will stream my Netflix movies from my MBP to the TV Screen?]

    I bought a new Apple TV 3rd Gen.(which is currently updated) so I could stream the Netflix movies on my MacBook Pro Computer running Yosemite, onto my TV Screen. However, if I configure the settings on my Computer and Apple TV so that everything on my Desktop is displayed on the TV Screen, then Netflix can't even get the movie on my MBP open. It just keeps spinning until I get an error message about not being able to use Mirroring or Air Play if I want to stream my movie to the TV. So, when I switched the settings so that all mirroring and Air Play options were unchecked and selected all the streaming options using the internet. Then the Netflix movie would open up quick and easy, but there was nothing on the TV Screen.
    I also was never able to Pair my Apple TV with my Bluetooth.(If they;re even supposed to be Paired, but something I read implied they should be Paired.f)  My MBP Bluetooth discovered the Apple TV immediately and issued a Pairing Number to enter in the Bluethooth's setting for the Apple TV, but the Apple TV Bluetooth just kept spinning. I don't know if that is part of the problem or not, since it wasn't mentioned in any documentation I read.
    Also, when I was digging for information on the browser, going to Netflix Website and Apple TV's information at apple.com, I did come across a few links while searching the browser for any answers to my questions, that said I needed to Activate my Netflix Account for streaming by finding my Apple TVs activation code and then enter it on Netflix's site in my Netflix account.  And other's mentioned a registration code from my Apple TV needed to be entered to activate the "streaming" of Netflix movie content. And again, I've searched for hours and hours trying to find out where or how I could find the two codes, but never had any success. So, I have exhausted all avenues I can think of and with no luck, and I'm hoping my wonderful Apple Community can help me out or get me heading in the right direction.  Thanks, RVAF

    There is a native Netflix app on Apple TV. If you are attempting to use a VPN via MBP then that is not supported.

  • Visual Composer 7.0 : configuration & technical settings before delivery

    Hi gurus,
    Environment is NW2004S / EP 7.0 and back-end R/3 system release 4.6C.
    I've been requested by developers to setup Visual Composer 7.0 as it is integrated in NW2004s.
    As it seems that setup completed succesfully (i accessed to URL "http://<myservername>.<mydomainname>:<portnumber>/VC/default.jsp" and connected to visual composer interface, i 'd like to know if others technical settings are required before providing/delivering this development tool... as developers are currently quiet hard to please
    I created a new model and composed succesfully.
    However, I need to be sure that technical configration is proper.
    Thanks for your experience feedback and help.
    Rgds,
    zulain

    It seems to be an double post. Have a look to this thread for answering:
    Visual Composer 7.0 : configuration & technical settings before delivery
    Best Regards,
    Marcel

  • Can't configure wireless settings on P1102w using a mac

    Hi there. I can't configure wireless settings on P1102w using a mac. I have it installed with USB just fine but I want to use eprint (with ios airplay). I run the setup utility looking for some wireless setup option, but it never appears. When I finish the install it tells me to go to the eprint website to download eprint. At that site it has me download the firmware update, which I do, and then at the end of that it tells me to go to the eprint website again, which then downloads the firmware update again. It's an endless loop.
    I know I need to get to the built in web server but the config page tells me I don't have an IP address. Which makes sense to me because it hasn't been set up.  I can't for the life of me find how to set up the wireless using the driver software on the Mac OS. I try to follow the manuals instructions, but it looks like it is designed for windows users, and the buttons it tells me to look for just don't exist on the mac HP driver software.
    Can you help?

    Hi,
    The Wireless configuration should be made by using the EWS page, which also accessible from Mac OS over a USB connection through the printer setup.
    You may find the steps listed below:
    Click the Apple icon, then clickSystem Preferences.
    Click Print & Fax.
    Select your printer and click Open Print Queue.
    Click on Printer Setup
    Then select Utility
    Click Open Printer Utility
    Click HTMLConfig. The EWS opens.
    Click the Networking tab
    Then click Wireless from the list on the left
    Under Communication Mode, click Infrastructure, select your network SSID from the Available Network Names (SSID) list, and then click the << button.
    From the Security Mode pop-up menu under Authentication, click WEP or WPA/WPA2. Your selection  depends on which Wireless Security Protocol your network uses.
    Type your WEP/WPA/WPA2 key in the appropriate field, and then click Apply.
    In the confirmation box, click OK and then close the HTML Config and Print Queue windows.
    Once done, allow 3 minutes to fully establish the connection, then unplug the USB.
    Enter Print & Fax and remove the existing USB Print Queue.
    Click the Plus button and add the printer over the network.
    Please let me know of any issue,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • Best Practice while configuring Traffic Manager for Azure Website

    Hi Team,
    I want to understand What is the best practice while we configure traffic manager for Azure website.
    To give you the base, Here let me explain my requirement. I have one website which 40% target audiences would be East US, while  40% would be UK and rest 20% would be from Asia-pacific.
    Now, What I want is Failover + Performance based Traffic Manager Configuration.
    My thinking:
    1) we need to create 1 website with 2 instances in each region (east us, east asia, west us for an example). so, total 3 deployment of website. (give region based url for the website)
    2) create traffic manager based on performance and add 3 of those instances. that would become website-tmonperformance
    3) create traffic manager based on failover and add 3 of those instances. that would become website-tmonfailover
    4) create traffic manager and ?? don't know the criteria but add both above traffic manager here and take your final url for end user.
    I am not sure (1) this may be the right approach or not (2) if this is right, in the 4th step which criteria we should select while creating final traffic manager round-robin/ performance/ failover?
    after all these if use try to access site from US.. traffic manager will divert that to US Data-Centre or it will wait for failover and till that it will be served from east-asia if in configuration, east-asia is my 1st instance?
    Regards, Brijesh Shah

    Hi Jonathan,
    Thanks for your quick reply. actually question is bit different. Let me explain you different way.
    I was asking for recommendation from Azure Traffic Manager team. whether my understanding is correct or not.We want Performance with Failover.
    So, One azure website we have: take an example todoapp. I deployed that in 3 different region. now, I want to have performance based routing as well as failover based routing. but obviously I can't give two URL to my end user. so, at the top of that I will
    require one more traffic manager. So,
    step 1: I will create one traffic manager with performance criteria named: TMForPerformance.trafficmanager.com where I will add all those 3 instances (all are from different region so, it want create any issue.)
    step 2: I will create one more traffic manager with failover criteria named: TMForFailover.trafficmanager.com where I will add all those 3 instances (all are from different region so, it want create any issue.)
    step 3: I will create one final traffic manager with performance criteria named: todoapp.trafficmanager.com where I will add these two traffic manager instead of 3 different region's website.
    Question 1) Is it correct structure if we want to achieve Performance with Failover or Is there any better solution?
    Question 2) in step 3, what criteria we should select? performance/ round robin/ failover
    Regards, Brijesh Shah

  • Configure Server Settings

    when i configure server settings in adobe flash 4.6 builder with Livecycle Data services 3.1  then i get the error as "Only LiveCycle Data Services 2.6 and higher are supported."
    please help me out.

    Thanks for answering my question, so it appears I should not worry about email scanning

  • SAP Gui 7.20 Configure Color Settings Greyed Out

    Hi, I have installed the new SAP Gui 7.20 patch 1 on 2 machines at my company.  On one machine we can easily change the color settings for each theme.  On the other PC, we can not go into "Configure Color Settings" to change the colors for any theme.  The button is greyed out.  I followed the extact same installation procedure and have the same access to both as well.
    Has anyone seen this issue before and know how to fix it?
    Thanks,
    Marty

    Another classic SAP problem where the solution involves patting your head while simultaneously scratching your nuts and jumping up and down.
    Follow these steps:
    1. open SAP Login Pad.
    2. open up a client and click on the 'Customise Local Layout' icon (Alt + F12).
    3. Select 'Options...'
    4. Select the ironically named 'Enjoy Theme'.
    5. Click 'Apply'
    6. Click on 'Ok' and close the client windows and the SAP Logon Pad. Note: you must close restart the SAP Login Pad for the them changes to take effect.
    7. open the SAP Login Pad.
    8. open up a client and click on the 'Customise Local Layout' icon (Alt + F12).
    9. Select 'Options...'
    10. click on 'Colors in System'
    11. select your favourite colour and click on 'Apply'.
    12. click on 'Ok'.
    If this post can stop even one person from going insane it will have been worth it.
    Regards,
    Nick

  • How can you configure mail settings in process chains?

    HI Experts,
    please let me know how can you configure mail settings in process chains?

    Dear Suman,
    To initiate the mails we first need to have SMTP connection. To check the same go to so00 and try sending mails to ur ID. If is successful it states that u have the SMTP access.
    To create mails to Process chains:
    Right Click on the Process varient select the Create Message in the context menu.
    Select the type of mail i.e for successful, Error, Anyways.
    Then follow the screens.
    Note: The recipient type should be Via Internet.
    Hope this helps u.
    Regards,
    Kishore.Pulla

  • Expose a BizTalk AS2 internal Endpoint using an Azure bus relay

    Is it possible to set up BizTalk server 2013 on premise behind a firewall with an AS2 endpoint, and use Azure bus relay to externally expose the (internal) AS2 endpoint to the cloud.  This way we don’t have to create a DMZ or open anything on our firewall,
    and use Azure bus relay technology to expose our internal endpoint.
    garo

    Hi garo,
    If the aim is to expose an AS2 endpoint without opening the firewall, this should be possible using a combination of BizTalk Services and Azure Service Bus.
    Using BizTalk Services you can host / expose an AS2 endpoint in the cloud, and this can connect to an Azure relay that will push the messages to your internal server via WCF.  It's not ideal as all your party management will need to be done in
    the cloud, however will give you an external AS2 endpoint talking to your internal servers without having to open the firewall.
    GilesB

  • I've purchased my MacBook Pro, how do I configure my settings?, I've purchased my MacBook Pro, how do I configure my settings?

    I recently purchased a MacBook Pro and I don't not know how to configure the settings. We both tried, but resulted in changing the password to one of my own. In all of my settings, his name is there. How do I change it to my own? Should I take it to an Apple store to do this?

    Did you buy a used computer with someone else's data on it? If so, your first move should be to erase the internal hard drive.

  • Configuring regional settings during OSD

    What is the best way to configure regional settings (keyboard layout and locale) during OSD? Do I just need to create customized unattend.xml file that has these settings configured?

    Then your best best is to either us an HTA to set it or use the xml file to set it. 
    http://www.sccm-tools.com http://sms-hints-tricks.blogspot.com

  • Unable to configure SMTP settings in OATS admin

    Hello,
    I have installed OATS 9.20 in my pc,when i tried to configure SMTP settings in OATS admin,it is not working and giving an error message "error while sending mail"when i clicked "Test Mail".Can any help me in this?

    Hello Jamie,
    Thanks for your response
    Yes,I have the permission.Actually here there are two systems in which OATS is installed,one of the system OATS 9.01.0157 is installed and in this SMTP settings is working fine.
    Thanks,
    Sandeep

  • Java.lang.NullPointerException encountered when configuring backup settings

    Hello all,
    I've been trying this morning to configure backup settings in the 10g Enterprise Manager. I logged in as SYSOPER, selected Maintenance/Configure Backup Settings, set the Disk Backup Logation to "e:\oracle_backups", but when I click OK, I get the following:
    500 Internal Server Error
    java.lang.NullPointerException
         at oracle.sysman.emo.util.rec.RmanObject.resetExcludedTSList(RmanObject.java:1331)
         at oracle.sysman.db.util.rec.ConfigController.onApply(ConfigController.java:486)
         at oracle.sysman.db.util.DBJobController.handleEvent(DBJobController.java:980)
         at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:376)
         at oracle.sysman.db.util.UtilControllerResolver.handleRequest(UtilControllerResolver.java:128)
         at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:688)
         at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:291)
         at oracle.sysman.eml.app.Console.doGet(Console.java:285)
         at oracle.cabo.servlet.UIXServlet.doPost(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:101)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
         at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:133)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
         at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:269)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    Can anyone suggest what's causing this error and how to resolve it?

    I've since discovered the immediate cause of this problem - it was because I was logged in as SYSOPER rather than as SYSDBA. Once I logged back in as SYSDBA, the crash disappeared and the settings were saved successfully.
    It'd be nice if the EM trapped this and gave a proper error message rather than crashing within Java, though.
    Message was edited by:
    ptipper

  • How can I configure Cache settings ? Frequency , capacity ?

    How can I configure cache settings like capacity and frequency? System is very slow . We experience system degradation.

    # type about:config in the browser's location bar, and then press Enter.
    # If a warning displays, click I'll be careful, I promise!.

  • HT1338 i just installed unifi- i then bought a repeater uplink- TL-WA901ND- unfortunately i have been unable to connect/configure the settings to the repeater

    i just installed unifi- i then bought a repeater uplink- TL-WA901ND- unfortunately i have been unable to connect/configure the settings to the repeater

    Can you get any other wired client to access the Internet when plugged into the AirPort's LAN port? Just not your Win7 laptop? What IP addresses are being assigned to your laptop when connected?
    I also tried Extending my wireless network using the Express, but get the error 10057 every time.
    Sorry, but this won't work as the Apple routers basically can only extend other Apple routers.

Maybe you are looking for

  • Short Dump while Activating a Heirarchy

    Hi Experts, I have a hierarchy which is in M version, I am trying to copy hierarchy from Quality to Dev system. The hierarchy in DEV system is in M version. When I try to activate the Hierarchy I am getting a short dump which I am not able to underst

  • Please help me install EZDrummer

    I once installed Ez drummerVSTi on my I-mac. Since i did not need it, i uninstalled it using the uninstaller. After i found that i could use it with GB, i am trying to install EZD. It says installation complete but in ..Library/Audio/Plug-ins/Compone

  • Nvida GT 610 nouveau support

    Hello all, I am currently trying to find a setup with a working graphics card (no 3D required). I got myself a GT 610 from Nvidia, specifically this one here: https://www.asus.com/Graphics_Cards/GT610SL1GD3L/ I tried using nouveau with it. Bootup wor

  • Pm order text not copied to a requisition

    Good day, can sumone help me with this, i have created a pm order with text but when converted to a Purchase requisition the PM order text is not copied to the requisition. rgds Jabu

  • No Adobe Standard Profiles Found

    Discovered this on a file passed from Lightroom 4.3 to Photoshop CS6 (Up to Date) The file from Lightroom looks great and is using the Adobe Standard Profile. When passed to Photoshop, using the Edit in functionality, it is acquiring a yellow tint. U