DbLocator Documentation

Welcome to the DbLocator documentation. This documentation will help you understand and use the DbLocator library effectively.

What is DbLocator?

DbLocator is a .NET library that simplifies database interactions for multi-database tenant applications on SQL Server. It provides a robust solution for managing database connections, implementing role-based access control, and handling multi-tenant scenarios.

Key Features

  • Multi-tenant Database Management: Manage multiple databases for different tenants with ease
  • Role-Based Access Control: Implement fine-grained access control using SQL Server database roles
  • Database Server Management: Support for multiple server identification methods (hostname, FQDN, IP)
  • Connection Management: Secure connection handling with SQL Server authentication
  • Data Encryption: Built-in encryption for sensitive connection information

Getting Started

To get started with DbLocator, check out our Getting Started Guide. This guide will walk you through:

  • Installation and setup
  • Basic configuration
  • Creating your first tenant
  • Managing database connections
  • Implementing role-based access

Examples

Check out our Examples to see DbLocator in action:

  • Basic tenant setup
  • Multi-database tenant configuration
  • Role-based access implementation
  • Integration with dependency injection

Advanced Configuration

For more complex scenarios, refer to our Advanced Configuration Guide:

  • Custom connection providers
  • Entity Framework Core integration
  • Background service implementation
  • Advanced error handling
  • Security best practices

API Reference

For detailed API documentation, visit our API Reference.

Contributing

We welcome contributions! Please see our Contributing Guide for more information.

License

DbLocator is licensed under the MIT License. See the LICENSE file for details.

Support

If you need help or have questions: