playing with dotnet core 18 - playing around with tag helpers asp for and property binding

Subscribers:
9,750
Published on ● Video Link: https://www.youtube.com/watch?v=ZhmtPr5TOJU



Duration: 0:00
23 views
0


----------------- Useful Links -----------------------------------
Model Validation
https://docs.microsoft.com/en-us/aspnet/core/mvc/models/validation?view=aspnetcore-6.0

This model validation page contains int? variableName. What is int? denote?

https://stackoverflow.com/questions/2690866/what-is-the-purpose-of-a-question-mark-after-a-type-for-example-int-myvariabl

Model binding
https://docs.microsoft.com/en-us/aspnet/core/mvc/models/model-binding?view=aspnetcore-6.0

Input Tag Helpers
https://docs.microsoft.com/en-us/aspnet/core/mvc/views/working-with-forms?view=aspnetcore-6.0#the-input-tag-helper

Form Tag Helpers
https://docs.microsoft.com/en-us/aspnet/core/mvc/views/working-with-forms?view=aspnetcore-6.0#the-validation-message-tag-helper

ASP.NET Core Form Validation PragimTech
   • ASP NET Core model validation  

Adding validation rules
https://docs.microsoft.com/en-us/aspnet/core/tutorials/first-mvc-app/validation?view=aspnetcore-6.0

Validation Attributes
https://docs.microsoft.com/en-us/dotnet/api/system.componentmodel.dataannotations.validationattribute?view=net-6.0

(remember to add the namespace to use validation attributes)
using System.ComponentModel.DataAnnotations;

To use these helpers

absolute zero in F
absolute zero in F

Planck Temperature in F
https://www.fxsolver.com/browse/formulas/Planck temperature


More about tag helpers
https://www.c-sharpcorner.com/article/validation-tag-helpers-in-asp-net-core-mvc/

Video order

Revision on classes and namespaces
MVC (model view and controller)
tag helpers
model, property binding
model validation

----------------- Video Sections -------------------------------
Chapters:
0:00 Intro
0:24 Inspect HTML code
2:30 what's the purpose of a tag helper
3:54 our first tag helper
10:30 property binding
16:29 how do tag helpers interact with html tags?
20:50 our html validators min and max don't quite work, we have to do it the model validation way

--------------------[Playlists and Relevant Github Repositories]---------------------------------------------

Fluid Mechanics and Git Repos:
   • Fluid Mechanics  
https://github.com/theodoreOnzGit/OpenFoam_heatTrf_YouTube

Petroleum Downstream Crash Course Playlist:
   • Petroleum Refining  

OpenFOAM for Windows 10 Beginner Playlist and some Git Repos
   • OpenFoam for Windows Newbie Guide  
https://github.com/theodoreOnzGit/laminar_BL_OpenFOAM

OpenFOAM Intermediate Playlist and some Git Repos
   • OpenFOAM Intermediate Videos  
https://github.com/theodoreOnzGit/thin_pipeflow_snappyHexMesh

OpenFOAM Heat Transfer Playlist and GitHub Repo
   • OpenFOAM Heat Transfer  
https://github.com/theodoreOnzGit/OpenFoam_heatTrf_YouTube

Radiation Heat Transfer Learning Journal and Git Repos:
   • Radiation Heat Transfer Learning Jour...  
https://github.com/theodoreOnzGit/heatTransferTheory_YouTube

Convection Boundary Layer and git Repos:
   • Convection Heat Transfer  
https://github.com/theodoreOnzGit/heatTransferTheory_YouTube

Turbulence Modelling Playlist
   • Turbulence Modelling 1 - Reynold's Av...  
https://github.com/theodoreOnzGit/turbulenceModelling

LabView Frequency Analysis and Fun (playlist and git repo)
   • LabView Frequency Analysis and Fun  
https://github.com/theodoreOnzGit/Ted_labview_YouTube

Control Systems and Frequency Response
   • Laplace Transforms 1 - basic intuitio...  
https://github.com/theodoreOnzGit/matlabFrequencyResponse.git

OpenFOAM C++
https://github.com/theodoreOnzGit/C-_YouTube_OpenFoam
   • Introductory C++ for OpenFoam Users  

OpenFOAM Bash
https://github.com/theodoreOnzGit/Bash_OpenFOAM_YouTube
   • OpenFOAM Bash  

Basic Samba
   • basicSamba  
https://github.com/theodoreOnzGit/sambaVideos

Manjaro Tips and Tricks
   • Manjaro Tips and Tricks  

lammps and Discrete Element Modelling (DEM)
   • lammps and Discrete Element Modelling  

playing with dotnet core
   • playing with dotnet core  
dotnet core github repo
https://github.com/theodoreOnzGit/dotnetCoreYoutube




Other Videos By Theo Ong Science and Engineering


2022-03-10playing with dotnet core 26 - transient vs scoped vs singleton part 1
2022-03-09playing with dotnet core 25 - power converter example with dependency injection and form validation
2022-03-09manjaro tricks - kde plasma 2022 start menu key not working
2022-03-08playing with dotnet core 24 - dependency injection part 5 common ways to do dependency injection
2022-03-07playing with dotnet core 23 - dependency injection part 4 using interfaces, inheritance and Construc
2022-03-07playing with dotnet core 22 - dependency injection part 3 swapping out dependencies
2022-03-07playing with dotnet core 21 - dependency injection part 2 making a class with some dependencies
2022-03-07playing with dotnet core 20 - dependency injection part 1 background knowledge
2022-03-07manjaro tricks - split screens with vim
2022-03-05playing with dotnet core 19 - model validation for forms
2022-03-05playing with dotnet core 18 - playing around with tag helpers asp for and property binding
2022-03-05playing with dotnet core 17 - what are models, views and controllers?
2022-03-05playing with dotnet core 16 - fahrenheit to celsius converter, some revision on classes and objects
2022-03-05playing with dotnet core 15 - a roadmap to learning about model binding and validation
2022-03-04playing with dotnet core 14 - html form validators for the celsius to fahrenheit converter
2022-03-03playing with dotnet core 13 - making a simple celsius to fahrenheit converter
2022-03-03playing with dotnet core 12 - getting user input using input text and submit buttons
2022-03-02playing with dotnet core 11 - create, delete and navigate between git branches
2022-02-25playing with dotnet core 10 - writing and using namespaces from a separate file
2022-02-25playing with dotnet core 9 - writing a class and using its functions or methods
2022-02-25playing with dotnet core 8 - organising your code with classes and namespaces