How to Send Email Using SignalR

This post shows how SignalR could be used to send messages between different C# console clients using Message Pack as the protocol. An ASP.NET Core web application is used to host the SignalR Hub. Setting up the Message Pack SignalR server Add the Microsoft.AspNetCore.SignalR and the Microsoft.AspNetCore.SignalR.MsgPack NuGet packages to the ASP.NET Core server application where the SignalR Hub will be hosted. The Visual Studio NuGet Package Manager can be used for this. Or just add it directly to the .csproj project file. Setup

Continue Reading

HostForLIFE.eu is Microsoft No #1 Recommended Windows and ASP.NET Hosting in European Continent. HostForLIFE.eu offers a highly redundant, carrier-class architecture, designed around the needs of shared hosting customers. The company’s prices for shared and dedicated hosting are competitive; its features and perks are robust; and its stated commitment to outstanding customer service and support is manifest in its bevy of award-winning ancillary services.

4 Tips to Make Your ASP.NET Core Site Run Like Bolt!

Previously, we have shared few tips how to increase your ASP.NET site speed on previous post. As we know that Microsoft always keep up to date their technology and this is the latest ASP.NET Core version now. We have been running our business for almost 1 decade and we mainly focus in ASP.NET. In this article, we will share few tips to make your ASP.NET Core site run 300 times faster. #1. Async Everything One important

Continue Reading

HostForLIFE.eu is Microsoft No #1 Recommended Windows and ASP.NET Hosting in European Continent. HostForLIFE.eu offers a highly redundant, carrier-class architecture, designed around the needs of shared hosting customers. The company’s prices for shared and dedicated hosting are competitive; its features and perks are robust; and its stated commitment to outstanding customer service and support is manifest in its bevy of award-winning ancillary services.

Routing In RESTful APIs Using .NET Core

Routing, an open debatable topic among many in the developer community, is an interesting feature in which to deep dive. Routing is a functionally based tag or Uri template used by APIs to match the desired action or methods expected to be executed. There are two types or rather two different types of Routing being used during development. Namely, ‘Convention-based Routing’ the elder son in the REST routing family followed by ‘Attribute Routing’ the most

Continue Reading

How To Using Node Services In ASP.NET Core

This post is about running Javascript code in the Server. Because a huge number of useful, high-quality Web-related open source packages are in the form of Node Package Manager (NPM) modules. NPM is the largest repository of open-source software packages in the world, and the Microsoft.AspNetCore.NodeServices package means that you can use any of them in your ASP.NET Core application. To use Node Services, first you need to include the reference of Microsoft.AspNetCore.NodeServices package in

Continue Reading

Login & Authentication for your ASP.NET Core Web API

You’re building an ASP.NET Core Web API which is primarily going to serve a Single Page Application (Angular, ReactJS or something else) and/or other clients. You realise that you need to make your API secure. If you don’t, it won’t take much effort for someone to start poking around, doing whatever they like to your data. It’s surprisingly difficult to find good resources on login/authentication when using a SPA backed by ASP.NET Core. This is

Continue Reading