Store persistent data
-
Hi, I am totally new to ASP.NET. Please help me to create a project to store persistent data. Thanks
And you call your self a "senior" developer :sigh: Decide where you want to store the data (database or file system) For database read up on creating a Web API project that uses a data access layer to connect t a database. For file system read up on system.IO No matter how you store the data you are going to have to research on what you intend to do.
Never underestimate the power of human stupidity RAH
-
And you call your self a "senior" developer :sigh: Decide where you want to store the data (database or file system) For database read up on creating a Web API project that uses a data access layer to connect t a database. For file system read up on system.IO No matter how you store the data you are going to have to research on what you intend to do.
Never underestimate the power of human stupidity RAH
Mycroft Holmes wrote:
And you call your self a "senior" developer
Presumably, a "Very Senior Developer" is the one who can use Google...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
-
Hi, I am totally new to ASP.NET. Please help me to create a project to store persistent data. Thanks
-
Hi, I am totally new to ASP.NET. Please help me to create a project to store persistent data. Thanks
If you want help you need to be much more specific. What do you mean by persistent data? In ASP.Net you can store data in the application cache which persists as long as the process is running. You can store in a cookie which persists until it expires or is deleted. You can persist in the database or a file for however long you want.
There are only 10 types of people in the world, those who understand binary and those who don't.
-
Hi, I am totally new to ASP.NET. Please help me to create a project to store persistent data. Thanks
-
Hi, I am totally new to ASP.NET. Please help me to create a project to store persistent data. Thanks
To store data, you need to use a database of some sort. ASP.Net can connect to many databases.
Mobile Apps - Sound Meter | Color Analyzer | SMBC | Football Doodles
-
To store data, you need to use a database of some sort. ASP.Net can connect to many databases.
Mobile Apps - Sound Meter | Color Analyzer | SMBC | Football Doodles
-
Yes and Yes Use XML (file based storage) only if you have very limited data in a simple data structure AND the application is single user only. File based data (XML) is notoriously difficult to manage when doing CRUD, you need to read the entire file, select the record you want to modify, change the record, reconstruct the file, write the entire file to the disk. No multiuser, there is no concept of record locking.
Never underestimate the power of human stupidity RAH
-
Yes and Yes Use XML (file based storage) only if you have very limited data in a simple data structure AND the application is single user only. File based data (XML) is notoriously difficult to manage when doing CRUD, you need to read the entire file, select the record you want to modify, change the record, reconstruct the file, write the entire file to the disk. No multiuser, there is no concept of record locking.
Never underestimate the power of human stupidity RAH
-
Use SQL Server or LocalDB or SQL Lite, there are a number of databases available, I would use SQL Server express if it need to be a server based system.
Never underestimate the power of human stupidity RAH