using (var client = new AsyncFilesServerClient("http://localhost:8080", "Blob")){ var files = await client.BrowseAsync(); return new ContentResult { Content = string.Join(", ", files.Select(x => x.Path)) };};
using(var store = new FilesStore() { Url = "http://localhost:8080", DefaultFileSystem = "Blob" }.Initialize()) { using(var session = store.OpenAsyncSession()) { var files = await session.Query().ToListAsync();
I'm developing a simple asset manager so yes, I need to create a simple ul > li in HTML, with img tags where the src points to correct URL of the image. I also need to print the actual size, width and height on the img tag. So, in my controller I need to compose a view model with file/image objects that contains this information.