Using .NET Core in Visual Studio Code

.NET Core gives you a blazing fast and modular platform for creating server applications that run on Windows, Linux and Mac. Use Visual Studio Code with the C# extension to get a powerful editing experience with full support for C# IntelliSense (smart code completion) and debugging. Getting Started Install .NET Core. Install the C# extension from the VS Code Marketplace. Hello World If you'd like to get started with a simple "Hello World" program on

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

Dependency Injection In ASP.NET Core

This article explains the dependency injection feature available out of the box in ASP.NET core (ASP.NET 5). It will also cover some of the basics of dependency injection so that everyone can get the most out this article. What is dependency Injection Dependency Injection is the process of “injecting” the “dependency” whenever the dependency is requested by a client, where the dependency may be another service which the client (requester) may have no means of

Continue Reading

Getting Started With PostgreSQL Using Dapper In .NET Core

PostgreSQL is a powerful, open source object-relational database system that is very easy to use. Dapper is a high performance micro-ORM, which is my favorite. Now, I will show you how to use this combination in .NET Core. Requirement Npgsql 3.1.9 Dapper 1.50.2 My Environment Visual Studio 2015 Community with update 3 PostgreSQL 9.6 pgAdmin 4 Demonstration Step 1 Create a new table in pgAdmin Step 2 Create a new Console Application (.NET Core).

Continue Reading