Skip to main content

Posts

Authentication vs Authorization

•  Authentication  - who you are? •  Authorization  - What can you do? For instance: When you goto the shopping mall. The guard will search your body this is called Authentication because s/he is checking whether you are right person or not. If no, then your authentication is failed and necessary action will be taken against you. If yes, then you are allowed to go inside the shopping mall and now you can do for what you came for which is called Authorization .

Few things you should always follow in your life.

• Don't be in hurry give sometime and then only spend money for that if its required. • Ignore everything just focus on your goal like unnecessary news... • First fulfill your dream and then think of others. • Don't get angry when you do not like the questions or queries or the people what they talk or speak. • It's never too late so keep it up. • Never fight with anyone. • Just keep calm. • Don't loose your temper. • Speak with confidently & slowly. • First listen and then speak. • Think before you speak. • Helping others is helping own self.

*Nice line from Ratan Tata's Lecture- in London*

 👉🏿 1. Don't educate your children to be rich. Educate them to be Happy. So when they grow up they will know the value of things not the price.  👉🏿 2. "Eat your food as your medicines. Otherwise you have to eat medicines as your food."  👉🏿 3. The One who loves you will never leave you because even if there are 100 reasons to give up he/she will find one reason to hold on.  👉🏿 4. There is a lot of difference between _human being_ and _being human._ A Few understand it.  👉🏿 5. You are loved when you are born. You will be loved when you die. In between You have to manage...!  👉🏿 6. If u want to Walk Fast, Walk Alone..! But if u want to Walk Far, Walk Together..!!  👉🏿 7. Six Best Doctors in the World- 1.Sunlight 2.Rest 3.Exercise 4.Diet 5.Self Confidence & 6.Friends Maintain them in all stages of Life and enjoy healthy life  👉🏿 8. If you see the moon ..... You see the beauty of...

Possible errors in Entity Framework Core and their solutions

 1) This error is exactly same as the self referencing error in the ASP.NET when using swagger UI. Solution: If you are using .NET Core. Using this in startup.cs file services .AddMvc() .AddJsonOptions(x => x.SerializerSettings.ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Ignore); 2)