Azure Blob Storage Browser in Silverlight - silverlight

I would like to make an Azure Blob Storage browser using Silverlight, like CloudBerry Explorer does. I have an Azure Storage account and the keys, but I am still picking which Control I should use to display file list (DataGrid?).
For the coding, how can I fetch the file list from a blob container ?
p.s. I'm using C# , Visual Studio 2010 , Azure Project Web Role + Silverlight Project

I have developed a silverlight upload control that does exactly that. It uploads a file by splitting it into chunks and retries upload of chunks in case of failed upload. Download it from http://blobupload.codeplex.com/ and use it as you want it to.

Related

Professional way to send images from server to client

We are planning our final school project and I need to find out a way to send images from server to client (Flutter App). Due to a lack of experience in a professional environment, I'm struggling to do so.
I've always saved the image name or image path in the database in my smaller projects, got the data via an API, and then just called for the image, which was located on a web server, via HTTP or HTTPS. Pretty easy in Flutter with Image.Network.
However, that doesn't sound like the best option
We are planning on using:
Ubuntu or Microsoft Server (still to decide)
MariaDB alone or with MongoDB, or even MS SQL Server(still to decide)
ASP.NET Core for the API
Flutter App and Web-Interface for client-side
Any suggestions are appreciated!
You are doing correctly in your smaller projects. This is a best way to do. When frontend(mobile app or web app) uploads image using an API, backend(in your case ASP.NET Core) simply stores that in server(in your case case Ubuntu or Microsoft Server). But I would say stores all media files like audio, video, images, documents, etc on AWS S3 bucket because it would be difficult to you increase server disk space if its low where AWS-S3 can store any amount of data.
And after saving that media files on S3 or server store its file url in database. Send this url via API to client when it requests it and from client side you just need to use that url to show or download.

Saving images in Azure storage

I am building a web application , where users can upload images & videos and store them in their account. I want to store these files somewhere and save only the URL in the DB.
What is the right way to do it using Azure services? Is there a dedicated server for this, or some VM?
Yes, there is a dedicated service for this purpose. It is the Azure Blob Storage. And you are highly advised to save all and any user uploaded content to that service instead to the local file system.
The provided link has samples for almost any language that has client SDK provided by microsoft.
If, at the end you use some platform or language that is not directly supported by an SDK, you can always refer to the Blob Storage REST API documentation.
You will need to go through the blob service concepts to get deeper understanding of the service and how to use it.

Invoking out of browser app from in-browser app in silverlight

We need to have the functionality of users running excel reports from a silverlight application. The application will show data from the server and upon clicking a button users should see an excel report from the data in their client machines. We can't make the original application out of browser so I am looking for options.
I am thinking of creating an out of browser application which can invoke excel in the client machine. Our original application just have to download and install the out of browser application with user permissions. Also I need to pass the data for the excel report from the in-browser application to the OOB applications.
Is it possible? If it is, is there any help available how to do this?
The only thing that comes to mind is to popup another browser window from your in-browser Silverlight application and then offer excel file download to the client. By default this dialog offers Open option as well and that could solve your problem. That's how I solved excel report download from SSRS in my Silverlight application.
It is possible to let users download data as CSV files from the browser, which will open in Excel for most users.
You can also copy delimited text to the user's clipboard using Clipboard.SetText which the user can then paste into a running instance of Excel.
Another option would be to use a server-side service to generate an Excel document and have the Silverlight application show a hyperlink to the document.

silverlight web application prevent file access from webserver through url

Hi Team,
I have a silverlight WebApplication, it has a folder on webserver that download a document and store for clients to view. The issue I am facing is that eventhough windows authentication is enabled and directory browesing is disabled. I am able to access and view the image using the url i.e. (http:\loclahost\webapp\dir\image1.tif) form a different domain.Is there some configuration I can do on web server (IIS 8) or I need to adopt some encryption logic in my code.
Any suggestion or help on this would be of gr8 help.
If it's what I'm thinking, You must set permissions to IISUSRS (a system user created for ISS) to write and read your folder.

Sharepoint as a CMS

I am looking at using Sharepoint as a CMS for my WPF application, I was hoping to create some kind of a repository and access that using .NET web services. The repository would simply be some images and perhaps some meta-data about the images (name, description, etc...)
Im am stuck to Sharepoint, so another system is not really an option.
Does anyone have any links or experience with this?
Im not a newbie to Sharepoint, I just cannot find anything on what versions to use, if I need plugins, security, how to go about it in general.
You can do this with the free version of SharePoint (SharePoint Foundation, formerly Windows SharePoint Services) that comes with Windows Server--no plugins required.
If you simply want to store the images in SharePoint you can upload them to a Document Library via a web service call. If you want to be able to view the images directly in SharePoint use a Picture Library instead. As you can see in the list of SharePoint 3.0 web services you can work with both Document and Picture Libraries. You could even have the WPF application create the libraries if need be.
As Henrico points out in Storing Images on Sharepoint you'll want to consider whether to store the image file itself in SharePoint or have the file elsewhere and use SharePoint to store the path. His post also points out some other considerations on storing images in SharePoint. Note that his post refers to using SharePoint directly, but the same considerations apply.
I'm not sure what to say about security, since SharePoint supports authorization and authentication with its normal web interface and with web services.
I once used a hosted version of SharePoint to store PDFs uploaded from a command line application that were then viewed by a separate application. It worked great for my needs.

Resources