Heat the oil and stir-fry the urad dal until it turns golden brown. Add the mustard and fennel seeds, dried chilies, then fry until the mustard seeds pop and the dried chilies brown. Add the onion, green chilies, curry leaves and asafoetida powder. Stir-fry until the onion turns golden brown, then add the diced carrot, ground spices,