Hey,
I want to do a shared hosting of Vuyahoga, but i heard there was problem with the NHibernate dll .NET trust level.
Something about it needing to be low, rather than medium.
Anyone know if this is still a problem in 1.5 version of Cuyahoga or even the truck in SVN?
ged
http://jira.nhibernate.org/browse/NH-442;jsessionid=FMEAEFLPDDOC?page=all
Looks like we have to wait until Nhibernate 1.2 is incorporated then.
Any ideas how much this will affect the code and if it will be done?
ged
There is quite some stuff to do for NH 1.2:
- new mapping file schema (though old schema should still work)
- mapped classes have to have virtual methods
- all mapped classes are lazy by default
...
As well new possibilities arise with NH 1.2:
- The CommonDao class can be replaced with a generic one
- Generics are fully supported and could (should?) replace the ILists
...
Regards,
Max
If I may add to that:
NHibernate 1.2 should be able to run under medium trust, but at this moment, it's not possible to use lazy loading in that scenario because Castle DynamicProxy has some issues. Unfortunately it's really not possible to turn off lazy loading in Cuyahoga because performance will suffer too much.
Thanks for the comments mgaerber and martin.
Really appreciate your feedbakc and i can see what you are getting at.
Hosting on a dedicated web server is way more expensive than a shared web server.
Is it not possible to integrate NHib 1.2, so that it just gets around the hosting problem, WITHOUT capitalizing on it immediately in terms of its better functionality.
The usage of the nice stuff in NHib 1.2 could be done later?
martin,
cant we just keep the lazy loading. I was a little confused about the reasoning why sorry.
This isr eally a killer for me right now thats all as i want to host some stuff but the cost differentials are quite big for me.
Makes me wonder how many others have this web hosting costs problem. I mean its like 2 -3 K more for dedicated.
gedw99Makes me wonder how many others have this web hosting costs problem. I mean its like 2 -3 K more for dedicated.
There are still hosts that allow Full Trust on a shared server. It doesn't have to be that expensive.