SubSonic 3.0 - Medium Trust

In June 2009, SubSonic 3.0 was released. Since I am looking for an ORM solution for my site capable of running in a medium trust environment, this looks like an option. From searching this site, I noticed that SubSonic 2.0 is capable of operating in a medium trust environment. As of 3.0, I couldn't find this online.

Does anyone else have any experience with 3.0 in a medium trust environment (ISP)? And what to do and not release. I tested this briefly locally, but security exceptions were thrown. Before implementing this, I would like to know because I am already frustrated with Nhibernate and the medium trust framework.

0


source to share


3 answers


We tested this in a trust facility and there are currently no issues.



+2


source


I wanted to check it out. The only problem I had with Active Record was pulling the "data context" out of the object. Every time I pulled from DBContext.TableNames and used a function like Where () or Count () under medium trust, it would throw a SecurityException.

I was successfully able to pull out single lines using the constructors, and I was also able to save and delete them using Active Record without any medium trust issues.



For the listing issue, I listened to it here. Feel free to add to it if you have something. http://github.com/subsonic/SubSonic-3.0/issues/#issue/99

+2


source


I know there is a new ORM platform released this month that supports Medium Trust. FlyweightObjects.NET is also a custom architecture. You can check it out when it is released. link text

0


source







All Articles