Blog

Filter posts by Category Or Tag of the Blog section!

Technical Skills, Software Development, Real World Solutions, Enterprise Applications.
GraphQL is an open-source runtime for filling data query language introduced by Facebook. It could be an alternative to REST as it allows the client to define the structure of the data query based on ...

Friday, 02 November 2018
There are lots of tools and libraries out there for monitoring the Dot Net web applications. I personally use several tools based on my need. One of the tools I've always liked is Netling. It'...

Monday, 29 October 2018
As I'm talking with Asp.net core these days, so I'm supposed to be eager about that! In asp.net core, in order to enable the CORS, you should refer to application startup and ConfigureServices...

Tuesday, 23 October 2018
Accessing to HttpContext in asp.net core application is just like before, for example:    public class MyController : Controller     {     &n...

Thursday, 18 October 2018
In asp.net applications, directory browsing has enabled some versions and you let the users see all of the content and structure of your application like the picture below: To the best of...

Saturday, 13 October 2018
I don't know why I'm writing this blog post right now! I was supposed to write it when I was honored to receive this topless book as a gift by Scott Millett about 4 years ago! Now It's...

Wednesday, 10 October 2018
In earlier versions of Entity Framework( before Entity Framework . Core) when you wanted to create an inner table from two Entities, you would be able to use entity framework mapping in a way to creat...

Friday, 21 September 2018
Using the in-memory database of entity framework is super easy. Create an asp.net core and reference the following NuGet package if it's not referenced( it's been referenced in asp.net core 2 ...

Tuesday, 18 September 2018
In asp.net core application, Http requests are handled and processed by Middleware and every Http response would be created when the request has been passed to the middleware suite. For example, MvcMi...

Monday, 17 September 2018
There are different kinds of authentication. One of the most used ones is basic authentication that doesn’t expire like a bearer token and you need to send a username and password per each reque...

Friday, 07 September 2018
TagHelpers in ASP.NET Core are used to generate HTML or other markups for a web page. They provide a way to create custom HTML elements, with their own attributes and behavior, that can be used in Raz...

Monday, 20 August 2018
If you have used EF core, you have seen that there is no HasPrecision method to use and all of the decimal data types will be map as decimal(18,2) in SQL server by default. We used to map de...

Saturday, 18 August 2018
I was recently looking for a verification system and came across with Sinch. It's been satisfactory until now. After installing the library by nuget I created a wrapper for SMS, hope it be useful!...

Tuesday, 14 August 2018
In my earlier related post to this subject, I wrote that there is config in asp.net core to enable the static file access but that's not Ok for every sort of file, for example, you can't acces...

Friday, 03 August 2018
In asp.net core,  the wwwroot folder treated as a web root folder. Static files can be stored in any folder under the web root and accessed with a relative path to that root. By default...

Saturday, 28 July 2018
I've used a custom wrapper for calling asp.net web API services in some projects. I just wanted to share it over here. It's been tested for hundreds of times!      &n...

Monday, 16 July 2018
By using IConfiguration, you can access appsetting.json content in asp.net core. Using it in Startup is straightforward:  public class Startup     {   &nb...

Saturday, 16 June 2018
As you know, WCF is Windows Communication Service and doesn't match the targets of .Net Core which is cross-platform. It was a just a question to know how can I handle the WCF services in .Net cor...

Saturday, 26 May 2018