IsolatedStorageSettings class object local folder location - silverlight

I'm working on windows phone 8.1 silverlight and using IsolatedStorageSettings for local storage. It's working fine and also I'm getting the modified values when device is rebooted. My question is how can I get to know the location of the storage. If I want to make any modification in the storage location, is that possible?

Related

Azure logic app to connect to Virtual machine and run azcopy

I need to put together a logic app. The trigger in that if/when a new file comes to a blob storage the new file will be moved to a new location say 'XYZ'.
The way the file will move to new location XYZ is, the logic app in actions will connect to virtual machine which will run azcopy tool and pick file from the blob storage and put it in the new location XYZ
And I am new to logic apps connecting to Virtual machines and somehow trigger azcopy command within a virtual machine when the logic app runs.
Blob storage, virtual machine and logic apps are all in the same resource group, same subscription.
Would really appreciate some pointers.
I heard that I need to create a ISE in order for the logic app to work with virtual machine but I am not sure if I really need this. This is the article that I saw.
https://learn.microsoft.com/en-us/azure/logic-apps/connect-virtual-network-vnet-isolated-environment
Is that the only way?
2) How would I run AZCopy command within a virtual machine from logic app?
Thanks so much for your help.
In theory, the Logic App can connect to Azure VM with the public IP or FQDN assigned to the VM over the Internet. If you only intend to connect from a VNet, you need ISE for the logic APP.
As far as I know, It's not easy to run scripts within the Azure VM from Azure logic App, you may invoke the API with an HTTP connector from the logic App, refer to this answer for more details.
Finally, If you just want to move the blob files in the Azure storage account, it would be easier if using the Azure function with a blob storage trigger. You could search the similarities like this.

Make epub programmatically in app engine?

I'm developing a web service in App Engine standard environment with Java (servlets).
The idea is that it get info. from Cloud SQL and generate a EPUB programmatically with Siegmann' epub library: http://www.siegmann.nl/epublib
But i'm not sure that how can add things like images or html files (i first will convert the info. from Cloud SQL to HTML), sicen the writer of epub needs a path to a files.
can i download first all resources that need in local directory of app engine and references them?
Or what can i do?
Thank you in advance and sorry for my English.
Option 1:
You can use the /tmp directory of your App Engine instance to store temporary files. See this link.
Bear in mind that files stored in the /tmp folder will only be accessible within the instance that wrote them.
Option 2:
After a quick look to Siegmann' epub library, I have seen that resources can be provided as Byte arrays and the writer fills an OutputStream.
With this in mind, you could use Cloud Storage and it's Java Client Library to download and store the files.
In this Java sample from the docs, you can see that an object is up laded without the need of it being stored in file-system, just passing it as Byte array.
And to download files from Cloud Storage into the memory of your App Engine App, you could use storage.get(BlobId.of(bucketName, objectName)).getContent() to get the object's byte array

How to access virtual host made on XAMPP via smartphone?

I have a website running on my localhost, and it is set up as virtual host.
The problem is, it is no problem at all and works really okay on web browser on my computer, but is not accessible from my mobile phone.
Because virtual host is setup on my local, I know it works well when I access via web browsers on my computer.
But then how to access to this on mobile phone?
What I know is that in order to make accessible by mobile phone, it has absolute address by ip address, i.e, http://192.168.0.1/mysite
But due to complicated config made, the site is not working when to access as
http://192.168.0.1/mysite
but only works when
http://dev.mysite.com
(http://dev.mysite.com is the virtual host made on my local which is pointing to http://192.168.0.1/mysite)
Any help will be appreciated.

Open local website on computer from phone on same network

I have a local sandbox website on my computer running on nginx. I have chrome canary and that's what I"ve been using to test the various media sizes. Of course, this doesn't stack up against actual hands-on testing to get an idea of the feel of the website.
So, is there a way to be able to access a website running on my computer from the same network? Even if I have to use a specific app. I would like to use the same URL. dev.mywebsite.com and mywebsite.com run a on a server, sandbox.mywebsite.com is on my machine (this is the one I would like to access). I don't need to access to it remotely, just when I'm on my network is fine.
Note: I need to use the actual URL.
Thanks.
If sandbox.mywebsite.com maps to localhost on your computer, then by mapping sandbox.mywebsite.com in the hosts file of your phone to the local network IP address of your computer e.g. 192.168.1.9, you should be able to access it on the phone.
I have done this using android with hosts editor, connecting to apache running on an ubuntu laptop.
There are also many google results for this, so you may be able to find something there for your specific configuration.

Windows Phone 7 Manage files

I have storaged a web in the phone using the isolated storage and now It has to download pdf into the phone and be able to transfer it to a PC.
Since the isolated storage only let you use the files of an app in that same app, it is posible to accomplish what i want in Windows Phone 7?
No, Windows Phone OS uses the Sandbox principle witch isolates app data so that other apps cannot access and/or modify other app's data.
The only public part of WP app are known libraries as mediaLibrary and in some WindowsPhone versions Documents Library
Check this
http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj681698(v=vs.105).aspx

Resources