We need to manage Create, Read, Update and Delete (CRUD) data through the web application. For this task we have several data store types
DataStore Types – there are 12 types of data stores:
- Global Datastore - keeps the data in a data file and the data is kept until you remove it from the data store. The data is available even after web applications restart.
- Application Datastore - keeps the data in the ApplicationState and the data is kept till the application is shutdown or restarted.
- Profile - keeps the data in the users' profile and the data is kept until you remove it from the data store. The data is kept for each user. For current user/performance issue.
- Cookies Datastore - keeps the data in Cookies and the data is kept until the cookie expires. Bear in mind that the data store depends on the cookies available on the clients' browsers.
- Session Datastore - keeps the data in the SessionState and the data is kept until the user's session expires.
- ViewState Datastore - keeps the data in the page's ViewState and is kept until the user changes the page.
- PersistedOrder - keeps the data in PersistedOrder object and is kept until it is cleared. The data is stored in SQL and it’s we set backup of it in file.
- Order - keeps the data in Order object (memory/session) and is kept until it is not cleared.
- GlobalSettings - keeps the data as XML object (memory/session) and is kept until it is not cleared
- Request - keeps data in single request/query string (GET/POST)
- Template - you can read all variables of the Template
- UserFields - you can CRUD user’s info and add custom fields and properties