BIT Database Indexer Script - .net/Razor
Overview
DBTools is a web-based tool for managing index fragmentation in databases. The platform is developed as a .NET 8 Razor UI Class Library and is intended to be used in a Razor UI Web Application.
The Razor UI Class Library implements a series of Razor UI pages that will automatically be accessible in your Razor UI web application once installed.
Authentication
There are three authentication modes supported by the DBTools library.
- No Authentication – Any user with authorization to use the hosting site, can access the DBTools pages.
- Internal Authentication – Users will be required to provide a username and password to access the DBTools pages. The username and password are stored in the hosting applications configuration.
- Host Controlled Authentication – A valid dbtools authentication context can be created by the hosting application’s user authentication process, so when a user logs into the hosting application, the application creates a dbtool authentication context with a similar expiration. This process allows for a seamless authentication for the user.
Notifications
The DBTools system can send email notifications using a supplied SMTP username/password/server/port/from and to addresses. If email notifications are not wanted then it can be disabled but the DI service must still be registered.
Authentication Installation
The class library can be added as a Nuget package or directly as source code.
Once installed, register, and configure the DI services in your Razor application. Start by adding the “DbToolPages.Services” namespace.
The Bit database index script has versions under development in ASP.net and Ruby on Rails.
If you are interested in node js, Ruby on Rails or another version, please contact Us and let us know.