The Manage Number is an ASP.NET Core WCF application that introduces a way to register, unregister numbers and consult how many numbers are left to be registered. This solves the problem for controling logical and physical numbers allocation to clients, allowing to register a specific number and remove it, when no longer used. It is a minimal version of what could be used on large phone operators, only allowing 15 numbers to be regustered. The application exposes a service that can be used by others in the future.
The application contains a Console screen loaded when executed, this screen allows to include or remove numbers, and contains a button to consult how many numbers are left to be registered. It can be executed through Visual Studio, or with Docker.
- Clone this repository
- Go to the root folder and build the application with: docker build -t manage-number .
- From the same folder, you can run the service: docker run -d --name managenumber-service manage-number
Note that currently Docker does not support running in containers a ASP.NET Core Console Application, once container is up, you can execute the console sepparetly.
- Clone this repository
- Open the solution file (sln) on Visual Studio
- Build the solution
- From ManageNumber.Presentation project, Run it.
- Clone this repository
- Go to the root folder and build the application with: MSBuild.exe ManageNumber.sln -t:Clean;Rebuild
- To run the console app: ManageNumber.Presentation/bin/Debug/ManageNumber.Presentation.exe