Embark on a journey of knowledge! Take the quiz and earn valuable credits.
Take A QuizChallenge yourself and boost your learning! Start the quiz now to earn credits.
Take A QuizUnlock your potential! Begin the quiz, answer questions, and accumulate credits along the way.
Take A QuizWeb Technologies Web Development 3 years ago
User submissions are the sole responsibility of contributors, with TuteeHUB disclaiming liability for accuracy, copyrights, or consequences of use; content is for informational purposes only and not professional advice.
No matter what stage you're at in your education or career, TuteeHUB will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.
Ready to take your education and career to the next level? Register today and join our growing community of learners and professionals.
Your experience on this site will be improved by allowing cookies. Read Cookie Policy
Your experience on this site will be improved by allowing cookies. Read Cookie Policy
manpreet
Best Answer
3 years ago
_x000D_ Ocelot is powerful library but that is used in.Net Core which helps us build resilient gateway and am not sure of similar Asp.net libraries that you can use in this case . If you are unable to find the suitable library or provider (cloud api gateway providers like azure , AWS ) and you have to write your own gateway api then you have to be aware of few things. Best practices for api gateway. Api gateway is very useful but at the same time it can be bottle neck. Your gateway should be resilient and highly available. Depending on your request load you may have to implement patterns like "Circuit breaker" , "Retry" and "bulk head" and for that you can use library called Polly. You can log your requests for debugging and performance monitoring. Security is another aspect but really depends how you implement authentication. You may use combination of following libraries to achieve your goal. https://github.com/App-vNext/Polly https://github.com/reactiveui/refit