Best practice for loading Images from NAV into an Add-In

marcussulic
Member Posts: 15
Hello community!
Id like to create an Add-In in which I load images from NAV Fields and before I program it in a wrong and non-optimized way, I wanted to ask if perhaps any of you can share experiences or useful ressources as to how to approach this problem.
Im looking for a solution that provides relatively quick load times. As an example there are about 9-12 Images that are about to be displayed on a 1920x1080 screen. Multiple users are going to be opening the page with this Add-In during "rush hour"
Three solutions come to my mind:
1) Loading images directly from NAV Fields (can a datastream be transfered directly to C# Add-in without temporary download of the BLOBs in NAV? is it the slowest solution perfomarnce wise?)
2)Images get downloaded or manually placed onto the Server thats hosting the NAV Service Tier once a day and these images are then used in the Add-In
3)Every end user downloads or manually places the images on their Client PC (the fastest way performance wise?)
The easiest and the best for the end user way would of course be solution 1, but is it really a good one perfomance-wise?
Is solution 2 even possible? Can a client access (and display) images that are stored on the Service Tier Server? If yes, wouldnt it require constant redownloading of images on runtime?
Solution 3 would be really tedious.
I simply lack the experience, would be really nice to get some cool ideas/feedback.
Just tell me if theres something I didnt explain clear enough.
Best regards
Marcus
Id like to create an Add-In in which I load images from NAV Fields and before I program it in a wrong and non-optimized way, I wanted to ask if perhaps any of you can share experiences or useful ressources as to how to approach this problem.
Im looking for a solution that provides relatively quick load times. As an example there are about 9-12 Images that are about to be displayed on a 1920x1080 screen. Multiple users are going to be opening the page with this Add-In during "rush hour"
Three solutions come to my mind:
1) Loading images directly from NAV Fields (can a datastream be transfered directly to C# Add-in without temporary download of the BLOBs in NAV? is it the slowest solution perfomarnce wise?)
2)Images get downloaded or manually placed onto the Server thats hosting the NAV Service Tier once a day and these images are then used in the Add-In
3)Every end user downloads or manually places the images on their Client PC (the fastest way performance wise?)
The easiest and the best for the end user way would of course be solution 1, but is it really a good one perfomance-wise?
Is solution 2 even possible? Can a client access (and display) images that are stored on the Service Tier Server? If yes, wouldnt it require constant redownloading of images on runtime?
Solution 3 would be really tedious.
I simply lack the experience, would be really nice to get some cool ideas/feedback.
Just tell me if theres something I didnt explain clear enough.
Best regards
Marcus
0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions