Can SignalR be used with ANY database? [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 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.

Related

How to make a plug and play WPF app create a SQL 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 2 years ago.
Improve this question
I'm currently learning WPF with the goal of making a simple app for a friend. This app will make use of a database and the PC were it will run won't be connected to the internet.
I know how to make a simple database using the server management studio, and how to connect to it in my code. But so far, all tutorials/docs I've seen only talk about making use of a database in my pc, but in the case when I finish said app, how I go about setting all of this up in his (or any other)?
The end goal is for the app to be 'plug and play' and that the database files can be easily backed up.
I don't expected a step by step process! Just some direction for where to look for would be more than enough... thank you.
Use an SQLite DB, can be part of the App

Windows asp .net application and Redis [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
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.

ASP.NET Core 2.0 using two databases, one for authentication one for data [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 5 years ago.
Improve this question
I already have a database which several of my projects use for authentication and I have a database specific for my current project. I'm currently working on an ASP.NET Core 2.0 project with EF Core. Now I'm wondering if it's possible to add authentication to my current project in a way that it will use the existing authentication database but still use it's own database for storing data.
You should implement two dbContext.
Register two contexts in ConfigureServices method using connection string keys from config-file), or you can specify connection strings directly inside the method as arguments.
Then you can resolve nessesary contexts in constructors.

View an Entity Framework 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 5 years ago.
Improve this question
I am currently learning about APIs in general and I want to make a simple api that can be able to receive and send requests. I created a simple API using ASP.NET Core and the Entity Framework in order to use and save data to a local SQL Server.
This is the tutorial that I used in order to create the database.
However, I am now wondering if there is a way to view the database tables and their contents like in phpMyAdmin. Is it possible?
In Visual Studio you can view it by clicking Tools > Connect to Database.
Find your database table and right-click to get the option to view the data.
Personally I use SQL Server Management Studio to connect and view my data.
Find it here.

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