I just started learning SharePoint 2010. I have an existing ASP.Net web application that I want to re-write as a SharePoint 2010 application. It's a small database driven application that also uses JQuery JSON calls to record some user activity. I believe I need to create custom web parts to achieve my goal. Can you please shade some light on the following questions?
- What is the best way to connect custom web part to the database.
- Where in the application, database connection string is stored?
- Are there any design patterns that I can look at for this scenario?
- What is the best way to link logged in user to custom database tables?
Thanks