Is there anyone out there having a working Castle 2.5 based stack including NHibernate (2.1.2.x), FluentNHibernate, Magnum, NServiceBus, rRhino.Security
up and running built for .Net 4?
thanks in advance & greetings,
chris
I recommend using horn to build your stack. All of those projects have available descriptors, you just need to modify them to get the versions you want with the target you want.
Related
With NHibernate 3 going GA today, I was wondering if I can upgrade a project that is using Fluent NHibernate. Can i simply swap out the 2.1 DLL for the 3.0 and have it work? - Or is there more to it than that?
I know there will be some work with the change in Linq syntax but i am not concerned with that, I just want to know if the DLLs are interchangeable for Fluent.
Many thanks,
Kohan
Addendum
The Fluent guys have done it themselves now:
http://fluentnhibernate.org/downloads
drlongnecker has built Fluent NHibernate for NHibernate 3.0GA. You can grab the source here.
Update: Fluent Nhibernate now officially builds pre-release binaries with NHibernate 3.0.
You need to build them together. Can wait for NuGet to be updated or you can build them yourself.
Or you can put assembly redirect
What is the current "production ready" version of NHibernate? I get conflicting answers on the hibernate site vs some other posts. Is it 2 or 2.1?? If it's 2.1 where do I get that binary?
The latest production version of NHibernate is 2.1. However there was a large change in 2.1 that is probably preventing people from making the jump right away. Maybe that is why you are getting conflicting answers.
You can always get the latest version from nhibernate.info
Details about the removal of the proxy framework here
Don't forget to grab yourself a copy of NHibernate Linq while you are at it
2.1
http://sourceforge.net/projects/nhibernate/files/
NHibernate-2.1.0.GA
I am trying to do a MVC project where i want to use fluent nhibernate. gonna use sql. unfortunately i am confused about how to even start it. i found no tutorials in the net. i need help in organizing my project.thanks in advance
I have a series on my blog where I build a forum application using asp.net mvc and fluent nhibernate. You can check out one of the earlier posts and download the source code. Here is the link to the series: http://mattias-jakobsson.net/archive.aspx#Jakobsson-forum.
Sharp architecture can be helpful. You can base your application on it. It contains MVC and nHibernate and handles many problems that you will have during application development. It is solid base for every MVC app.
You should look at Who Can Help Me?, which is an example site put together by EMC that uses many of the big OSS projects out there today. Specifically of interest: MVC + Sharp Architecture + Fluent NHibernate.
James Broome has also written plenty of stuff about using all the technologies used in the above on his EMC blog.
I'm migrating the data layer of our application to NH version 2.1.0 (from 2.0.1) and noticed the use of LinFu. I discovered that framework and want to use it in other pieces of the application, especially I want to use the LinFu.Reflection.dll, which requires a reference to LinFu.DynamicProxy and here comes the trouble, the 1.0 final version of LinFu that I can find on google.code is not the same version used by NHibernate itself. Do I need to rebuild NHibernate.ByteCode.LinFu.dll changing the reference to the available version? If not, what else?
I have faced the same problem a few days ago. There's a tool named ILMERGE that merges .NET DLL-files, and that way you should be able to have several versions of the same DLL in your application.
Unfortunately I haven't tested the tool yet, I didn't get around to it, but I'll test in the next week.
But Rhino Mocks for example, has a binary with all dependencies included: http://ayende.com/projects/rhino-mocks/downloads.aspx, so it seems doable.
Mono appears to have really come a log way since the last time I really used it. I'm interested in doing some ASP.Net development using Mono. I have used .netTiers/CodeSmith at work and really enjoy the speed with which code generation gives you a clean working data access layer. The question is has anybody used any code generation with Mono? I am open to learning something like SubSonic or NHibernate if those work better with Mono.
Thanks in advance for any help.
I have used subsonic with mono. I've used it on mono 2.0, on which SubStage (GUI front end for subsonic ) does not work, but you can generate code using command line option. It works very well with mono. I don't find any problem while using SubSonic generated code in mono.
I have not NHibernate on mono. NHibernate is very complex, I tried to learn it, but give. While SubSonic is very easy, it take me less than 1hr to learn SubSonic.
If you are interested in Linq, I suggest to you give a try to DBLinq , DBLinq team is working with Mono team to implement Linq to Sql in Mono.
This link describes it pretty well. Not entirely sure I understand it, but the end result is good performance.
http://www.mono-project.com/Linear_IL
We do have people using CodeSmith to generate code that runs under Mono. I talked to one guy who was creating a Mono Framework with CodeSmith.
Thanks
-Blake Niemyjski