Simple Demo using DataReader access
This demo accesses the data directly, uses a SQL parameter for the PortalId then shows the first 10 files it finds. More intro-material for direct database access in this article on codeplex.
The top 10 files found in this portal
- Hydrangeas.jpg
- Koala.jpg
- Penguins.jpg
- Google Tag Manager Source Code Demo 2014-03-13.png
- Beni.jpg
- Daniel.jpg
- Raphael.jpg
- Chrysanthemum.jpg
- Lighthouse.jpg
- CokeBefore.jpg
Pros
- Easy - copy paste etc.
- Standard .net, no learning curve
- Probably best performance of all shown samples because almost no abstractions
Cons
- Only forward looping through the reader
- Code feels technical and maybe difficult
- Can't use 2sxc pipelines
- Can't use 2sxc-built-in serializers and other features