The Story of My Life

Diary of a noob programmer

Category: ASP.NET MVC Core

Swagger and Authentication in ASP.NET MVC Core

Hello people,   Few day ago my co-worker said how should I specify token for user, well the story goes as: When I enter this company (“Omidan Hozoor Javan”) they used a GUID as a token, and when i explained that it’s not safe, they said our users have no understanding of programming or hacking

Telerik UI for MVC Core – Image Browser keep on showing folders with name of “undefined”

Two days ago i was working on Telerik editor to see how i can get it work, in case if the company want to use it or not… So from it’s demo, i took the DLL i though i may need. add them to the project, and start the project… with editor alone everything was

Entity Framework Core And Global Filters

There are times in EF Core which you may want to put a global filter on all your models, or some of them. And to do that, reflection is our weapon through the scary path. In my case, I had several entity of which i didn’t wanted to delete them, so I had to go

Access dynamic data in master layout and partials in .Net Core

Few day ago, I was searching desperately to access my user context within my Partial Views; during the way I found ways to do it using ASP.NET MVC, but none worked neither existed in ASP.NET Core MVC. I just wanted to share those few ways, although they may still disappoint you and each of which