- Mastering Entity Framework Core 2.0
- Prabhakaran Anbazhagan
- 42字
- 2021-07-02 21:16:40
Registering context in services (.NET Core DI)
The warning displayed in the OnConfiguring(DbContextOptionsBuilder optionsBuilder) method needs to be addressed. So let's remove that method (highlighted in the following code) and perform configuration inside the Startup.cs file using dependency injection.
推薦閱讀
- Vue.js設計與實現
- Reporting with Visual Studio and Crystal Reports
- SOA實踐
- Practical UX Design
- PyTorch Artificial Intelligence Fundamentals
- Learn Programming in Python with Cody Jackson
- 精通API架構:設計、運維與演進
- Redis Essentials
- Spring Boot Cookbook
- 微信小程序全棧開發技術與實戰(微課版)
- Python程序設計與算法基礎教程(第2版)(微課版)
- Java 9 Programming By Example
- Node.js從入門到精通
- Getting Started with React VR
- Java程序設計實用教程(第2版)