Topic:   save data on the client side in ASP.NET?
Apr 23, 2021 10:06 1 Replies 96 Views LALITH

How do I save data on the client side in ASP.NET?

Prev Next
Topic Replies (1)
  1. 1
    idnkx user

    SAI

    You can use following technologies to save data on the client side in ASP.NET –
    • Web Storage: It simply provides a key-value mapping, e.g. localStorage["name"] = username; Unfortunately, present implementations only support string-to-string mappings, so you need to serialize and de-serialize other data structures. You can do so using JSON.stringify() and JSON.parse().
    • Web SQL Database: It gives you all the power and effort of a structured SQL relational database.
    • Indexed Database: It is somewhere in between Web Storage and Web SQL Database. Like Web Storage, it's a straightforward key-value mapping, but it supports indexes like those of relational databases, so searching objects matching a particular field is fast; you don't have to manually iterate through every object in the store.
    • File Access: It is an API for reading file content in JavaScript. Given a set of files the user has added to a "file" input element, you can read the content of the file or reference it as a URL, for example, if the user has specified an image file, you can show the image.

Leave a Reply
Guest User

Not sure what course is right for you?

Choose the right course for you.
Get the help of our experts and find a course that best suits your needs.


Let`s Connect