Could you please tell me what's after this to strengthen myself in .net core?
@juliocasal2 күн бұрын
Here: juliocasal.com/courses/dotnetbootcamp
@aasukaadhithya41074 күн бұрын
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❤
@juliocasal4 күн бұрын
Appreciate it, thanks!
@SachinDewan124 күн бұрын
Hi @julio Casal do you have discount for your .Net cloud developer boot camp course
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-i1e6 күн бұрын
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-i1e6 күн бұрын
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-i1e6 күн бұрын
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-j8f6 күн бұрын
Mr. Casal, does the MapPut function utilise the same "GameDto game" object created in the MapPost function?
@juliocasal5 күн бұрын
No.
@PiotrZarzycki-17 күн бұрын
This is a really good course! Thank you!
@juliocasal5 күн бұрын
You're very welcome!
@CodeTester-j8f7 күн бұрын
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?
@juliocasal5 күн бұрын
No idea
@HenryTsang9 күн бұрын
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?
@juliocasal5 күн бұрын
It won't work for every scenario.
@7frequencies88911 күн бұрын
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
@juliocasal10 күн бұрын
For advanced stuff: dotnetacademy.io/bootcamp
@fatmaamrr12 күн бұрын
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
@adamrozex14 күн бұрын
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?
@juliocasal13 күн бұрын
Here's the continuation: juliocasal.com/courses/dotnetbootcamp
@VishalPatel-nv1tr14 күн бұрын
Very useful information Question: any certification available for dot net core advance developer?
@juliocasal Thank you, but I am searching for specific Dot net core advance/expert certification
@VishalPatel-nv1tr13 күн бұрын
@juliocasal thank you, I am searching for specific Dot net core advance/expert certification
@Geinz2114 күн бұрын
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.
@juliocasal13 күн бұрын
Have you compared your code to mine?
@Geinz2113 күн бұрын
@@juliocasal I did this several times.
@11.nguyenhongdien5814 күн бұрын
I like when he said eh, subtitle just write H instead🤣
@juliocasal13 күн бұрын
:)
@drachir143115 күн бұрын
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)?
@juliocasal13 күн бұрын
Readonly file?
@mujahid_abbas_rae16 күн бұрын
Great job & insightful 🙂
@axboltx17 күн бұрын
Kinda wish there were more tutorials with different API, other than REST.
@juliocasal17 күн бұрын
Other than REST?
@axboltx17 күн бұрын
@juliocasal Like gRPC...
@roxGCstyle18 күн бұрын
Ended today at 3:18:15
@BimBims21 күн бұрын
See someone using Visual Code, skip, lol
@juliocasal20 күн бұрын
?
@lingam371721 күн бұрын
May god bless you long life
@lingam371721 күн бұрын
Nice explanation from india
@DragonFist5524 күн бұрын
hey Julio i cannot build the migrations as you did in 2:06:17 would you please give me a feedback about it
@DragonFist5524 күн бұрын
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
@juliocasal24 күн бұрын
What's the error?
@DragonFist5524 күн бұрын
@@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
@bartugkeskin688025 күн бұрын
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?
@juliocasal25 күн бұрын
Yes.
@bartugkeskin688024 күн бұрын
@@juliocasal thanks :)
@abdelrahmanali245926 күн бұрын
amazing
@Jack-x2u26 күн бұрын
我很喜欢希望能继续更新😀
@gayu.427 күн бұрын
Can we log messages to the log table in SQL server?
@juliocasal27 күн бұрын
Yes
@ctenc00127 күн бұрын
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 ()
@ctenc00127 күн бұрын
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?
@TomWillwerth28 күн бұрын
Very nice and comprehensive course with this and the backend one!
@juliocasal28 күн бұрын
Thank you, I’m glad you enjoyed it!
@icemotion192529 күн бұрын
Amazing guide and good for refreshing knowledge.
@juliocasal29 күн бұрын
Glad you liked it
@soucianceeqdamrashti8175Ай бұрын
Super nice, just what I was looking for!
@juliocasalАй бұрын
Glad I could help!
@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Ай бұрын
Thanks!
@marissamaglaque9941Ай бұрын
Nice
@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Ай бұрын
Glad you think so!
@trustmuhammed6007Ай бұрын
Lovely innovation
@AndrésGonzález-k5wАй бұрын
I learned this trick in my job! it's very usefull
@juliocasalАй бұрын
Glad it helped!
@flifluflofliАй бұрын
people say to keep focus on javascript, I am a bit lost there lol