MDF file vs A connection [closed] - asp.net

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I did not try before to include .MDF file in App-Data, I usually connect to Sql Server 2005 or 2008 DB. Why I would use the mdf file, and what is the Pros and Cons.
Thanks

The .mdf file in App_Data is usually associated with SQL Server Compact editions. In production you would prefer to use the full blown version of SQL Server. The local database is good enough for development and testing purposes.

Related

How to keep connection string secured in open source? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 years ago.
Improve this question
I have an ASP.NET Core 3.1 web API project. My current working environment is Ubuntu. I am using a remote database. Now the problem is:
I have to keep my project in open source repository
I have to use the remotely connected database, so that my team-mate gets access to the APIs in Mobile Environments directly from the deployed site (heroku/azure)
But in such case, I guess this is not standard and most importantly not secured. So, How do I manage to secure the connection string of my remote database secured in an open source repository?
You can use "UserSecretManager" to put the connectionString into "secrets.json" instead of "appsetting.json". The "secrets.json" remains on your local machine and is outside of the git repository folder.

How to prevent hacker from downloading SQLite file from the server? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
As you know when if a stranger know the path of your SQLite database file he can easy download it. my question is how to avoid that?
I'm assuming you're accessing the SQLite database server-side. You could configure whatever host you're using (apache, nginx, etc...) to not allow access to the file or you could change the permissions to the file to only allow you to view it (using chmod).

What is Teradata Client 14.10 [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
In relation to Teradata Client 14.10, I was wondering if I could use this tool to run SQL, view tables and change passwords?
New to teradata.
Many Thanks.
Use the SQL Assistant from the client set, it would suffice.
Studio is too cranky at this point, was supposed to be an equivalent eventually replacing the assistant.
... teradata studio; a pre-baked eclipse plugin. Works pretty well and doesn't require all the old men ODBC configuration '90s msft weirdness. sorry a 'lil high rugh now.

how to create a table which can store pdf,doc file and how to insert the file [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
For my application I need to get the resume of user from a .net application and the resume need to be viewed only by the admin . I know how to get the resume in .net application . But I do no how to store the resume (i.e) .pdf or .doc in SQL SERVER
Look Out this
Save Different types of files into SQL Server Database using File Uploader Control
http://ajaxuploader.com/h/Save-Files-to-Database-using-FileUpload-Control.htm

Connecting ASP.NET web site in Visual Studio 2010 to SQL Server 2008 [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
i am new to .net environment and do not know how to connect a database. can anybody help me with it,and if possible give sample code for basic operations like insert a value into a DB,read a record etc
MSDN is the way to go:
How to: Connect to Data in a Database
Check out this marked answer in SO. You can use Presentation/BLL/DAL/Object Library for variables

Resources