Locator
Locator copied to clipboard
Vertical Slice Architecture Implementation in ASP.NET Core User Location problem domain.
Locator Service
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.
Features
- IpLocation
- TimeZone
Technologies Used
- Vertical Slice Architecture
- ASP.NET Core - Minimal APIs
- EF Core
- MongoDB
- C#
Installation
- Clone the repository:
git clone https://github.com/thisisnabi/Locator.git
Give a Star! ⭐
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.
Getting Started
IP Address
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
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.
Accessing to the 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.
Locator on your Microservice
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.
The locator works like a proxy
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.
License
This project is licensed under the MIT License: MIT License.
Stay Connected
Feel free to raise any questions or suggestions through GitHub issues.