Microsoft Access & ASP.NET

I have a web application that was developed using Microsoft ASP.NET and XML for the datasource.  I'm considering changing the datasource to Microsoft Access.  I have a few questions.

1. Where should the datasource connection be established?
   Can this be done within the global.asax?
   Note: The .accdb file is located in the APP_DATA folder.

2. Can the single datasource (.accdb) connection remain open throughout the user's session?

3. Will opening and closing the connection cause a performance issue?

4. Is it best to use BOUND or UNBOUND mode?
Ray TurnerSenior ConsultantAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

DatabaseMX (Joe Anderson - Microsoft Access MVP)Database Architect / Systems AnalystCommented:
Whereas this IS possible, I would suggest not using an Access DB for your backend on a web application, since Access was never intended for this purpose. I have done this, but it was a VERY low traffic situation.   I would instead be looking at SQL Server for this.
Another possibility is creating an Access 2013 Web App, which has a browser interface and the back end is a full blown SQL Server (Azure) database, managed by Microsoft (typically).

Ray TurnerSenior ConsultantAuthor Commented:
Could I stay with XML since the information is read-only and rarely changes?
DatabaseMX (Joe Anderson - Microsoft Access MVP)Database Architect / Systems AnalystCommented:
Umm .... I can't really speak to that since I have never used XML as a back end data source.
However ... "Read-only and rarely changes?" ... I suppose you could try using an Access Db in this case.
Are you the only user?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

Ray TurnerSenior ConsultantAuthor Commented:
Ray TurnerSenior ConsultantAuthor Commented:
I'm the only one with the ability to update/insert/delete a record.
DatabaseMX (Joe Anderson - Microsoft Access MVP)Database Architect / Systems AnalystCommented:
Since I haven't really worked with ASP.Net .... I'm probably not the best person to answer your other questions. Sorry,.
Ray TurnerSenior ConsultantAuthor Commented:
No problem.  You've given me some hope that I can make this work with Access.  I'm just looking for the simplest way to eliminate that XML layer.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.