- Видео 17
- Просмотров 654 099
IAmUmair
Пакистан
Добавлен 29 янв 2021
Welcome to IAmUmair. I make videos related to .Net, C# and many more programming stuff.
Umair Ijaz is a software engineer who wants to share his knowledge to all those who are struggling to carry on with the industry.
Happy Learning!
Umair Ijaz is a software engineer who wants to share his knowledge to all those who are struggling to carry on with the industry.
Happy Learning!
C# and .Net in Visual Studio Code ( vscode ) | C# Dev Kit | Setup and Install | 2024 | IAmUmair
This video is about how we can set up .net and c# in visual studio code. This video can be applied to Linux and Mac based systems.
We'll download and install latest .NET 8 version and will make use of .net 8 in vscode. Visual studio code is the modern and cross platform development environment used for programming in the world.
.NET has improved a lot since 2016, and many developers are using it for their business requirements.
Timestamp:
00:00 Introduction
00:10 Steps to follow
00:37 Download .net 8 sdk
01:42 Install .net sdk
02:30 Verify sdk installation
03:05 Extensions
03:48 Install C# Dev Kit extension
04:45 new project
06:30 dotnet build
06:50 dotnet run
How to install Visual Studio Code:
ruclips....
We'll download and install latest .NET 8 version and will make use of .net 8 in vscode. Visual studio code is the modern and cross platform development environment used for programming in the world.
.NET has improved a lot since 2016, and many developers are using it for their business requirements.
Timestamp:
00:00 Introduction
00:10 Steps to follow
00:37 Download .net 8 sdk
01:42 Install .net sdk
02:30 Verify sdk installation
03:05 Extensions
03:48 Install C# Dev Kit extension
04:45 new project
06:30 dotnet build
06:50 dotnet run
How to install Visual Studio Code:
ruclips....
Просмотров: 40 692
Видео
Custom Identity in Asp.Net Core MVC | Login and User Registration | .Net 8
Просмотров 64 тыс.Год назад
ASP.NET Core Identity is an API that supports user interface (UI) login functionality. Manages users, passwords, profile data, roles, claims, tokens, email confirmation, and more. In this video, we'll learn about how to implement customize asp.net core identity in asp.net core mvc which is the basis for user authorization and authentication. Here we are implementing by using a custom account co...
Upload Multiple Files in Asp Net Core | C# | IAmUmair
Просмотров 2,5 тыс.Год назад
In this I have explained how you can upload multiple files at once in asp net core. For this video we're going to use MVC template.
How to upload file in Asp.Net Core MVC | C# | IAmUmair
Просмотров 7 тыс.Год назад
In this video, we shall learn about how to upload file in Asp.Net Core MVC and C#. It is one of the necessary part of any web technology so that's why I have come up with this video for you.
CRUD operations in Asp.Net Core MVC | Entity Framework Core | IAmUmair
Просмотров 1,6 тыс.Год назад
In this video we will understand and learn about how we can perform CRUD (create, retrieve, update and delete) operations and build a web application using Asp.Net Core MVC and entity framework core.
How to setup Entity Framework Core in Visual Studio Code (vs code) | Step by step Guide
Просмотров 18 тыс.Год назад
Hi in this video I have talked about how you can use and setup entity framework in visual studio code (vs code). Entity framework core is an object relational model (ORM) for handling database operations in Asp.Net Core. For this video we are using MS SQL as database as it is widely used in .Net community. How can you setup c# and .net in vs code, checkout this video ruclips.net/video/GVmtPO-UE...
Introduction to Entity Framework Core in ASP.NET Core | Beginners' Tutorials | IAmUmair
Просмотров 664Год назад
In this video, you'll learn about famous ORM for .Net that is Entity Framework Core. Entity Framework Core (EF Core) is an Object-Relational Mapping (ORM) framework developed by Microsoft for .NET applications. It allows developers to work with databases using objects and classes in their code, rather than writing raw SQL statements. EF Core provides a set of APIs that enable developers to crea...
Routing, Tag Helpers, and Razor View Engine in Asp.Net Core MVC | IAmUmair
Просмотров 468Год назад
Hello everyone, in this video we will learn about routing, tag helpers, and razor view engine in asp.net core. Asp.Net Core is a web framework provided by Microsoft that uses the .Net platform.
Understanding Asp.Net Core MVC Project Files and Folders | IAmUmair
Просмотров 780Год назад
In this video, we will learn about all the files and folders present in our asp.net core MVC project.
Introduction to Asp.Net Core MVC | Tutorials for Beginners | IAmUmair
Просмотров 816Год назад
Hello everyone in this video I have discussed one of the presentation frameworks that come under Asp.Net Core which is Asp.Net Core MVC. It uses the MVC pattern for developing web applications. Timestamps: 00:00 Introduction 00:12 What is Asp.Net Core MVC 00:51 MVC Pattern 02:08 How MVC works? 03:06 Create Asp.Net Core MVC Project
What is Asp.Net Core ? | Why Choose Asp.Net Core? | Tutorial For Beginners | IAmUmair
Просмотров 2 тыс.Год назад
In this video, we will learn about the basics of asp.net core. I have discussed what and why of asp.net core. ASP.NET Core is an open-source and cross-platform web development framework for building web applications on the .NET platform. It is provided by Microsoft.
C# and .Net in Visual Studio Code ( vscode ) | Set up and Installation Guide | 2023 | IAmUmair
Просмотров 278 тыс.2 года назад
This video is about how we can set up a.net and c# in visual studio code. This video can be applied to Linux and Mac based systems. .Net has improved a lot since 2016 and now it provides web, desktop, mobile, console, IoT and machine learning applications development. Visual Studio Code is modern and most used IDE in the programming world because of its cross platform nature. Timestamp: 00:00 I...
How to Install and Compile Typescript with Visual Studio Code | Vscode | IAmUmair
Просмотров 80 тыс.2 года назад
Hi, in this video we are going to install and compile Typescript using Visual Studio Code ( VSCode ). Typescript is a strongly typed language build on top of JavaScript, provides better tooling. It is developed and maintained by Microsoft. Official Website of TypeScript: www.typescriptlang.org/ Node Js and Npm Installation: nodejs.org/en/
How To Create C And C++ Project In Visual Studio 2022 | Microsoft Visual Studio 2022 | IAmUmair
Просмотров 65 тыс.2 года назад
This video explains about how to create c language and c project in visual studio 2022. Here I have explained step by step guide for setting up C in Microsoft Visual Studio 2022. In the end, I have also created sample console apps for c and c language. Table of contents 0:00 Introduction 0:13 Visual Studio 2022 1:20 Visual Studio Installer 4:00 Create a new c project 6:30 Configure your new c l...
Create Asp.Net Web Forms in Visual Studio 2022 | Asp.Net Web Application in VS 2022 | IAmUmair
Просмотров 67 тыс.2 года назад
This video is about how to create Asp.Net Web Forms in Visual Studio 2022. This video also explains how to create Asp.Net Web application in Visual Studio 2022. Visual Studio 2022 is one of modern and most used IDE for .Net and C# development. It has been developed by Microsoft and gets its updates regularly. More Related Videos: How to install Visual Studio 2022? ruclips.net/video/HVU1XwRxlDY/...
Setting Up C# 10 .NET 6 with VS Code | How to Set Up C# in Visual Studio Code | 2022 | IAmUmair
Просмотров 23 тыс.3 года назад
Setting Up C# 10 .NET 6 with VS Code | How to Set Up C# in Visual Studio Code | 2022 | IAmUmair
How to Download and Install Visual Studio Code 2022 | Vscode | IAmUmair
Просмотров 2,4 тыс.3 года назад
How to Download and Install Visual Studio Code 2022 | Vscode | IAmUmair
Do you use Api in this project also can how can you use JWT and Api in login and registration in a MVC project
Thanks its clear and veryusefull
You are welcome
Wahh Moliee Wahh😅
Molie delete kraisa comment... Harkat ni krendi😂
thanks, Im searching for this type of tutorial and not using scaffolding one thanks a lot!
Glad it was helpful!
Useful lesson
Glad to hear that
Thanks
Welcome
very helpfull tutorial. thanks a lot
Glad it was helpful!
dotnet run is not working
Can you run any other dotnet command? In cmd or terminal? If yes, then the issue could be with the source code
Severity Code Description Project File Line Suppression State Error (active) CS0311 The type 'Crud_login.AppData.AppDbContext' cannot be used as type parameter 'TContext' in the generic type or method 'DbContextOptions<TContext>'. There is no implicit reference conversion from 'Crud_login.AppData.AppDbContext' to 'Microsoft.EntityFrameworkCore.DbContext'. Crud_login C:\Users\366608\source epos\Crud_login\Crud_login\AppData\AppDbContext.cs error is showing
Thanku so much
So glad it helped
Thanks for this video bro.
When i said dotnet build it showed one error saying missing partial modifier on declaration of type 'Program'
There could be an issue with the Program cs file.
thank you, man you saved my third year
Glad I could help!
Thanks
Welcome
ಧನ್ಯವಾದಗಳು❤
❣️
Error - UnauthorizedAccessException: Access to the path 'C:\Users\source epos\StudentPortal.Web\StudentPortal.Web\wwwroot\uploads' is denied.
Can you try with D drive
@@IAmUmair My system having only c drive, I think I need to divide c drive.
Thank you very much.
Welcome 😊
Im installed vs code but console app is not working. ..its popup like """ one or more errors were encountered while creating project Console App. The generated project content may be incomplete. The SDK 'Microsoft.Net.Sdk' specified could not be found. """
The error is quite clear, .net sdk hasn't been installed.
thanks bro♥♥
Most welcome
Thank you so much for the easy guide.
Most welcome
Thank very much Bro
Any time
Worked Perfectly .... thanks
Glad it helped
sir please help me with that
What issue you're facing
sir apne setup to sikha diya ab isme programm kaisay bnaye ye bhi bta dy kya timer control use ho skta ha visual studio code ma qk youtube waly to sary purple icon wala visual studio use kr rhy ha
Timer control konsi app me use hota hai? Web application me to ni hota
Thank you brother ❤
My pleasure
Format of the initialization string does not conform to specification starting at index 87. How to resolve this
In which file you get this error?
If you're using special characters in your connection string, then please use double quotes with that specific value
If suppose I have closed vs code and I want open that dotnet how I can see that??
you can open visual studio code, and create new project using terminal, it's available in the top menu bar.
if we have multiple cs files in one folder will it show output of only 1 file, we need to create more terminal commands for running files
normally console application has 1 file that contains main method; in order to make use of other files, you can make use of OOP.
thank u so much bro
Always welcome
Thank you my friend!! It really helped me a lot! :)
You're welcome dear.
Thanks a lot 👍🏻
Welcome
thank you
You're welcome
How to run the program? Do we have to install a compiler for running the program?
The compiler gets installed automatically. You can run the project from the Visual studio toolbar, a triangular button
How do you utilize this app with a API? This app connects directly to the database without going through a API?
This is a MVC application, that has UI design in it i.e Views We can develop API endpoints using similar controller methods.
W Umair
I'm so sorry but i can't understand anything🤕
You can see the screen and follow the video.
At 30th minutes how did you remove async from loging? I'm getting error there
At the specified time, I don't think I've removed async. Usually we use async Task when our code has Asynchronous methods calling await keywords.
when i click on IIS Express the build starts but it does not get completed. The web browser does not open up. Why is it like that?
Sometimes it takes time. You can restart the application or visual studio, and try again
Thanks broo
You're welcome
I can't find the option open with code
You missed it while installing visual studio code. There are settings to enable this option. Just google it, let me know if no solution is found.
Thank you for help :)) btw cute voice ^^
Thank you
It's always a South Asian brother explaining detailed stuff in the simplest manner. Thank you so much man:)
So nice of you
@@IAmUmair As a fellow South Asian I'm proud 👏
not running error "scriptcs" �� ���� ����७��� ��� ���譥� ��������, �ᯮ��塞�� �ணࠬ��� ��� ������ 䠩���. what i sould do
Error is not clear, How can I help you
On 1st run you wont have a db defined so you either: 1) manually define one and provide it in the conn string 2) add an "initial catalog:[yourdbnametocreate]" and have Database.EnsureCreated(); in the constructor of AppDbContext and EFCore will build the DB for you. bear in mind you can technically comment out that line after inital run.
Thanks for the help
@@IAmUmair look at add-migration for proper dB init and schema modifications.
Those who need code at 22:40 of Login.cshtml @using CustomIdentity.ViewModels; @model LoginVM @{ ViewData["Title"] = "Login"; } <div class="row d-flex align-items-center justify-content-center"> <div class="col-md-3 card p-3"> <h2 class="text-center text-info">Login</h2> <form asp-action="Login" method="post"> <div asp-validation-summary="ModelOnly"></div> <div class="mb-1"> <label asp-for="UserName" class="control-label"></label> <input asp-for="UserName" class="form-control"/> <span asp-validation-for="UserName" class="text-danger"></span> </div> <div class="mb-1"> <label asp-for="Password" class="control-label"></label> <input asp-for="Password" class="form-control" /> <span asp-validation-for="Password" class="text-danger"></span> </div> <div class="mb-1 form-check"> <label class="form-check-label"> <input asp-for="RememberMe" class="form-check-input" /> @Html.DisplayNameFor(a=>a.RememberMe) </label> </div> <div class="row"> <div class="col-8"> <a asp-action="Register" class="text-decoration-none float-start mt-2">Don't have account</a> </div> <div class="col-4"> <input type="submit" value="Login" class="btn btn-primary btn-sm float-end"/> </div> </div> </form> </div> </div>
Thank you for making it visible for all. I just wanted to inform you that code is available on GitHub and the link is in the description.
If I have a function that is [required], will the logged in user have access to it?
Logged In users can access the resource when the Authorize attribute is defined, also you can define the if conditions for specific cases
It is very helpful for me👍
Thank you
It is saying "build error", whenever i try to run it. I hope you can help bro
build error occurs because of errors in code, can you share with me the error messages
thank you! very short and easy to understand.
You're welcome
Thank you so much for smooth explanation and clear instruction.
You're welcome