Reputation: 15219
I am new to ASP.NET Core, we have to implement a application to store some non-relational data (some rows in a Excel-Like table), so we decided to use Azure Tables. As I understand the EntityFramework Core does not support the AzureTables... What is the correct approach in that case?
Upvotes: 3
Views: 5039
Reputation: 15551
Entity Framework is an ER mapper for databases. Azure Table Storage is a NoSQL type of solution. Please find more information on using the available NuGet package here:
Another great resource is Get started with Azure Table storage using .NET, which will give you all information you need to start using Table Storage.
Since you're using ASP.NET Core, you shouldn't be reading settings from web.config, but from appsettings.json
. The CloudStorageAccount
has a static .Parse method
that will parse the ConnectionString and create a CloudStorageAccount
instance for you. Have a look over here on how to read settings from appsettings.json in ASP.NET Core: Configuration in ASP.NET Core | Microsoft Docs.
Upvotes: 5