Calling service bus running on cloud from my local application - servicebus

How can i call service bus running on cloud from my local application.If there is some demo then please share the link

Go to the Windows Azure site to download the SDK for the language you are using. Then head over to the service bus samples site to get an idea on some demos.

Actually, all the azure service bus sample code were developed and tested on local machines. Unless your organization has some special firewall settings, it should just work. Let us know what u get.

Related

Using Sonos API even though server is not on the same internet - Sonos SOCO & WayScript

I have made a script that uses the library SOCO, to play songs on my Sonos. I have deployed this script at WayScript. The issue is that WayScript runs it's scripts on it's own server, which isn't connected to my internet.
Therefore, when I try to connect to my Sonos device: SoCo('192.168.1.10'), it can't connect... obviously.
So what do I do? Maybe Sonos provides another way to interact with their devices, even though the server is not connected to the same Wi-Fi.
Thanks in advance,
Villads
Use the Sonos Cloud API, which does not require access to your local Wifi network. https://developer.sonos.com/reference/control-api/

How to deploy a local eclipse worklight project in cloud server?

I developed an android based hybrid app in the IBM MFP-7.0., My app is fetching the data from the Java service which is running in Tomcat Server. Here the app adapters are running in my local system MFP server to get the data from the Java service, So that I can only run the app in my local system android emulator. Now, we want to deploy the app in the cloud so that we can give this app to our users. Can some body help me how to run our MFP app in the cloud? Is it required to place eclipse in the cloud to run my MFP server like the way I am running in my local system?
Thanks in advance.
It looks to me like your understanding is completely lacking in this subject matter. Also note that this question has got nothing to do with programming.
You need a host machine. On this server you will run an application server (Tomcat, WebSphere Full profile, WebSphere Liberty profile - either single or a farm, depending on your required network topology and security & scalability needs).
On this application server you deploy MobileFirst
You will also need a database
This host machine needs to be accessible (with appropriate security) to the public Internet so that it could serve apps installed in end-users' devices
The application needs to be configured to send requests to the server (or to any front-side server like a Load Balancer, again, depending on your topology)
The generated application needs to be submitted to an App Store so that users could download and install it on their devices
I suggest that you will do some reading before asking any question. Since you're using IBM MobileFirst, start by reading the user documentation: http://www-01.ibm.com/support/knowledgecenter/SSNJXP/welcome.html

Windows Store Application unable to access localhost WCF service and throws EndpoingNotFoundException

I have a solution which basically contains three components:
• WCF Service that is hosted locally having a back-end SQL Server Express DB and this WCF service is hosted from a Windows Service
• A console application
• A Windows Store Application
This is what they are meant to do:
• WCF service his hosted locally and is used by the console app and the store app for communicating with the database
• The console app adds an image for processing to the database by contacting the WCF service
• The store app will at regular time look for unprocessed images in database via the WCF service and will process them
Now, the difficulty is:
• The WCF service is hosted successfully and is working absolutely fine and I can check that by hitting its URL http://localhost:8081/XYZ
• The console app is also able to submit images to the WCF service and add their local paths to the database
• The store app however always throws the EndpointNotFoundException when accessing the service at that same localhost path
What have I tried:
• I have tried almost everything from searching through stackoverflow to googling and haven't found a solution yet
• I was thinking that it might be a port issue and so I turned off the firewall to check this, but it did not work, and the store app kept throwing the EndpointNotFoundException
What have worked:
• The complete set-up has, however, worked perfectly on my machine. It is strange that its not working on my client's Windows 8 machine.
Point to be noted:
• The complete solution has been developed in Visual Studio 2013 and the App is for Windows 8.1
• I am not sure, but it seems my client has a Windows 8 machine and we are installing the app on that. (Possibly, that might be a problem. But I'll check)
If there is any help someone could provide me, I'll be really greatful. Thanks in advance!
This is expected. Windows Store apps cannot connect back to the local system in production. This loopback prohibition is disabled for debugging.
See How to enable loopback and troubleshoot network isolation
If your app is to be side-loaded rather than deployed through the store then see Using network loopback in side-loaded Windows Store apps

Debugging service bus based .NET applications

Lot of developers using service bus to integrate some parts of an application. It doesn't matter which platform do you use for service bus. For example, it could be Azure Service Bus Queue which integrates web application and cloud service.
It's interesting how you working with such apps locally. Do you install Azure Service Bus on each local developer station? Or maybe you use some test messages queue on server for all developers? Or even have a mock for queue?
It would be fine to see how experienced guys solves this problem in real world application. Any comments would be helpful.
Thank you!
Would the read me in the NServiceBus.Azure.Samples help?

Accessing the C:\ drive on azure VPS with ASP.NET

Basically I have a asp.net site hosted on windows azure, and I also have a virtual machine hosted there. Is it possible for me to read/write files to the disk on the virtual machine from my website?
I'm using ASP.NET MVC 4 if that's any help at all. Sorry for the possibly vague question, if you need more info i'll happily try to provide it.
Thanks in advance!
Sure. Since you want to access the VM's drive, and you have complete control over the VM it's easy.
Server
Expose your VM's drive using WebDAV. It's a HTTP API for file sharing.
Here's a WebDAV setup guide for Windows: http://mythoughtsonit.com/2013/05/deploy-a-file-server-in-the-cloud-webdav-on-windows-azure/
Client
If you are using Windows Azure Websites (very restrictive), your only option on your ASP.NET site is to add C#/VB code to read/write from the WebDAV share. Here's some .NET WebDAV clients:
https://github.com/kvdb/WebDAVClient
http://webdavnet.codeplex.com/
http://www.independentsoft.de/webdav/
If you are using a Windows Azure Cloud Project and have a Web Role (more flexible), on that web role you could make a startup task which maps the WebDAV as a network drive and use normal System.IO.File code. I think this is easier than the WebDAV client stuff, but it's up to you.
I came to a similar conclusion to #Yoshi. However, when trying to map the share to a drive on the instance hosting the web role via a startup task, I found that this requires WebDav client to be installed. This is installed as part of the Desktop Experience feature. To date I have been unable to install this using a startup task as it requires a reboot.
I have tried writting a startup task that includes the steps from this article but cannot get it to work so far.
Has anyone else managed this?