YogiHosting - Page 4 of 25 - Tutorials on jQuery, JavaScript, Asp.Net, Entity Framework, WordPress, SEO, HTML & more

Learn ASP.NET Core Route Constraint in details with lots of examples

Last Updated: February 3, 2019


On my last tutorial I covered ASP.NET Core Convention-Based URL Routing. I will now teach to restrict Routes to a set of URL. This is done by Constraining Routes. Let’s start it with a simple example by add the following route to your application. (more…)

Learn ASP.NET Core Convention-Based URL Routing

Last Updated: February 3, 2019

url routing aspnet core

ASP.NET Core MVC URL Routing is used to create patterns of URLs for your application. The Routing System has 2 functions: 1. Maps the incoming URLs to Controllers and Actions. 2. Generates outgoing URLs so that a specific action method is called with the user clicks the link. (more…)

Views in ASP.NET Core

Last Updated: January 23, 2019

aspnet core views

On my last tutorial on Action in ASP.NET Core I tough about how to pass Data from Action Methods to Views. I hope you liked it, now I continue to the topic of Views which forms the UI of the application. I start with Shared Views which are basically those Views that are kept inside the 'Shared' folder. (more…)

jQuery toggleClass Method – .toggleClass() Tutorial

Last Updated: May 28, 2019

jquery toggleclass

If you want to toggle between adding and removing classes from selected elements then use the jQuery toggleClass method. Note that if an element does not have a particular class then this method will add that class to the element. (more…)

Actions in ASP.NET Core

Last Updated: January 19, 2019

actions aspnet core

On my last tutorial on Controllers in ASP.NET Core I tough about Controller. A controller contains Action methods, they can have any return type like string, int, datetime, ViewResult, IActionResult, etc. In all of them the return type of IActionResult is quite useful. It is because it fits everywhere, allowing the action method to return a View, redirect to another View, or return a data type like string, int, datetime, etc. (more…)

Controllers in ASP.NET Core

Last Updated: January 12, 2019

controllers aspnet core

Controllers are the brain of an ASP.NET Core MVC application. They process incoming requests, perform operations on Model data and selects Views to be rendered to the user. Controllers are stored inside the Controllers folder in the root of the web application. They are basically C# classes whose Public methods are known as Action Methods. These Action Methods handles the HTTP request and prepares the response to be sent to the client. (more…)

Dependency Injection in ASP.NET Core

Last Updated: January 8, 2019

dependency injection aspnet core

Dependency Injection (DI)is an ASP.NET Core MVC technique to achieve loosely coupling between objects. The working of the Dependency Injection is like: If a Controller has a dependency on another class, then in the constructor of the Controller the dependency for the class is defined. On seeing this dependency the Core MVC provides the class object to the Controller automatically. So this provides loosely coupling between the Controller and the other class. (more…)

Configuring Application in ASP.NET Core MVC

Last Updated: January 8, 2019

configurations aspnet core

This tutorial on ASP.NET Core MVC Configurations will reveal you a lot about the inside of this framework. This will give you a solid foundation for understanding the coming topics later on. I will start by creating a new project using empty template. (more…)

First CRUD Application in ASP.NET Core MVC

Last Updated: December 28, 2018

first crud application aspnet core

You are now in a position to learn CRUD operations. For this I will create a small ‘Employee’ form which can be filled and submitted. On submission, the employee information will be stored. Later on I will also make Read, Update & Delete operations. (more…)

First ASP.NET Core MVC Application

Last Updated: December 20, 2018

first application asp net core mvc

In this tutorial you will create your first ASP.NET Core MVC application in Visual Studio 2017. (more…)

Ads - Alex does SEO Bidvertiser2004765