简体   繁体   中英

ASP. NET Core free database for Azure

I am looking for an option to have a free database on Azure. From the article I see that there is an option to have free DB on Azure. But it works for standard ASP.NET MVC. How can I achieve this in ASP.NET Core ? Or, maybe Azure provides some free/very cheap DB?

there used to be a free SKU for SQL server, but's no longer available. the only free db option you have atm is ClearDB's hosted MySQL (Mercury tier). if you have the correct DB drivers or framework then you can do this easily : https://docs.asp.net/en/latest/data/index.html Hope this helps

Once you have created the free database you can use it for any purpose you desire.

You can get the connection string and add allowed IP addresses through the Azure portal.

During development I am using SQLLite, which is free and works like a charm. It is perfect for small applications. Using it with Entity Framework however might cause some issues when database changes are introduced later. But once you switch to production you can just use a different database provider.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM