.Net 5 with GraphQL - Step by Step

In this video we will be learning about GraphQL with Asp.Net Core 5, we will be building a Todo List functionality

So what we will cover today:

  • The Problem we want to solve
  • What is GraphQL
  • REST vs GraphQL
  • Core Concepts
  • Ingredients
  • Coding

Source Code:
https://github.com/mohamadlawand087/v28-Net5-GraphQL

VS Code (https://code.visualstudio.com/download)
.Net 5 (https://dotnet.microsoft.com/download)
Insomnia (https://insomnia.rest/download)
Dbeaver (https://dbeaver.io/download/)

Let us connect:
🌍 My website - https://mohamadlawand.com/

📸 Instagram - https://www.instagram.com/mohamadlawand/
🐦 Twitter - https://twitter.com/moe23

WHO AM I:
I’m Mohamad, a technical architect working in Manchester, UK. I make videos about web, cloud, desktop and mobile development.

🌍 My website - https://mohamadlawand.com/

GET IN TOUCH:
If you’d like to talk, I’d love to hear from you. Tweeting @moe23 directly will be the quickest way to get a response, but if your question is very long, feel free to email me at hello@mohamadlawand.com.

Computer and Tech stuff:

Apple MacBook Pro:
https://amzn.to/35UFlX9

Apple Magic Keyboard:
https://amzn.to/3byXY6s

Apple Magic Trackpad 2:
https://amzn.to/3bBTTyv

Razor Microphone:
https://amzn.to/3q1xYVa

Samsung T7 SSD:
https://amzn.to/3sni2yF

Dell P2419HC USB-C 24 Inch Full HD:
https://amzn.to/2LKKtpx

BONTEC Dual Monitor Stand:
https://amzn.to/39t3CEt

#GraphQL #dotnet #API #AspNetCore #stepbystep #dotnet5

#graphql #dotnet #aspnetcore #dotnet5 #api #.net 5 with graphql

What is GEEK

Buddha Community

.Net 5 with GraphQL - Step by Step
Einar  Hintz

Einar Hintz

1602560783

jQuery Ajax CRUD in ASP.NET Core MVC with Modal Popup

In this article, we’ll discuss how to use jQuery Ajax for ASP.NET Core MVC CRUD Operations using Bootstrap Modal. With jQuery Ajax, we can make HTTP request to controller action methods without reloading the entire page, like a single page application.

To demonstrate CRUD operations – insert, update, delete and retrieve, the project will be dealing with details of a normal bank transaction. GitHub repository for this demo project : https://bit.ly/33KTJAu.

Sub-topics discussed :

  • Form design for insert and update operation.
  • Display forms in modal popup dialog.
  • Form post using jQuery Ajax.
  • Implement MVC CRUD operations with jQuery Ajax.
  • Loading spinner in .NET Core MVC.
  • Prevent direct access to MVC action method.

Create ASP.NET Core MVC Project

In Visual Studio 2019, Go to File > New > Project (Ctrl + Shift + N).

From new project window, Select Asp.Net Core Web Application_._

Image showing how to create ASP.NET Core Web API project in Visual Studio.

Once you provide the project name and location. Select Web Application(Model-View-Controller) and uncheck HTTPS Configuration. Above steps will create a brand new ASP.NET Core MVC project.

Showing project template selection for .NET Core MVC.

Setup a Database

Let’s create a database for this application using Entity Framework Core. For that we’ve to install corresponding NuGet Packages. Right click on project from solution explorer, select Manage NuGet Packages_,_ From browse tab, install following 3 packages.

Showing list of NuGet Packages for Entity Framework Core

Now let’s define DB model class file – /Models/TransactionModel.cs.

public class TransactionModel
{
    [Key]
    public int TransactionId { get; set; }

    [Column(TypeName ="nvarchar(12)")]
    [DisplayName("Account Number")]
    [Required(ErrorMessage ="This Field is required.")]
    [MaxLength(12,ErrorMessage ="Maximum 12 characters only")]
    public string AccountNumber { get; set; }

    [Column(TypeName ="nvarchar(100)")]
    [DisplayName("Beneficiary Name")]
    [Required(ErrorMessage = "This Field is required.")]
    public string BeneficiaryName { get; set; }

    [Column(TypeName ="nvarchar(100)")]
    [DisplayName("Bank Name")]
    [Required(ErrorMessage = "This Field is required.")]
    public string BankName { get; set; }

    [Column(TypeName ="nvarchar(11)")]
    [DisplayName("SWIFT Code")]
    [Required(ErrorMessage = "This Field is required.")]
    [MaxLength(11)]
    public string SWIFTCode { get; set; }

    [DisplayName("Amount")]
    [Required(ErrorMessage = "This Field is required.")]
    public int Amount { get; set; }

    [DisplayFormat(DataFormatString = "{0:MM/dd/yyyy}")]
    public DateTime Date { get; set; }
}

C#Copy

Here we’ve defined model properties for the transaction with proper validation. Now let’s define  DbContextclass for EF Core.

#asp.net core article #asp.net core #add loading spinner in asp.net core #asp.net core crud without reloading #asp.net core jquery ajax form #asp.net core modal dialog #asp.net core mvc crud using jquery ajax #asp.net core mvc with jquery and ajax #asp.net core popup window #bootstrap modal popup in asp.net core mvc. bootstrap modal popup in asp.net core #delete and viewall in asp.net core #jquery ajax - insert #jquery ajax form post #modal popup dialog in asp.net core #no direct access action method #update #validation in modal popup

.Net 5 with GraphQL - Step by Step

In this video we will be learning about GraphQL with Asp.Net Core 5, we will be building a Todo List functionality

So what we will cover today:

  • The Problem we want to solve
  • What is GraphQL
  • REST vs GraphQL
  • Core Concepts
  • Ingredients
  • Coding

Source Code:
https://github.com/mohamadlawand087/v28-Net5-GraphQL

VS Code (https://code.visualstudio.com/download)
.Net 5 (https://dotnet.microsoft.com/download)
Insomnia (https://insomnia.rest/download)
Dbeaver (https://dbeaver.io/download/)

Let us connect:
🌍 My website - https://mohamadlawand.com/

📸 Instagram - https://www.instagram.com/mohamadlawand/
🐦 Twitter - https://twitter.com/moe23

WHO AM I:
I’m Mohamad, a technical architect working in Manchester, UK. I make videos about web, cloud, desktop and mobile development.

🌍 My website - https://mohamadlawand.com/

GET IN TOUCH:
If you’d like to talk, I’d love to hear from you. Tweeting @moe23 directly will be the quickest way to get a response, but if your question is very long, feel free to email me at hello@mohamadlawand.com.

Computer and Tech stuff:

Apple MacBook Pro:
https://amzn.to/35UFlX9

Apple Magic Keyboard:
https://amzn.to/3byXY6s

Apple Magic Trackpad 2:
https://amzn.to/3bBTTyv

Razor Microphone:
https://amzn.to/3q1xYVa

Samsung T7 SSD:
https://amzn.to/3sni2yF

Dell P2419HC USB-C 24 Inch Full HD:
https://amzn.to/2LKKtpx

BONTEC Dual Monitor Stand:
https://amzn.to/39t3CEt

#GraphQL #dotnet #API #AspNetCore #stepbystep #dotnet5

#graphql #dotnet #aspnetcore #dotnet5 #api #.net 5 with graphql

Eric  Bukenya

Eric Bukenya

1618666860

.NET Conf 2020 Demos & Sessions for .NET 5 + Virtual Events!

This year’s .NET Conf was the largest one yet, with over 80 live sessions across three days that were co-organized and presented by the .NET community and Microsoft. On top of all of that, it also marked the release of .NET 5.0  that brings a full set of new capabilities, performance gains, and new languages features for developers to create amazing apps. If you missed this year’s .NET Conf live stream, don’t worry because we have you covered!

#.net #.net core #asp.net #c# #.net conf #.net foundation #community #demos

Rubalema  Sonia

Rubalema Sonia

1625256780

How Tag Helpers for JavaScript and CSS Files Work with ASP.NET Core 5 MVC ?

Latest: https://youtu.be/LyVZySzKoI8 (Unit Testing Blazor ASP.NET 5) In this lecture, I have explained the Tag Helpers for JavaScript and CSS files in an ASP.NET Core 5.0 application.
Previous Part: https://youtu.be/R2LqSzpWQ4c
The lecture covers:
Tag Helpers for JavaScript Files
Cache Busting feature from ‘asp-fragment’ Tag Helper
Including JavaScript files from Content Delivery Networks using Tag Helpers
Tag Helpers for CSS Files
Including CSS files on the View
Excluding CSS files on the View
Including CSS files from Content Delivery Networks using Tag Helpers
This tutorial follows up on the previous tutorial at
https://youtu.be/R2LqSzpWQ4c where I have started on a product repository with an in-memory collection with an ASP.NET Core 5 MVC application.
Tag Helpers are used to performing defined transformations on HTML elements.
Enable server-side code to participate in creating and rendering the HTML elements in Razor files.
This lecture is based on:
https://www.yogihosting.com/aspnet-core-built-in-tag-helpers/
Source Code: https://www.yogihosting.com/aspnet-core-built-in-tag-helpers/#download

Like || Share || Spread || Love

Make sure you subscribe to our YouTube Channel and never miss our latest video:- http://bit.ly/Kaushik-roy-chowdhury-subscribe

Support The Channel By Donations:
https://www.patreon.com/deveducator

For more updates Follow us on:-

Visit- https://kaushikroychowdhury.com

Facebook- https://www.facebook.com/deveducate

Twitter- https://twitter.com/krchome58

Linkedin- https://www.linkedin.com/in/chowdhurykaushik

Github- https://github.com/krchome

Blogger- https://krchome1.blogspot.com/

Live Journal- https://ext-5537239.livejournal.com/

MIx - https://mix.com/kaushikroychowdhury

#asp.net core 5 #sp.net core 5 mvc #.net #core 5 #css #javascript

Rubalema  Sonia

Rubalema Sonia

1625205060

Online Snacks Ordering System with ASP.NET 5 Razor Pages(Working with Data) - Part 5

Previous (Part 4): https://youtu.be/D6-y7dnM4hE
Next (Part 6):

This is part 5 of a Razor Pages series of tutorials for an online snacks/desserts ordering system.
In this part, working with data is shown in the Visual Studio Code project. You will focus on using the SnacksContext to retrieve data for display on the home page and the ordering page, which has yet to be added to the application. The ordering page is also added in this tutorial.

This step-by-step Razor Pages tutorial series demonstrates how to create a Razor Pages application from scratch, and how to add common functionality to it including communicating with a database, working with forms, and sending an email.

Like || Share || Spread || Love

Make sure you subscribe to our YouTube Channel and never miss our latest video:- http://bit.ly/Kaushik-roy-chowdhury-subscribe

Completed Project Source Code: https://github.com/krchome/Snacks

Buy me a coffee
https://www.buymeacoffee.com/5m1piIG

Support The Channel By Donations:
https://www.patreon.com/deveducator

For more updates Follow us on:-

Visit- https://kaushikroychowdhury.com

Facebook- https://www.facebook.com/deveducate

Twitter- https://twitter.com/krchome58

Linkedin- https://www.linkedin.com/in/chowdhurykaushik

Github- https://github.com/krchome

Blogger- https://krchome1.blogspot.com/

Live Journal- https://ext-5537239.livejournal.com/

MIx - https://mix.com/kaushikroychowdhury

#asp.net 5 #.net #net 5 #razor pages