Category: ASP.NET Core

How to create Angular 6 and Asp.net Core 2.0 App in Visual Studio

How to create Angular 6 and Asp.net Core 2.0 App in Visual Studio

This article describes how to start the angular 6 with Asp.net core in Visual Studio. Here are some steps that will guide beginners to start a project with angular 6 and Asp.net Core. Hope it will help. Create Blank Solution in Visual Studio. Add new project on Blank Solution 3. Choose Asp.Net Core Web Appication … Continue reading How to create Angular 6 and Asp.net Core 2.0 App in Visual Studio

How to get the session value and show into view in asp.net Core?

How to get the session value and show into view in asp.net Core?

One way for this is:  Get the session value and store it to View Bag in the controller and then show the view bag value to the View. There are mainly two steps. In Controller, Firstly get the value of session to the view bag by writing these code 2. In the View, write following … Continue reading How to get the session value and show into view in asp.net Core?