Which ORM is used on asp.nethttp://forums.asp.net/t/1769168.aspx/1?Which+ORM+is+used+on+asp+netThu, 23 Feb 2012 12:53:06 -050017691684830714http://forums.asp.net/p/1769168/4830714.aspx/1?Which+ORM+is+used+on+asp+netWhich ORM is used on asp.net <p>Hi,</p> <p>I have been doing some digging into ORMs and was wondering what ORM was decided upon for building this new site???</p> <p>Cheers,</p> <p>Mike.</p> 2012-02-14T03:40:28-05:004830992http://forums.asp.net/p/1769168/4830992.aspx/1?Re+Which+ORM+is+used+on+asp+netRe: Which ORM is used on asp.net <p>In my opinion it does not matter, since what is really important is that you understand why we use orm's, what problems does it solve, etc.</p> <p>Which specific tool you use for&nbsp; the job, is completely up to you.</p> <p>Personally, I would recommend Entity Framework if you are still at the level of having to decide which one is better.</p> <p>Myself moved on to nHibernate, not because anything wrong with EF, just because I wanted to learn something new at the time (never got a reason to go back though).</p> <p>(PS: When I started out with ORM's I first created my own.&nbsp; Simply static classes that would convert a dataset to a domain object.&nbsp; :-D&nbsp; )</p> 2012-02-14T06:47:16-05:004831206http://forums.asp.net/p/1769168/4831206.aspx/1?Re+Which+ORM+is+used+on+asp+netRe: Which ORM is used on asp.net <p>The reason Im asking is that this site is extremely fast but the day I started using EF my sites became very slow. All my MVC/EF sites are slow. I have about 20 sites running Classic ASP with MS Access databases that are still running fast and fine. They are about 12 to 13 years old and the funny thing is, they just keep working! They wont be going anywhere until the clients put some &#36;&#36;&#36; together eitherlol.</p> 2012-02-14T08:43:42-05:004834086http://forums.asp.net/p/1769168/4834086.aspx/1?Re+Which+ORM+is+used+on+asp+netRe: Which ORM is used on asp.net <p>We don't use a ORM, it's a custom data access layer.</p> 2012-02-15T15:30:02-05:004840330http://forums.asp.net/p/1769168/4840330.aspx/1?Re+Which+ORM+is+used+on+asp+netRe: Which ORM is used on asp.net <p>Wouldnt that kind of imply that the Entity Framework is not the best option for me going forward???</p> 2012-02-20T05:31:21-05:004841710http://forums.asp.net/p/1769168/4841710.aspx/1?Re+Which+ORM+is+used+on+asp+netRe: Which ORM is used on asp.net <p>No - it would not imply that.</p> <p>All it implies is that the developers of this particular application felt that a custom data access layer was the best option for them at the time.</p> 2012-02-20T18:32:03-05:004841726http://forums.asp.net/p/1769168/4841726.aspx/1?Re+Which+ORM+is+used+on+asp+netRe: Which ORM is used on asp.net <p>@ <a title="bojangles" href="http://forums.asp.net/members/bojangles.aspx">bojangles</a></p> <p></p> <blockquote><span class="icon-blockquote"></span> <h4>bojangles</h4> <p></p> <p>Wouldnt that kind of imply that the Entity Framework is not the best option for me going forward???</p> <p></p> </blockquote> <p></p> <p>absolutely not!!!&nbsp; how did you come to such a conclusion?</p> <p>there are several .NET ORM options ... my own preference currently is EF 4.2 ... EF 4.1 introduced Code First ...</p> <p>just because somebody built their own DAL in no way diminishes the advantage of using an ORM.</p> <p>See <a href="http://msdn.microsoft.com/en-us/data/ef">http://msdn.microsoft.com/en-us/data/ef</a></p> <p>AFAIK, forums.asp.net is a WebForms application whereas stackoverflow.com is an ASP.NET MVC application ... would you not use ASP.NET MVC because forums.asp.net used something else?</p> <p>g.</p> <p>TIMTOWTDI&nbsp; =.&nbsp; there is more than one way to do it</p> <p>* FWIW:&nbsp; <a href="http://wekeroad.com/2009/04/22/i-spose-ill-just-say-it-you-should-learn-mvc"> http://wekeroad.com/2009/04/22/i-spose-ill-just-say-it-you-should-learn-mvc</a>&nbsp;YMMV</p> 2012-02-20T18:41:07-05:004841738http://forums.asp.net/p/1769168/4841738.aspx/1?Re+Which+ORM+is+used+on+asp+netRe: Which ORM is used on asp.net <p>@ <a title="bojangles" href="http://forums.asp.net/members/bojangles.aspx">bojangles</a></p> <p>Mike (<a title="Mikesdotnetting" href="http://forums.asp.net/members/Mikesdotnetting.aspx">Mikesdotnetting</a>) makes this valid point:</p> <p></p> <blockquote><span class="icon-blockquote"></span> <h4>Mikesdotnetting</h4> <p></p> <p>All it implies is that the developers of this particular application felt that a custom data access layer was the best option for them <span style="text-decoration:underline"><strong>at the time</strong></span>.</p> <p></p> </blockquote> <p></p> <p>if they were to do it again, their choice might be something totally different.</p> <p>before Jim Newkirk and Brad Wilson gave us xUnit.net, i would likely have chosen NUnit (which BTW, Jim Newkirk wrote NUnit 2.0).</p> <p>change happens so fast in the programming universe that even Star Trek's android Data might encounter difficulty keeping up to date.</p> <p>g.</p> 2012-02-20T18:48:28-05:004841888http://forums.asp.net/p/1769168/4841888.aspx/1?Re+Which+ORM+is+used+on+asp+netRe: Which ORM is used on asp.net <p>Thanks everyone,</p> <p>Im writing all my new web apps in MVC, I have one huge site I built with Webforms and still manage a lot of Classic ASP sites. Back in the classic ASP days, I had a model I used for about 10 years that I built a all my sites around, it worked and still does, now I would like to do the same with MVC.</p> <p>I just kind of get the feeling that using the EF is cheating as its so easy and that makes me feel there could be a better way to put my modal together.</p> <p>Gerry, I love the Data reference, Im a Trekker from way back, but the learning curve into Webforms and now MVC has been a mission and I would like to stick with something for a while and not have to learn too much more for a few years. Now we have the whole mobile revolution to deal with Ive had to learn more and more languages.</p> <p>Unfortunately my business is building web applications and doesnt allow me the time to build my own ORMs, I would love to give it a go, its not rocket science, its just a little bit trickierlol.</p> <p>Cheers,</p> <p>Mike.</p> 2012-02-20T21:36:44-05:004842154http://forums.asp.net/p/1769168/4842154.aspx/1?Re+Which+ORM+is+used+on+asp+netRe: Which ORM is used on asp.net <p></p> <blockquote><span class="icon-blockquote"></span> <h4>bojangles</h4> I just kind of get the feeling that using the EF is cheating as its so easy</blockquote> <p></p> <p>I feel the same way about Visual Studio compared to Notepad, but hey - I manage to get over that.</p> <p>;o)</p> 2012-02-21T04:36:42-05:004843296http://forums.asp.net/p/1769168/4843296.aspx/1?Re+Which+ORM+is+used+on+asp+netRe: Which ORM is used on asp.net <p>@ <a title="bojangles" href="http://forums.asp.net/members/bojangles.aspx">bojangles</a></p> <p>Mike, you do not need to build your own ORM ... you can use EF, NHibernate, SubSonic (Rob Conery), ...</p> <p>Like Mike of <a title="Mikesdotnetting" href="http://forums.asp.net/members/Mikesdotnetting.aspx"> Mikesdotnetting</a>&nbsp;wrote, using an ORM, or for that matter, any tool, is not cheating ... imho, it's simply working smart ... I waited far too long to move to Visual Studio ... i'm still kicking myself for all the time that i wasted not going to vs eariler ... now, i move no later than rtm/rtw (product release) and often in alpha if the product is strong (example:&nbsp; ASP.NET MVC 4).</p> <p>g.</p> 2012-02-21T14:05:53-05:004843424http://forums.asp.net/p/1769168/4843424.aspx/1?Re+Which+ORM+is+used+on+asp+netRe: Which ORM is used on asp.net <p>@&nbsp; <a title="bojangles" href="http://forums.asp.net/members/bojangles.aspx">bojangles</a></p> <p></p> <blockquote><span class="icon-blockquote"></span> <h4>bojangles</h4> <p></p> <p>Now we have the whole <strong>mobile revolution</strong></p> <p></p> </blockquote> <p></p> <p>Mike, i forgot to mention that <strong>ASP.NET MVC 4</strong> will have strong support for <strong>mobile</strong> applications, example:</p> <p><a href="http://www.asp.net/whitepapers/mvc4-release-notes#_Toc303253809">http://www.asp.net/whitepapers/mvc4-release-notes#_Toc303253809</a>&nbsp;&quot;Mobile Project Template&quot;</p> <p style="padding-left:60px">If youre starting a new project and want to create a site <em>specifically</em> for mobile and tablet browsers, you can use the new <strong> Mobile Application project template</strong>. This is based on jQuery Mobile, an open-source library for building touch-optimized UI:</p> <p>also, even the standard template:</p> <p style="padding-left:30px">&quot;In addition to cosmetic improvements, theres improved functionality in the new template.</p> <p style="padding-left:30px">&nbsp;The template employs a technique called adaptive rendering to look good in both desktop browsers and mobile browsers without any customization.&quot;</p> <p>g.</p> 2012-02-21T15:24:42-05:004843941http://forums.asp.net/p/1769168/4843941.aspx/1?Re+Which+ORM+is+used+on+asp+netRe: Which ORM is used on asp.net <p>Funny, I built my first mobile specific site early last year in MVC3 and jQueryMobile, I think beta, didnt wait for version 1 and while asking some questions on this site, Rick pointed me in the direction of his tutorial on MVC4, very cool! So I didnt wait for the release either, now have two MVC4 sites in production and they work great.</p> <p>The other languages I mentioned are Java and objective C, now Im just waiting for HTML5 to have the kind of control over the phone as a native app has and I will forget those languages! J</p> <p>Thanks everyone, you have given me total confidence in MVC and EF here, I was pretty confident anyway!</p> <p>Cheers,</p> <p>Mike.</p> 2012-02-21T23:31:18-05:004845203http://forums.asp.net/p/1769168/4845203.aspx/1?Re+Which+ORM+is+used+on+asp+netRe: Which ORM is used on asp.net <p>Hi,</p> <p></p> <blockquote><span class="icon-blockquote"></span> <h4>bojangles</h4> Im just waiting for HTML5 </blockquote> <p></p> <p>You don't need t wait: <a href="http://channel9.msdn.com/Events/TechDays/Techdays-2012-the-Netherlands/2159"> http://channel9.msdn.com/Events/TechDays/Techdays-2012-the-Netherlands/2159</a>. Can't see if the video is already up as Channel9 gets blocked at my current client but it was a very interesting session.</p> <p>Grz, Kris.</p> 2012-02-22T12:28:28-05:004847324http://forums.asp.net/p/1769168/4847324.aspx/1?Re+Which+ORM+is+used+on+asp+netRe: Which ORM is used on asp.net <p></p> <blockquote><span class="icon-blockquote"></span> <h4>bojangles</h4> This may be a rant but you have me thinking about the mobile world right now and this is probably not the right thread to be writing this and defiantly not the right forum</blockquote> <p></p> <p>Yes, you are correct.&nbsp; I'm now closing this thread, since you've received the original answer you were seeking, and some good insight.</p> 2012-02-23T12:53:06-05:00