Best practices asp.net mvc: working with images [closed]
what are the best practices to process images in enterptices web applications. I mean
- storing
- assign with entity
- fast loading/caching
- delayed / ajax loading
- suitable format (png, jpeg)
- on fly editing (resizing, compress)
- free libs/helpers
- image watermarking/copyrighting on fly Especially, appreciated already production approaches!
As always, every project has their own requirements, restrictions and resources (The 3Rs). There is no 'super pattern' or 'one size fits all' method.
We cannot tell you how to implement you project as every project is different. It's up to you to use your skills/knowledge and experience to make informed decisions on implementation.
The 'best practice' is to individually research and learn each of the technologies/methods you have listed and gain the knowledge to know when to use them based on your projects requirements, restrictions and resources.
I use ImageMagickObject in my mvc projects. It can:
- suitable format (png, jpeg)
- on flyediting (resizing, compress)
- freelibs/helpers image
- watermarking/copyrighting on fly
fast loading/caching: may be memcached?
delayed / ajax loading: jquery is a good solution
assign with entity: Entity Framework can work with almost all databases
storing: hard question. all depend to the functionality
精彩评论