ASP.NET Core Full Course For Beginners
3:43:18
VS Code Tutorial For C# Developers
39:22
ASP.NET Core Logging Crash Course
30:36
How To Test .NET REST APIs
26:17
Жыл бұрын
C# Logging In 100 seconds
1:42
Жыл бұрын
How To Use DTOs In .NET REST APIs
14:18
Dependency Injection C# Tutorial
19:14
Пікірлер
@joseduarte4445
@joseduarte4445 Күн бұрын
Damn I just woke up to this video lol
@giulia6930
@giulia6930 2 күн бұрын
Thank you, super clear and accurate tutorial ❤
@juliocasal
@juliocasal 2 күн бұрын
Glad it was helpful!
@MostafaMohamed-uw4lf
@MostafaMohamed-uw4lf 3 күн бұрын
Could you please tell me what's after this to strengthen myself in .net core?
@juliocasal
@juliocasal 2 күн бұрын
Here: juliocasal.com/courses/dotnetbootcamp
@aasukaadhithya4107
@aasukaadhithya4107 4 күн бұрын
Sir This Video for the developers was a Fabulous one. The way of Teaching was very impressive. I become a fan of your work. We need more Videos like this. Absolute remarkable❤
@juliocasal
@juliocasal 4 күн бұрын
Appreciate it, thanks!
@SachinDewan12
@SachinDewan12 4 күн бұрын
Hi @julio Casal do you have discount for your .Net cloud developer boot camp course
@juliocasal
@juliocasal 4 күн бұрын
Please ping me at [email protected]
@SachinDewan12
@SachinDewan12 4 күн бұрын
@ done please check
@ton-i1e
@ton-i1e 6 күн бұрын
Sir your style of teaching is very good. I have a question in video at 54 mins on wards where you deal with the Post and Put method. I followed your steps but I am receiving this error on my games.http HTTP/1.1 405 Method Not Allowed Content-Length: 0 Connection: close Date: Sun, 26 Jan 2025 17:33:15 GMT Server: Kestrel Allow: GET My Get games is working and my Get games by id too is working. Please help with what I should do Thanks sir
@ton-i1e
@ton-i1e 6 күн бұрын
just Incase you want to see what I have This is my Program.cs file using GameStore.Api.Dtos; var builder = WebApplication.CreateBuilder(args); var app = builder.Build(); const string GetGameEndpoint = "GetGame"; List<GameDto> games = [ new(1, "Street Fighter II", "Fighting", 19.99M, new DateOnly (1992, 7, 15)), new (2, "Final Fantasy XIV", "Roleplaying", 59.99M, new DateOnly(2010, 9, 30)), new(3, "FIFA 23", "Sports", 69.99M, new DateOnly(2022, 9, 27)) ]; //game all games app.MapGet("games", () => games); //get specific game app.MapGet("games/{id}",(int id)=>games.Find(game=>game.Id==id)) .WithName(GetGameEndpoint); // POST /games app.MapPost("games", (CreateGameDto newGame) => { GameDto game = new( games.Count + 1, newGame.Name, newGame.Genre, newGame.Price, newGame.ReleaseDate); games.Add(game); return Results.CreatedAtRoute(GetGameEndpoint, new { id = game.Id }, game); }); // PUT /games app.MapPut("games/{id}",(int id, UpdateGameDto updatedGame) => { var index = games.FindIndex(game => game.Id == id); games[index] = new GameDto ( id, updatedGame.Name, updatedGame.Genre, updatedGame.Price, updatedGame.ReleaseDate ); return Results.NoContent(); }); app.Run();
@ton-i1e
@ton-i1e 6 күн бұрын
This is my contract file for CreateGameDto.cs namespace GameStore.Api.Dtos; public record class CreateGameDto ( string Name, string Genre, decimal Price, DateOnly ReleaseDate);
@ton-i1e
@ton-i1e 6 күн бұрын
This is my games.http GET localhost:5110/games ### GET localhost:5110/games/1 ### POST localhost:5110/games Content-Type: application/json { "name": "Minecraft", "genre": "Kids and Family", "price": 19.99, "releaseDate": "2011-11-18" } ### PUT localhost:5110/games/1 Content-Type: application/json { "name": "Street Fighter II Turbo", "genre": "Fighting", "price": 9.99, "releaseDate": "1999-07-15" }
@CodeTester-j8f
@CodeTester-j8f 6 күн бұрын
Mr. Casal, does the MapPut function utilise the same "GameDto game" object created in the MapPost function?
@juliocasal
@juliocasal 5 күн бұрын
No.
@PiotrZarzycki-1
@PiotrZarzycki-1 7 күн бұрын
This is a really good course! Thank you!
@juliocasal
@juliocasal 5 күн бұрын
You're very welcome!
@CodeTester-j8f
@CodeTester-j8f 7 күн бұрын
Hello Mr. Casal how can I make a post request using FireFox? I am trying to make a post request with a header of content-type: application/json using FireFox but I get a 500 or 415 error stating that the content type that I tried to post was plain text. My payload was only a name variable since I did not use the genre etc. variables as shown in the video, just the name. Thank you for the course. EDIT: Mr Casal the data has been posted and I now have multiple entries. It posts the data and creates a new game despite me getting a 500 error. What would be the reason of this?
@juliocasal
@juliocasal 5 күн бұрын
No idea
@HenryTsang
@HenryTsang 9 күн бұрын
Great video thank you. In a real world, we probably are developing front end separate from backend, database would have been deployed separately too. Everything could also be in different resource groups, container apps etc. How would dotnet Aspire work in those scenario? And, would AZD CLI be able to work in my scenario? As you mentioned, it seems to want to assemble everything in memory but even if we know how to decompose into Yaml, that's only after the initial AZD Up already. So does Aspire really help much with distributed development?
@juliocasal
@juliocasal 5 күн бұрын
It won't work for every scenario.
@7frequencies889
@7frequencies889 11 күн бұрын
Is this all we need to build applications ?? Or if any advanced please make a video on full dotnet I have searched the channel and they say beginners
@juliocasal
@juliocasal 10 күн бұрын
For advanced stuff: dotnetacademy.io/bootcamp
@fatmaamrr
@fatmaamrr 12 күн бұрын
For motivational reasons 🧘🏻 04:40 Creating ASP.NET Core applications ✅ 27:54 What is a REST API? edit1:✅ 40:01 Using Data Transfer Objects (DTOs) ✅ 46:54 Implement CRUD endpoints 1:20:22 Using extension methods 1:25:46 Using route groups 1:28:29 Handling invalid inputs 1:39:49 What is Entity Framework Core? 1:44:41 Defining the data model 1:57:53 Using the ASP.NET Core configuration system 2:02:40 Generating the database 2:20:57 Seeding data 2:26:28 Understanding dependency injection and service lifetimes 2:38:46 Saving new entities to the database 2:49:56 Mapping entities to DTOs 2:56:05 Querying, updating, and deleting entities from the database 3:18:16 Using the asynchronous programming model 3:38:39 API integration with the frontend
@adamrozex
@adamrozex 14 күн бұрын
Hello my friend Julio. Thank you very much for this wonderful content. I want to ask you, is this course complete or is there a paid continuation?
@juliocasal
@juliocasal 13 күн бұрын
Here's the continuation: juliocasal.com/courses/dotnetbootcamp
@VishalPatel-nv1tr
@VishalPatel-nv1tr 14 күн бұрын
Very useful information Question: any certification available for dot net core advance developer?
@juliocasal
@juliocasal 13 күн бұрын
Here: learn.microsoft.com/en-us/credentials/browse/?products=dotnet
@VishalPatel-nv1tr
@VishalPatel-nv1tr 13 күн бұрын
@juliocasal Thank you, but I am searching for specific Dot net core advance/expert certification
@VishalPatel-nv1tr
@VishalPatel-nv1tr 13 күн бұрын
@juliocasal thank you, I am searching for specific Dot net core advance/expert certification
@Geinz21
@Geinz21 14 күн бұрын
I don't understand. I checked my code several times, it always gives an error when I click to edit game "InvalidOperationException: The converter specified on 'GameStore.Frontend.Models.GameDetails.GenreId' does not derive from JsonConverter or have a public parameterless constructor." Also adding new item doesn't work. I downloaded your code and everything works without problems.
@juliocasal
@juliocasal 13 күн бұрын
Have you compared your code to mine?
@Geinz21
@Geinz21 13 күн бұрын
@@juliocasal I did this several times.
@11.nguyenhongdien58
@11.nguyenhongdien58 14 күн бұрын
I like when he said eh, subtitle just write H instead🤣
@juliocasal
@juliocasal 13 күн бұрын
:)
@drachir1431
@drachir1431 15 күн бұрын
I am a beginner for .Net, I've watched few tutorial and most of them used a pre load codes. This video is what I really needed. Just a quick question, why my GameStore.sln is look like have a readonly file inside and the icon on the left side is not an icon of visual studio? And when I create my GameStore.Api, the .Net runtime did not show up on my panel(besides the terminal)?
@juliocasal
@juliocasal 13 күн бұрын
Readonly file?
@mujahid_abbas_rae
@mujahid_abbas_rae 16 күн бұрын
Great job & insightful 🙂
@axboltx
@axboltx 17 күн бұрын
Kinda wish there were more tutorials with different API, other than REST.
@juliocasal
@juliocasal 17 күн бұрын
Other than REST?
@axboltx
@axboltx 17 күн бұрын
@juliocasal Like gRPC...
@roxGCstyle
@roxGCstyle 18 күн бұрын
Ended today at 3:18:15
@BimBims
@BimBims 21 күн бұрын
See someone using Visual Code, skip, lol
@juliocasal
@juliocasal 20 күн бұрын
?
@lingam3717
@lingam3717 21 күн бұрын
May god bless you long life
@lingam3717
@lingam3717 21 күн бұрын
Nice explanation from india
@DragonFist55
@DragonFist55 24 күн бұрын
hey Julio i cannot build the migrations as you did in 2:06:17 would you please give me a feedback about it
@DragonFist55
@DragonFist55 24 күн бұрын
it keeps giving me errors when i want to make it and when i asked chatGpt about it , it told me to create a designTimeFactory
@juliocasal
@juliocasal 24 күн бұрын
What's the error?
@DragonFist55
@DragonFist55 24 күн бұрын
@@juliocasal i fixed it , and i appreciate the fast response from you sir the error was : Unable to create a 'DbContext' of type ''. The exception 'Unable to resolve service for type 'Microsoft.EntityFrameworkCore.DbContextOptions1[GameStore.api.Data.GameStoreContext]' while attempting to activate 'GameStore.api.Data.GameStoreContext'.' was thrown while attempting to create an instance. For the different patterns supported at design time, see
@bartugkeskin6880
@bartugkeskin6880 25 күн бұрын
I decided to start this course but before that i want to ask this, can i follow this course with visual studio instead of visual studio code?
@juliocasal
@juliocasal 25 күн бұрын
Yes.
@bartugkeskin6880
@bartugkeskin6880 24 күн бұрын
@@juliocasal thanks :)
@abdelrahmanali2459
@abdelrahmanali2459 26 күн бұрын
amazing
@Jack-x2u
@Jack-x2u 26 күн бұрын
我很喜欢希望能继续更新😀
@gayu.4
@gayu.4 27 күн бұрын
Can we log messages to the log table in SQL server?
@juliocasal
@juliocasal 27 күн бұрын
Yes
@ctenc001
@ctenc001 27 күн бұрын
For the following code in EditGame.razr protected override void OnInitialized() { genres = genresClient.GetGenres(); } If I change it to protected override void OnInitialized() { genres = genresClient.GetGenres; } it works. What did I do different than you? And is their an issue if I leave off the ()
@ctenc001
@ctenc001 27 күн бұрын
at 2:22:00 you add a button to navigate to EditGames page. When I add this button and click on it it updates the address bar, but never updates the page. Any idea why? I found a workaround googling by adding onclick="location.href=this.href;return true;" What did I miss?
@TomWillwerth
@TomWillwerth 28 күн бұрын
Very nice and comprehensive course with this and the backend one!
@juliocasal
@juliocasal 28 күн бұрын
Thank you, I’m glad you enjoyed it!
@icemotion1925
@icemotion1925 29 күн бұрын
Amazing guide and good for refreshing knowledge.
@juliocasal
@juliocasal 29 күн бұрын
Glad you liked it
@soucianceeqdamrashti8175
@soucianceeqdamrashti8175 Ай бұрын
Super nice, just what I was looking for!
@juliocasal
@juliocasal Ай бұрын
Glad I could help!
@Yanami-d2p
@Yanami-d2p Ай бұрын
I think it will be better to use "rename symbol" to refactor function or class name than change the one by one 3:00:27
@juliocasal
@juliocasal Ай бұрын
Thanks!
@marissamaglaque9941
@marissamaglaque9941 Ай бұрын
Nice
@pitsielias483
@pitsielias483 Ай бұрын
The are so many useless tutorials on youtube but Julio is the goat, very useful and informative especially when you really wanna learn how things are connected on the backend.
@juliocasal
@juliocasal Ай бұрын
Glad you think so!
@trustmuhammed6007
@trustmuhammed6007 Ай бұрын
Lovely innovation
@AndrésGonzález-k5w
@AndrésGonzález-k5w Ай бұрын
I learned this trick in my job! it's very usefull
@juliocasal
@juliocasal Ай бұрын
Glad it helped!
@flifluflofli
@flifluflofli Ай бұрын
people say to keep focus on javascript, I am a bit lost there lol
@juliocasal
@juliocasal Ай бұрын
For the back-end?
@Victor-wy1wj
@Victor-wy1wj Ай бұрын
Very good course , thank you!
@juliocasal
@juliocasal Ай бұрын
You are welcome!