The User Locator Service streamlines the process of finding a user's address information within your web applications. It eliminates the need for complex IP address manipulation and leverages the power of Geolocation providers.
- IpLocation
- TimeZone
- Vertical Slice Architecture
- ASP.NET Core - Minimal APIs
- EF Core
- MongoDB
- C#
- Clone the repository:
git clone https://github.com/thisisnabi/Locator.git
If you find this project helpful or interesting, please consider giving it a star on GitHub. It helps to support the project and gives recognition to the contributors.
device connected to a network that uses the Internet Protocol (IP) for communication. It acts like a digital mailing address, allowing information to be sent and received between devices on the internet.
IP geolocation is a technique that estimates the geographical location (country, city, region, etc.) of a device connected to the internet based on its IP address.
There are various solutions for this task, but the simplest one is to use GeoLocation providers, which provide you with the possibility to access the user's address easily and only by using the user's IP address.
Remember, the user's IP comes with the HTTP request.
If your application architecture is based on microservices, it is better to develop a separate service to use this provider. This allows you to reuse and maintain and develop it separately.
Duplicate requests are always there, in order not to send a duplicate request to the Geolocation provider every time, it is better to cache your requests.
This project is licensed under the MIT License: MIT License.
Feel free to raise any questions or suggestions through GitHub issues.