I'm interested in using DB4O in asp.net mvc applications. However I can't find any good samples that show how to set things up. For example, do I have to create a custom IHttpModule that manages the lifetime of a DB4O server instance?
Any pointers to useful articles and sample code would be excellent. Thank you.
Check out this forum post from the db4o website, it shows a few good alternatives. In the past I have used a custom HttpModule similar to the one ~7 posts down and it worked well for me.
More info:
http://developer.db4o.com/Documentation/Reference/db4o-7.12/net35/reference/html/reference/platform_specific_issues/asp.net.html
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
Can anyone help me in working with (multiple)WebUserControls.
I have tried, but I am not clear with the events which we have to use.
The most important thing to understand is the ASP.NET Page life cycle. Once you learn the order of operations for how an httpRequest is received into ASP.NET and how the httpResponse is built and returned you have the essential information.
This might answer your Q sharing controls across multiple websites
check this too
I'm writing an application, Flex front-end & Grails back-end, in which I need to integrate security. All the information around Grails gives me the impression to be well suited for when your client is written in HTML but how can I use Flex's HTTPService to integrate into it? Could anybody point me into the right direction?
Regards,
Lars
Hi Lars
I'd suggest having a read of Mike Hugo's article on writing Grails plug-ins in Groovymag
http://www.groovymag.com/main.issues.description/id=6/
This will give you an insight as to how to gain access to the application context etc.
Also have a look out for Sebastien Arbogast's blog and this article:
http://www.pubbs.net/201002/grails/49092-grails-user-grails-flex-blazeds-and-spring-security-integration.html
Combine this with some articles like this:
http://www.gridshore.nl/2008/07/14/integration-spring-security-acegi-and-flex-3-the-sequel/
Also have a look at the Spring-Flex project.
http://www.springsource.org/spring-flex
Christophe Coenraets and Jeremy Grelle's blogs are worth taking a look at too.
http://coenraets.org/blog/2010/03/new-spring-blazeds-test-drive-available-flex-4-blazeds-4-and-spring-blazeds-integration-1-0-3/
http://blog.springsource.com/author/jgrelle/
This is probably what I'd look at first:
http://tv.adobe.com/watch/max-2009-develop/integrating-spring-with-blazeds-and-livecycle-data-services/
Also:
http://tv.adobe.com/watch/adc-presents/integrating-spring-and-flex/
There are many options for returning XML from a Grails Controller, which can then be consumed by Flex's HTTPService.
For security, check out the Spring Security Core Plugin.
Through a lot of sticking my head in the sand, reinventing the wheel and general stubbornness, I've managed to go all this time (years) avoiding learning the built-in ASP.Net support for web application authentication, users and roles. Part of the reason is that rolling my own originally seemed like less work than getting my head around all the different layers of optional abstraction provided by the ASP.Net security framework and as such I came up with a nice library that worked fine for me.
I'm now trying to go back to using as much of the built in functionality of ASP.Net (MVC2/3, not WebForms) as possible, as I've found that the more non-standard functionality you build into an application, the harder it is for other developers to pick up your code and work with it.
The web is thick with half-tutorials, badly explained articles and information that excludes important beneath-the-hood information about the ASP.Net security framework.
Are there any good tutorials that rip the lid off ASP.Net security and show you how to use it and how it all works without trying to push you through wizards and specific provider models without understanding all of the options and their pros and cons?
This is a 18 part series articles from Scott Mitchell.
It's a very deep explanation of all the features that regards Authentication, Authorization and Membership providers in asp.net. I did never found a better source on this from the same author.
MSDN is the best for ripping the lid off: http://msdn.microsoft.com/en-us/library/ff647070.aspx
Does anybody know a good example of how an NHibernate conversation can be used in a Web context (ASP.NET or ASP.NET MVC) using an IoC container and AOP? Personally, I use Castle/Windsor and PostSharp, but I will appreciate everything that points me to the right direction.
Fabio Maulo has talked about this in some blog posts, and I think there is some relevant code in the uNhAddins project. Dario Quintana has a downloadable example. Furthermore, there is an AOP category on the NHibernate community site.
HTH!