This is a migrated thread and some comments may be shown as answers.

Best Practices in web development with OpenAccess

5 Answers 70 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
okan
Top achievements
Rank 1
okan asked on 25 May 2011, 09:01 PM
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

5 Answers, 1 is accepted

Sort by
0
Accepted
Pencho
Telerik team
answered on 28 May 2011, 03:39 PM
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.
0
okan
Top achievements
Rank 1
answered on 31 May 2011, 08:40 AM
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.
0
Serge
Telerik team
answered on 31 May 2011, 09:11 AM
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.
0
okan
Top achievements
Rank 1
answered on 31 May 2011, 12:47 PM
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.
0
Serge
Telerik team
answered on 02 Jun 2011, 04:48 PM
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.
Tags
General Discussions
Asked by
okan
Top achievements
Rank 1
Answers by
Pencho
Telerik team
okan
Top achievements
Rank 1
Serge
Telerik team
Share this question
or