Project Codify

A blog about ASP.Net, ASP.Net Core, C#, Angular, React and related stuff.

Using Refit as REST Client - Tutorial

Refit is a type-safe REST Client for .NET Core, Xamarin and .Net - developed by Paul Betts. It is inspired by Square's Retrofit library. Refit makes it relatively easy to make calls to REST API, without writing much of wrapping code. In this article, we are going to explain how to use Refit, with focus on its common features.

Angular CLI Guide

In this article, we will see what Angular CLI is, what you can achieve with it, and how to use it for daily development.   What is Angular CLI? Angular CLI is a Command-Line-Interface that can be used to scaffold and create an application that follows best practices out of the box. What you can

Hosting ASP.NET Core on Linux using Nginx

ASP.NET Core is a fully open source, high-performance, and cross-platform framework. ASP.NET Core runs anywhere you need it to (Windows, Mac, Linux). In this post, we will see how to host ASP.NET core application on Linux(CentOS 7) with Nginx as the reverse proxy.

Angular: Set Base URL Dynamically

Recently one of my Angular projects had a requirement to have multiple instances of websites hosted on the same domain with different base URLs. In this post, I will talk about how to make these changes in Angular.

C# 7.1 New Features

With Visual Studio 2017.3, came the first "point" release or minor update to C#, 7.1. This release adds three new features on top of C#7.0: async main method, default literal expressions and inferred tuple element names. In this post, I will cover how to enable C# 7.1 and the new features which came with it.

How to Send Email in ASP.Net Core 2.0

With the release of .Net Core 2.0, SmtpClient is now available. It is identical to what was there in full .Net framework. Ideally, the code to send email using SmtpClient you might have written in .Net framework should work in .Net Core 2.0 pretty much by copy-pasting.

Top new features of C# 7.0

Have you been using C# for years? If you haven't looked at C# 7 new features yet, its time to learn some cool new features. Let's discuss few top new features of C# 7 like out variables, Pattern Matching, Tuples, and Discards.