Best Practices in web development with OpenAccess

Thread is closed for posting
6 posts, 1 answers
  1. okan
    okan avatar
    8 posts
    Member since:
    May 2011

    Posted 25 May 2011 Link to this post

    Knowledge Base articles "best practices in web development with OpenAccess" part 1 and part 2 are using old/clasical methods.
    http://www.telerik.com/support/kb/orm/general/best-practices-with-openaccess.aspx
    http://www.telerik.com/support/kb/orm/general/best-practices-two.aspx

    Is there any documentation which is using new method?

    Regards
  2. Answer
    Pencho
    Admin
    Pencho avatar
    22 posts

    Posted 28 May 2011 Link to this post

    Hello okan,

    Both articles demonstrate the most preferable ways of working with Telerik OpenAccess ORM when developing web applications and they apply to both the old (classic) and new (domain model) approaches. Additionally, you could check the OpenAccess SDK Browser where the two approaches are demonstrated in real scenarios. We are planning to release in the next few weeks complete walkthroughs about our SDK examples where will be demonstrated step-by-step how to use the OpenAccessContext in web applications.
    If you have further questions, or if you would like to see any specific approach, do not hesitate to contact us.

    Best wishes,
    Pencho
    the Telerik team
    Q1’11 SP1 of Telerik OpenAccess is available for download; also available is the Q2'11 Roadmap for Telerik OpenAccess ORM.
  3. okan
    okan avatar
    8 posts
    Member since:
    May 2011

    Posted 31 May 2011 Link to this post

    Hello Pencho ,
    Thank you for pointing out right direction.
    I had some issues with orm SDK installation couldn't run sdk browser.
    But after your message I checked installation folder and found related samples.
    Thank you very much for your help.

    Regards
    Okan
    Quick note : sdk does not use system proxy settings. If you are behind corporate proxy you can properly run SDK browser.
  4. Serge
    Admin
    Serge avatar
    375 posts

    Posted 31 May 2011 Link to this post

    Hi okan,

     Would you mind helping us our by sharing with us your machine configuration and the exact problem you face when starting the SDK browser. You should also be aware what the SDK actually does and this is copying the examples from the program files folder to a folder elsewhere (usually the user temporary directory) and then fixing all the references and dependencies needed prior to compiling your sample. 

    What I mean to say is that the examples you will be looking at (in the installation directory) might not be working or even compilable if that step has not been executed. 

    Please share your problem with the SDK browser so that we might provide a solution (just for the sake of it try running it as an administrator, if you aren't already, you also need some SQL server installed).

    I hope this helps, and I am looking forward to resolving this issue with you.

    All the best,
    Serge
    the Telerik team
    Q1’11 SP1 of Telerik OpenAccess is available for download; also available is the Q2'11 Roadmap for Telerik OpenAccess ORM.
  5. okan
    okan avatar
    8 posts
    Member since:
    May 2011

    Posted 31 May 2011 Link to this post

    Hi Serge,
    Actually I had couple of problems  both with my home computer and work computer.
    At work
    • Win7 64bit and visual studio 2008, sqlExpress 2005 installed.
    • It's party of the active directory domain and behind a corporate firewall and proxy.
    • I am the local admin of the computer.
    When I start sdk  I receive "Remote server returned an error: (407) Proxy Authentication required"
    I think it is because sdk trying to load "getting started" tab and does not read my proxy authentication info from system.
    Second error : When I click on a Open In Visual Studio link for a sample  SQL server connection dialog appears and tries to attach sample database which is located C:\Users\username\AppData\Local\Telerik.OpenAccess.SDK\DatabaseData. Sql connection dialog can not attach NorthwindOA.mdf because of permission problem.
    I manually copied the mdf file and attach to sql server instance and it worked.
  6. Serge
    Admin
    Serge avatar
    375 posts

    Posted 02 Jun 2011 Link to this post

    Hello okan,

    We have already fixed the issue with the database installation and this will be released with the next version of the SDK. Most probably by the end of the month. 

    Thank you for the insight about the Authentication error, we will be further looking into that and hopefully provide a fix for that as well. 

    Again thanks for assisting us and do find your Telerik points updated for reporting this issue.

    All the best,
    Serge
    the Telerik team
    Q1’11 SP1 of Telerik OpenAccess is available for download; also available is the Q2'11 Roadmap for Telerik OpenAccess ORM.
Back to Top