Ticket Q476039
Visible to All Users

A problem occurs when file attachments are stored in the file system with middle-tier configuration

created 12 years ago

I change http://www.devexpress.com/Support/Center/Example/Details/E965 to use middle tier,
but the application store files on local computer, and create empty file on remote location.
 But I wish that files are stored only on remote computer,
any ideas how to change this?
Becouse we nead application to store large amount of files on server ile system,
becouse of SQL Express database size limitation.

Answers approved by DevExpress Support

created 12 years ago (modified 12 years ago)

Hello Miha,
I have not yet tested the E965 example with the application server. It is my TODO list, but I cannot provide any ETA for this. However, I think that in the meantime I can help you with advice if you provide me with a debuggable sample project containing your modifications + describe your issue and errors you received in greater detail.

    Show previous comments (14)

      Hello,

      It has been 7 years now. What is the status on this ?
      Persisting filedata into the db is really making our apps slower and we have to find tricks to not show them in the detailview.

      Does XAF team have a alternative strategy to filedata stored into db considering that the db server and file server are often not in local ?

      Alternatively, we could use the FileManager. I see that you have a lot of File System Providers except the secure ftp.
      Could you add a  Custom File System Providers for secure ftp ?

      BR
      ISA

      Andrey K (DevExpress Support) 6 years ago

        Hello,

        Thank you for sharing your experience with us. You can accomplish this task in the same way you would do in a plain, non-XAF application. For example, you can create a custom service to pass and save files.
        If you face any difficulties with integrating a solution into an XAF application, do not hesitate to contact us.

        As for your question about File System Providers, I created a separate ticket on your behalf (T727560: How to implement FileManager for secure FTP) and passed it to our ASP.NET team. We will answer you there shortly.

        Thanks,
        Andrey

        Vladimir L (DevExpress) 3 years ago

          Hello Miha,
           
          Our Solution Wizard can now create a Middle Tier application server for an XPO-based .NET 5 WinForms application. See the following article for details: Create a WinForms Application with the Web API as the Middle Tier Security. We will appreciate your feedback.   
           
          Thanks, 
          Vladimir

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.