Windows Phone 7.1 app accessing Azure Storage directly - windows-phone-7

I am creating a wp7.1 silverlight application and want to access azure blob and table storage directly. Searching all over the internet I can see using web application but I dont want to use web application for my silverlight application.
Is there a direct way to access azure storage directly from wp7.1 application?

You can use WP7AzureQuickstarts Library to start your project. This library has following 4 C# based project with full source code:
WP7AzureDirectory
WP7AzureLocator
WP7AzureNextGroupEvent
WP7FacebookAzure
If you download WP7FacebookAzure source code and look for WindowsPhoneCloud.StorageClient library which has full source code to access Azure Blob, Table and Queue storage directly from WP7 client application. You may need to understand security, SAS etc going forward.
Also you can download Windows Azure Toolkit for WP7 source and modify the source code the way you would want to use.

Related

How to manage persistant caching in Office 365 for Windows and Mac OS?

I am new in Office 365 Add-ins. I want to know about caching. I am working on a Add-In using Office.js. I want to manage caching.
Scienario:
1- Add-In will get data from server once in a day. Data can be in MBs(i.e 5 MB).
2- It should store somewhere. So, user can use it even there is no internet connection.
Is there any internal caching mechanism provide by Office APIs?
I was also thinking to store in File. Is it possible to create and manage File using Office Add-ins in Windows and Mac?(I am just curious about File permission in Mac)
Please suggest
You need to read through the following resource: Persisting add-in state and settings. Depend on the Office application you are writing your add-in for you would need to use different objects or approaches (for example use HTML5 web storage, etc.)

How to debug shared xamarin project for sql lite operation?

We have common project which has written by c# and we are supporting both technology (IOS, Android). Now we are going to support offline manner in both as well. We want to debug the common project with the use of fetching data from sql lite, because i need some of the information from local storage during offline support. However I want to know is there any other way to debug the application in locally without adding any SDK project.
Edit : I do not want any Android/iOS sdk in my system to debug the shared Xamarin project. And I have to implement sqlite related offline features for Android/iOS app team.
#Daniel thanks for your quick response.
We got the another solution like saving the sqlite file in external or internal storage of the device and we can able to see the tables, records through third party s/w sqlite browser. Thanks

Save file in Windows Phone (pdf, csv)

I'm trying to find way to save files (pdf or csv) presented in application.
I want those files be available from outside the app.
From what I know it is impossible to save file to sdcard, only in isolated storage.
There is nothing like file manager in Windows Phone, right?
Maybe there is possibility to save file to some cloud from app?
Saving outside of your app doesn't appear to be coming until WP8.1.
In WP8 we do have a few alternatives.
Save the PDF locally and launch the associated app for viewing as per this SO answer.
Use a cloud service for saving the file. The easiest way I've come across is integrating with the CloudSix app for Dropbox. The details on how to integrate the nuget package are here. It's fairly simple if you just need fire-and-forget saving.

Connecting to a shared drive on network with SharePoint 2007

I need to use a shared drive with SharePoint 2007 instead of document library/list, mainly due to space limitations.
My organization uses MOSS 2007. The Business Data Catalog can use a database or a web service as data source. So it appears I may not be able to use this feature to connect to the shared drive. Can I develop custom code in .NET and use it to integrate the shared drive with SharePoint site? If so, can you guide me to a relevant resource that can help me develop such functionality?
The functionalities I require are :
ability to upload/download files from the shared drive from the SharePoint site.
ability to detect when new files are created on the drive, or when existing ones are modified, and send relevant alerts.
workflows that can interact with the shared drive, just like they interact with a SharePoint list
I'm not exactly sure why you are using SharePoint for this because from my understanding you can simple create a web or windows application and link it to your shared drive. IF you still want to use SharePoint please see below.
from the top of my head this is the following approach than I can suggest for your requirements:
Create A Published folder and inside that create an unpublished folder.
Create a scheduled task calling a FileWatcher application which monitors the unpublished folder.
The FileWatcher application will move the files inside the unpublished folder to the published folder and use the SharePoint web services particularly the List service to update a specific list in the SharePoint and point it to the path from the Shared Drive.
You can use SharePoint workflows to check whether an item was modified to send proper notifications. This can be done via SharePoint designer and do not consume much space. This is more advisable instead of creating your own notification application.

Testing database on Windows Phone 7 mango

I need to write unit tests for my WP7 app. Tests are run on desktop(not on device or emulator). The problem is when i try creating DataContext class on desktop framework it fails in ctor.
I use WindowsPhone's mscorlib(2.0.5.0) in references.
Looks like it needs some DLL's from phone, but im not sure what.
Possibly someone had same problem.
Thanx!
Are you using the Silverlight Unit Testing Framework? In that case, I'm afraid there's no way to access SQL Server CE from a SL application. See Can a silverlight client access a local sql compact database that is stored in isolated storage
I think your best go is to mock the data context.

Resources