Database for .net web api [closed] - c#

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I'm looking for a tip on what database I should use for my api.
The api will be querying one table with maximum of 10 million rows. I'm looking for a free and easy DB which can interact well with c# .net.
Any suggestions?

I don't understand your question well, please clarify more.
But for .Net we tend to use SQLServer with .Net Technologies.
For .Net WebAPI2 we used to use SQL Server as Database and Entity-framework code first technology to build our Data layer.
So we build a webAPI
WebAPI contains Controllers
This controllers get its data from repository pattern classes
Repository pattern classes get it's data from the Entity Framework context
which it self using the repository patter.
For large data you can use something like DocumentDB, MongoDB (NOSQL technologies)

Related

How to use System.Data.SQLite.Linq [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I was wondering how to just use System.Data.SQLite.Linq to query SQLite database, without Entity Framework involved.
I had used decompiler tool to check System.Data.SQLite.Linq and System.Data.SQLite.EF6, it seems like they are the same except the namespace and EntityFramework is referenced by the latter.
I see the following description on the official website:
http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki
As far as I understand, any package that support Linq should implement the IQueryProvider and IQueryable interfaces, but I don't see this in package System.Data.SQLite.Linq.
Can someone explain it? Thanks a lot!
I have analysed their sources and cannot even understand for which purpose it was introduced and how it is related with LINQ.
If you need good SQLite LINQ support without EF, I know only one library which can do that effectively linq2db (disclaimer, I'm one of the creators)

Apache spark queries through C# [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I was wondering if there is a way I can use C# to write queries to run on Apache spark. I know spark SQL queries can be written in java/scala/python. Is there any interface for c#?
What exactly you are trying to achieve? If you want to write programs which uses spark apis, probably you are out of luck as only scala,java and python apis are exposed. But if you want to query spark storage data then you can see the thriftserver comes with spark and pass your queries through it. Essentially it should support any jdbc connection (see beeline example in documentation)

Library for database (schema) management [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I am looking for a .Net library which would act like an abstraction layer between the application and the database. The application mostly deals with structure alterations, like creating a new table or adding a column to existing table.
I would like to have the library which deals directly with database entities like tables, schemas or columns - so not really ORM (unless some ORMs have good "utility" layer). Support for PostgreSQL and SQL Server is required (Oracle and SQLite would be "a nice to have" feature).
Any free or commercial (but royalty-free i.e. no per-server license) solutions would be much appreciated.
For the DAL, I recommend NHibernate (http://nhibernate.info/)
It is a great all-rounder:
easy to use
good abstraction
powerful features.
It gets even better with FluentNhibernate (http://www.fluentnhibernate.org/)
--
If you are looking for something more speedy and light-weight, take a look at StackOverflow's very own Dapper (https://github.com/StackExchange/dapper-dot-net)

Generate C# source code for model classes from database table schema for .Net 3.5 application [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I create some WinForms apps using Ado.Net to connect the database. I'm using MVP model.
The application uses .Net 3.5 so I cannot use EF 5.0 and I am not willing to use lower version of EF. I'm using VS 2012 though. Is there any tool can be used to generate the C# model classes from the database table schema?
This is called Entity Framework Model First: you generate Edmx designer-based model basing on existing database schema, and then POCO-classes basing on this model.
Visual Studio 2012 supports the approach by default: Add -> New item -> Data -> EF 5.x DbContext Generator.
There is a windows tool available SqlToCSharp which creates C# classes for Database tables, Views, SPs etc.
I have developed it, I am sure it will be helpful to solve the mentioned issue.

BigTable with C# Library [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
Is there any sort of LinqToBigTable library out there or anything that makes it link up with C#? I am looking to integrate with App Engine BigTable.
There is no direct way to interact with the AppEngine datastore from outside of an AppEngine application. Can't be done.
Your best bet for making something like this work is to expose your AppEngine datastore through a RESTful interface that talks JSON. Then, you can use Linq-to-JSON to work with the data in the fashion you desire.
The only supported languages for the Google App Engine are Python and Java (plus Go, experimentally). See here. As neither is a .net language you can't use Linq with the Google App Engine.
There is a C# client library for Cloud Bigtable, but there is not one for App Engine.

Categories

Resources