I'm currently looking at ways to allow people to select multiple files at once to batch upload images. I'm evaluating these options for my ASP.NET web app:
YUI Uploader
Flajaxian
SWFUpload
Dojo Toolkit Multi file uploader
I'm leaning toward YUI because the documentation is clear and I basically already wrote the file uploaders and thumbnailers which Flajaxian provides, the javascript seems more compact too. I can't even begin evaluating Dojo because it's unclear to me how to get the parts that would integrate with .NET out of the PHP examples.
Has anyone had really good or really bad experiences with any of these?
SWFUploader seems to be the best option here. Compact, stylable with CSS, open source on code.google.com .
Thanks for everyone's opinion but I ended up using YUI Uploader because that's what flickr uses and the project spec was basically an analysis of flickr's features.
The experience of using it was essentially excellent, and being able to compare it to what flickr did was also helpful.
Look at this one too. It's free.
http://www.codeproject.com/KB/aspnet/FlashUpload.aspx
I'm using it in an application I'm developing for uploading multiple music files. The author provides the source code as a VS 2008 project and the source Flash/Flex file. Works like a charm.
Related
I have been playing with this for a day and cannot seem to get it to work.
elFinder has many options for connections, such as PHP and Python among others. Someone made a third party ASP.NET connector for it and it was reported that it worked.
Here is the page for the DLL for it:
http://elfinderconnectornet.codeplex.com/releases/view/55319
I am having tremendous trouble figuring out how to hook the existing elFinder to ASP.NET.
I hope to find someone who has had some experience with this and can assist me. I'm not sure what other information I can give you.
Any help is appreciated.
There's an even better option right now called ElFinder.Net Connector hosted at CodePlex. The coordinator and main developer of the port Evgeny Noskov is a super considerate person and he listens to feedback and acts as you can read here in a discussion I posted:
Add startPath and uploadMaxSize to connector options
I liked elFinder.Net so much that I wrote a post to showcase a simple use case that is a great fit for it:
Manage folders & files in your ASP.NET MVC app with elFinder.Net
Hope it helps.
See here: http://elfinderaspnet.codeplex.com/
For now it provides some basic functionality but seems to be usable.
ElFinder is very easy to configure and use.
I did some research on 'Implementing ElFinder on multiple pages using MVC' and found "ElFinder.Net Connector" NOT AVAILABLE.
Download the simple MVC sample project from here
I see a lot of projects in other languages for generating static web sites from dynamic engines. Things like Frank, Jekyll, Hyde, Webby and Poole.
There is a large list here:
http://iwantmyname.com/blog/2011/02/list-static-website-generators.html
But I can't seem to find anything in the .NET space.
I find it an interesting angle of combining performance and usability on relatively static content like blogs.
But I can also see this as a great HTML based help generation system. And I don't mean API documentation, for which there seems to be a hundred projects. I mean actual application documentation or other documentation.
So, any great static website generators in the .NET space?
A relatively recent development is the 52 code project Pretzel - a .Net static code generator. It is worth a look if you know Jekyll.
I know this is an old question, but for completeness I'll add http://wyam.io (open source - code at https://github.com/Wyamio/Wyam). It uses a modified version of the Razor engine from ASP.NET v5 for templating and also has support for Markdown. It's built on a modular "pipeline" concept (similar to the excellent Metalsmith JavaScript-based site generator) and is easy to extend given that the configuration files are dynamically compiled with Roslyn.
Full disclosure - I am the developer of Wyam.
Graze is a possible option too!
https://github.com/mikoskinen/graze
Me and my friend are going to build a multilanguage website and we were discussing
what the best way is to support the multiple languages.
My opinion was to use PO files to easily edit the language files.
But my friend wants to use te resource files in visual studio.
So I want to ask, what's the best way ?
Thanks in advance.
Both are valid ways to do it.
If you are going to be using GTK# as your widget set, then PO files are a good way forward.
If you are going to be using Winforms/WPF/Webforms/MVC, then resource files/satellite assemblies files are a good way forward. Additionally, if you are using visual studio it has great support for this kind of localization.
I have no idea what a PO file is.
However, .Net has pretty good built in support for multilingual resource files. I'd go that route.
We are developing a CMS in ASP.NET. We love the idea of add-ons (like in Wordpress, where any developer can add a menu button or a widget) and would like to enable developers to do the same with our system.
However I think that the fact that C# is a compiled language is an obstacle in the way of add-ons.
Am I right? Or is there a way to create add-ons for a ASP.NET application?
The fact that C# is a compiled language isn't a problem at all. In fact the .NET framework should make it relatively easy to load other code (just as Java does, for the same reason). Look into the Managed Extensibility Framework, which is all about loading Add-Ons in managed code.
It's not an obstacle at all. MEF has already been mentioned, you could also use:
System.Addin
Mono.Addins
I'm not sure for ASP.NET specifically, but in the only compiled programming language I know (Objective-C/Cocoa), there's the concept of Bundles that can be loaded dynamically. I'm not sure how that works on the backend, but I'd guess that there is some similar system for C#/ASP.NET.
I don't know how it's done in Wordpress, but there should be many ways. You can allow developers to upload their assemblies with compiled code or you can allow them to upload code in C# or IronPython or anything that supported and compile it dynamically. Maybe you can use WebParts for your task.
Microsoft has created the Managed Extensibility Framework (MEF), specifically for this problem: providing .NET plugins for .NET applications. It is the framework that (future versions of) Visual Studio use for writing managed plugins.
However, please consider using a dynamic scripting language for this! Problems like this are exactly what they are specifically designed for. If you host the Dynamic Language Runtime in your application, it not only means that your users can extend the application in a scripting language, but even in any dynamic language (scripting or otherwise) for which a DLR implementation exists: Ruby, Python, Smalltalk, Scheme, JavaScript, PHP, you name it. Biggest disadvantage: the DLR hasn't been released yet.
In C#, you can create any assemblies, link them as DLL files and then do whatever you want.
The usual case would be to define some kind of Plugin Interface which must be implemented by all the plugins.
Then you can load all plugins from the filesystem (by iterating over the plugin DLLs), find the class inside which implements the interface, instantiate it and work with it.
If you want to provide plugins with unloadability and security, you could create an application domain and load the plugins to that, increasing complexity, but also increasing stability (a bad plugin won't crash your app).
Please ask more specifically if you want a specific answer :-)
It's not too difficult to put hooks in place. You have to define in advance where the add-on features will appear. For example: when drawing a menu you can use reflection to search other dlls (with specific names and locations) for a "BuildMenu" function. You'll be defining the API for this function signature. It may have to return a list of items to be added to the base menu items collection.
I need to add a gallery to my website, to show screen shots of websites and applications.
I run IIS.
I'm looking for something that is fairly self-contained and ready to integrate without a lot of work. I'd like to through a bunch of images in a directory and let it go.
I would love some nice effects for browsing the gallery.
What would you suggest?
You might want to look at nGallery for ASP.NET 2.0. I've support an application that uses an older version of this. No experience with this particular version, though.
Consider Gallery Server Pro (www.galleryserverpro.com). It is a free open source web gallery based on ASP.NET and has been around for several years. It is easy to integrate into an existing site by using the self-contained ascx user control.
Disclaimer: I am the Creator and Lead Developer.