Posted by Anuraj on Tuesday, September 4, 2018 Reading time :1 minute
ASPNET Core SignalR MessagePack
This post is about using MessagePack protocol in SignalR. MessagePack is an efficient binary serialization format. It lets you exchange data among multiple languages like JSON. But it’s faster and smaller. Small integers are encoded into a single byte, and typical short strings require only one extra byte in addition to the strings themselves.
Posted by Anuraj on Friday, August 31, 2018 Reading time :1 minute
ASPNET Core Cosmos DB EF Core
This post is about working with Cosmos DB SQL Provider for Entity Framework Core. Azure Cosmos DB is Microsoft’s globally distributed, multi-model database. With the click of a button, Azure Cosmos DB enables you to elastically and independently scale throughput and storage across any number of Azure’s geographic regions.
Posted by Anuraj on Saturday, August 25, 2018 Reading time :1 minute
Kestrel HTTP2 ASPNET Core
This post is about enabling HTTP2 on Kestrel. HTTP/2 is a major revision of the HTTP protocol. Some of the notable features of HTTP/2 are support for header compression and fully multiplexed streams over the same connection. While HTTP/2 preserves HTTP’s semantics (HTTP headers, methods, etc.) it is a breaking change from HTTP/1.x on how this data is framed and sent over the wire.
Posted by Anuraj on Tuesday, August 7, 2018 Reading time :1 minute
Azure VM Azure DNS Azure
This post is about how to use custom domain name for Azure VM using Azure DNS. A DNS zone is used to host the DNS records for a particular domain. Azure DNS allows you to host your DNS zone and manage your DNS records, and provides name servers that will respond to DNS queries from end users with the DNS records that you create.
Posted by Anuraj on Sunday, August 5, 2018 Reading time :2 minutes
ASP.NET Core Angular
This post is about creating a build pipeline for your Angular and ASP.NET Core apps with Visual Studio Team Services. If you don’t have a VSTS account, you need to create a VSTS account, then a project, you can use default values. In this post I am using GitHub as my source control. And I am using VSTS only for creating a build. Once you create a project, click on Build and Release menu. And click on the New definition button.
Posted by Anuraj on Saturday, August 4, 2018 Reading time :1 minute
ASP.NET Core Angular
This post is about enabling Anti-forgery validation in single page applications using ASP.NET Core and Angular. The anti-forgery token can be used to help protect your application against cross-site request forgery. In earlier versions of ASP.NET, you had to explicitly decorate a controller or an action method to enable Anti-forgery, in ASP.NET Core Web API all the unsafe methods(PUT, POST) anti-forgery validation is enabled by default.
Posted by Anuraj on Friday, August 3, 2018 Reading time :1 minute
CodeCoverage .NETCore dotCover
This post is about how to measure .net core code coverage with Jetbrains dotCover. dotCover is a .NET Unit Test Runner and Code Coverage Tool.