Naveed Ul-Haq's blog

Optimizely EpiServer (CMS & Commerce), .NET Core, Cloud (Azure, AWS) & more

  • LinkedIn
  • Home
  • Azure
  • Episerver
  • .NET Core
  • CONTACT

Tag - .net core

  • .NET Core

Object reference not set to an instance of an object

2 months ago
by Naveed Ul-Haq
2 min read
Add Comment

As a developer lot of time, you come across ” Object reference not set to an instance of an object ” error and sometimes along with the yellow screen of death. This error is very generic and does not give you a lot of...

Continue reading

  • .NET Core
  • Azure

Azure Function Apps with .NET Core & SQL server

2 months ago
by Naveed Ul-Haq
6 min read
Add Comment

Azure function apps are the perfect example of the KISS principle (Keep it stupid simple). In very simplest terms Azure Function is a piece of code you run based on some trigger. Azure Functions are triggered by an event such...

Continue reading

  • .NET Core

Authenticate / Authorize a user using local AD

3 months ago
by Naveed Ul-Haq
4 min read
Add Comment

Authentication and authorization might sound similar but there is a very subtle difference between these two terms. Authentication is just confirmation of user identity. Such as we know about this user (based on user name and...

Continue reading

  • .NET Core

Working with FTP in .NET Core

3 months ago
by Naveed Ul-Haq
3 min read
Add Comment

In this blog post, we will explore how we can access FTP server and how we can download a file or complete folder based on access rights. Once files or folders are downloaded, we also delete files from FTP server to keep our...

Continue reading

  • .NET Core

Read large XML file in .NET (C#)

6 months ago
by Naveed Ul-Haq
3 min read
Add Comment

This article shows how you can read nested and complex large XML file using XmlReader. few benefits of using XmlReader XmlReader reads data in a forward-only and read-only fashion. That’s why it is faster than...

Continue reading

  • .NET Core

Bulk insert records in the database (C# & SQL server)

6 months ago
by Naveed Ul-Haq
2 min read
Add Comment

A lot of times we come across a requirement to bulk insert data in SQL server. Now there are several ways to bulk insert data in SQL server table but in this example I’ll use SqlBulkCopy. Why use...

Continue reading

  • .NET Core

.NET Core Web API Jwt (JSON Web Token) Authentication with ASP.NET identity model

January 8, 2020
by Naveed Ul-Haq
3 min read
Add Comment

Recently I come across a requirement to create .NET Core Web API using JWT (JSON Web Token) authentication. I have used ASP.NET identity to provide a role-based authentication model. I have used .NET core 3.x to create this...

Continue reading

  • Azure

Add images to Azure blob storage in .NET Core

April 27, 2019
by Naveed Ul-Haq
2 min read
Add Comment

This article explains how to add images to Azure blob storage container using C# .NET Core. The Complete code can be downloaded from following GitHub repository Nuget Url:  packages /ailogica.Azure.Helpers/ Source...

Continue reading

Topics

  • .NET Core (9)
  • Azure (3)
  • Episerver (14)
  • Misc (6)
Copyright © 2021.
  • Home
  • Azure
  • Episerver
  • .NET Core
  • CONTACT
  • LinkedIn