Upload with Context

  •  01-10-2016, 4:07 PM

    Upload with Context

     In an MVC application I'm trying to store files in Azure Blob storage and create a record in SQL server that refers to that Blob. I do not want to store files on disk. I've modified the UploaderSQLProvider to implement methods that do that. However, I need to store references (FKs) to other entities in my db in the SQL file records and I'm not able to access the context in which the files are saved (in the provider Save method). Can you recommend a way to do this?
View Complete Thread