Posts

Showing posts from June 26, 2025

Configure vs ConfigureServices in .NET Core – What’s the Difference?

ConfigureServices vs Configure in ASP.NET Core ConfigureServices vs Configure in ASP.NET Core When you're building an application with ASP.NET Core , you’ve likely seen two key methods in the Startup.cs file: ConfigureServices and Configure . Both are crucial for setting up your application — but they serve very different purposes. In this post, we’ll break down what each method does, how they work together, and when to use which. 🧩 What is ConfigureServices ? Purpose: ConfigureServices(IServiceCollection services) is used to register application services and dependencies that will be injected wherever needed using Dependency Injection (DI). Common Use Cases: Registering controllers and MVC Setting up Entity Framework Core ( DbContext ) Adding Identity and Authentication Registering custom services, repositories Enabling Swagger, CORS, etc. Example: public void ConfigureServices(IServiceC...

Kalki – The Future Warrior of Light

Kalki – The Future Warrior of Light The Tenth Avatar of Vishnu – Harbinger of the Golden Age Introduction Among the Dashavatara , the ten sacred incarnations of Lord Vishnu , nine have already descended on Earth. Each came during times of crisis to restore dharma, defeat adharma , and guide humanity back to the path of righteousness. But one avatar is yet to appear — the final and most awaited: Kalki , the mighty warrior on a white horse , who will arrive at the end of Kali Yuga , when the world is shrouded in darkness. In the face of extreme corruption, violence, and spiritual decay, Kalki will descend like lightning , not with subtle wisdom or diplomacy — but with a blazing sword of truth , to end the cycle of time and usher in Satya Yuga, the age of purity .   The State of the World in Kali Yuga According to Hindu scriptures, Kali Yuga is the final and most degenerate age of the time cycle. In this age: Truth is diminished , and lies are celebrated ...

Buddha – The Enlightened One Who Showed the Path of Peace

Buddha – The Enlightened One Who Showed the Path of Peace The Ninth Avatar of Lord Vishnu – Messenger of Compassion and Liberation Introduction In the divine sequence of the Dashavatara — the ten incarnations of Lord Vishnu — the ninth avatar is often identified as Gautama Buddha , the prince who left behind a life of luxury to understand human suffering and attain enlightenment. Unlike earlier avatars who fought demons and destroyed evil with weapons, Buddha’s avatar came not to conquer by force, but to awaken the world through silence, compassion, and wisdom . His life reminds us that true victory lies in overcoming ignorance , and divine power can take the form of profound stillness and love .   The Royal Birth of a Seeker Born in Lumbini (modern-day Nepal) around 563 BCE, Prince Siddhartha Gautama was the son of King Suddhodana and Queen Maya . The royal astrologers predicted that the child would either become a great king or a spiritual master who would ...

Krishna – The Divine Trickster, Friend, and Eternal Guide

Krishna – The Divine Trickster, Friend, and Eternal Guide The Eighth Avatar of Lord Vishnu – A Master of Love, Dharma, and Divine Wisdom Introduction In the Dvapara Yuga , when adharma (unrighteousness) had grown deep roots and darkness clouded the hearts of kings and warriors, Lord Vishnu took birth as Shri Krishna — a divine avatar like no other. Unlike previous avatars who took fierce or solemn forms to restore balance, Krishna combined playfulness and power, charm and wisdom, mischief and majesty . He was a child who stole butter , a friend who danced with gopis , a hero who killed demons , and a guru who guided Arjuna on the battlefield of Kurukshetra . His life is recorded in two sacred epics — the Mahabharata and the Bhagavata Purana — and continues to inspire love, devotion, and the pursuit of dharma .   The Divine Birth in Mathura Krishna was born in Mathura to Devaki and Vasudeva , in a prison cell under the rule of the evil king Kamsa , Devaki’s ...

Rama – The Ideal King and Eternal Hero of Dharma

Rama – The Ideal King and Eternal Hero of Dharma The Seventh Avatar of Lord Vishnu – A Life of Duty, Sacrifice, and Divine Nobility Introduction Among the Dashavatara — the ten incarnations of Lord Vishnu — Lord Rama is revered not just as a warrior or king, but as the embodiment of dharma (righteousness), truth, and ideal living . His life story, recorded in the epic Ramayana , is not just a tale of gods and demons, but a spiritual guide for humanity. Born in the Treta Yuga , Lord Rama lived as a human prince , faced real struggles, and proved that righteousness and virtue can shine even in adversity .   Divine Birth in Ayodhya In the sacred land of Ayodhya , King Dasharatha and Queen Kaushalya were blessed with a divine son after many years of penance. Rama , the eldest of four brothers (Bharata, Lakshmana, and Shatrughna), was none other than Lord Vishnu incarnate — born to destroy evil and uphold righteousness. From his childhood, Rama displayed: Unparall...