Windows asp .net application and Redis [closed] - c#

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
When I have a Windows server and I put the results of my most searched queries from SQL Server in a session in a .net application and compared to caching it in Redis, what is the difference or recommended way? What are the implications of putting it in a session in the application?

You question sounds like Session State vs. Redis for storing temporary data.
They are not mutually exclusive. You store Session State in memory on single server.
In multiple web servers in a web farm, we store them in Redis, SQL Server or State Server.
Caching is different. You could read Redis cache vs using memory directly in SO.

Related

Product Database and Application [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 3 years ago.
Improve this question
I have simple application design it by C# (windows form application) and the database is Microsoft Access, it work with multi users.
We have Share Drive in our PC ,I put the application and database on the share drive.
How can I protect the application and the database from the users until they do not delete or open it?
MS Access is designed to be slightly better then storing this stuff in Excel Tables, but not so good it will ruin the MS Business with SQL Server. If anything, it is about getting you "hooked on" using Databases.
I think this project plainly went past the scale that Access can support. You need to go to a proper Database Server to go any further - user rights included. SQL Server Express and MySQL should both be avalible and free of charge. And of course there are tons of other Options.

Can SignalR be used with ANY database? [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 6 years ago.
Improve this question
I need to implement push technology in my application. I need to display data on the web page as it gets inserted in the database in real time.
I am using ASP.NET MVC with IBM Informix as backend database. I am trying to figure out if it is possible to use SignalR with Informix?
Does SignalR have any dependency on the backend database? Or could it be used with any database?
Signal R is a system for real time (ish) communication over an HTTP connection and your database is for data storage. The two are solutions to completely separate problems, and there is no dependency between them. You can write code to link up these two parts of your application.

Local files or remote server [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
I've developed a desktop application(Accountant App). This application is going to import invoices data and do a lot of other things. All data will be stored on remote database (SQL Server). This app needs some 'pre loaded data' to work properly, like a list containing a bunch of cities etc. My question is: Is better to have this data (cities, states, zipcodes) stored in the remote database or is better to use xml, csv files and deploy them with each individual instance of the application? This data will be updated eventually. And this data will be used frequently by the users.
Well you can either use an external file or store them in the database. I think storing it in the database is the better approach since you won't have to distribute another extra file and all of your data will be at one place. Don't forget to seed the data every time you clear the database though.

Which security method should I use when sending text data to a SQL 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 8 years ago.
Improve this question
I have a C# desktop application and I need to send text data to a remote SQL Server.
What should I use for security? Web service or socket or another?
Web Services and sockets are ways for an application to communicate with SQL server. In it of themselves, they do not provide security.
Now if you are wondering how you should communicate with your SQL server from your applications, that depends on your scenarios. Web Services is what I go with if I need to communicate with SQL through more than one application. For example, if you have your desktop application and, for example, an Android application or a web application.
Now if you are wondering about security, you should be encrypting your data and storing the encrypted data in the SQL server. When you retrieve the data, you should decrypt it. Also, make sure your site runs on HTTPS protocol and not HTTP.

how to pre load a read only database in asp.net [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 have used fastcgi when a process starts up and then executes and serves results to a client. I used to preload a readonly database into memory during the start up and then use that to server results. The advantage being the data gets loaded and prepared only once and is readily available.
How can this be accomplished in ASP.NET technology without using an external database technology like memcached etc?
It depends on how complicated the database is, but if I needed to do this I would load the database into the application cache as datatables, within the global.asax application_startup method.

Categories