Click here to Skip to main content
15,903,033 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

Do any of you worked in nHibernate in asp.net, If so please share the sample application for that.
Posted

I think NHibernate is one of the most well designed ORM framework. I will go with it anytimes (except for small projects as noted by digital linq2Sql seems better here). I actually did 4 big projects on Nhibernate and the results and performance was better than good.

Check this site to learn NHibernate by code samples

http://www.fincher.org/tips/Languages/NHibernate.shtm[^]
 
Share this answer
 
make quick google search...you can have some good links...which can give you a good no of codes and implementation guidelines. Have a look in the following links:

http://www.beansoftware.com/asp.net-tutorials/nhibernate-log4net.aspx[^]

http://www.codeproject.com/KB/aspnet/NHibernateMultipleDBs[^]

http://www.developer.com/net/asp/article.php/3709346/Using-NHibernate-as-an-ORM-Solution-for-NET.ht[^]
 
Share this answer
 
Not for a while; is overkill for small applications (Linq2Sql would be a better choice) and is quite a bit of work to get going (that may have changed). See here: NHibernate[^] for samples, etc. Also look at EF4[^]
 
Share this answer
 
v2
I've been using FluentNHibernate which I prefer, but the support on their website is non-existent.

I've been meaning to put up a FluentNHIbernate article for a while, you might just have given me the kick up the ass I needed.

I'd agree with digital man that it's overkill for simple apps, but it's worth figuring out because the whole repository/persistence ignorance concept is very powerful.

I find that even though I don't necessarily use NHibernate commercially it has changed the way I construct my own data layers.

Sorry I don't have the sample ready to go, but I'll put an article up shortly.

-Rd
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900