Тёмный
Round The Code
Round The Code
Round The Code
Подписаться
.NET, C# and ASP.NET Core tutorials, code examples, courses, videos and coding challenges for software developers to learn.

Focusing on tutorials from frameworks such as Web API, MVC and Blazor, as well as topics ranging from authorisation, dependency injection and configuration to name a few.

We'll also demonstrate some of the new features that are available when a new version of .NET and C# is released.

As a bonus, a number of our tutorials will have code examples so you can download the code from the tutorial and try it out for yourself.
xUnit tutorial: How to run unit testing in C#
10:34
5 месяцев назад
How to write custom middleware in ASP.NET Core
4:48
5 месяцев назад
Комментарии
@wawingiantonio8138
@wawingiantonio8138 10 часов назад
why having Produtct and GetProduct??
@shahnawazk
@shahnawazk 3 дня назад
Great informative video, keep it up!
@hauhoanghai8454
@hauhoanghai8454 3 дня назад
thank you sir
@henryespinozat
@henryespinozat 6 дней назад
Question: when we use [fromquery] but i need to recive more than one parameters, do a have to create a class? or in a method i can declare [fromquery] many time?
@kangourou702
@kangourou702 6 дней назад
Nice and useful. Thanks.
@JanManipol
@JanManipol 7 дней назад
Thanks for the help. You're a savior.
@Tymonello
@Tymonello 8 дней назад
Great quick explanation!
@mhsn27mhsn10
@mhsn27mhsn10 9 дней назад
thank you Sir
@mehmetince2630
@mehmetince2630 10 дней назад
Very nice video. very instructive content. Thanks
@RoundTheCode
@RoundTheCode 10 дней назад
Thanks. Glad you found it useful.
@sivas4861
@sivas4861 15 дней назад
Doubt please , Did we use same YAML file tasks for .NET and .NET Core , Is they are same or different .
@RoundTheCode
@RoundTheCode 10 дней назад
You can't use the DotNetCoreCLI@2 for .NET Framework tasks. That's specific to .NET Core. I think you can use VSBuild@1 for .NET Framework tasks.
@akshorts4862
@akshorts4862 18 дней назад
very well explained, I have little issue with pronunciation and accent as I am from different country, but very nice information, sir !!
@RoundTheCode
@RoundTheCode 10 дней назад
Glad it was helpful!
@JCode00
@JCode00 19 дней назад
I love your channel, I'm living in Portugal, but I'm looking for new jobs in 🇬🇧.
@RoundTheCode
@RoundTheCode 10 дней назад
Best bet will be to relocate to the UK. You'll have a better chance of getting a job.
@TerrenceFerguson
@TerrenceFerguson 20 дней назад
I would like to echo the following comment: "I cannot explain enough how this video is infinitely better than all of the Microsoft documentation combined." It's a year later, and this is still true. Thank you for the work on this video.
@HamzaBRiaz
@HamzaBRiaz 16 дней назад
I second that.
@parthibanparthi3029
@parthibanparthi3029 Месяц назад
Thanks very much for this video
@RoundTheCode
@RoundTheCode 10 дней назад
My pleasure
@parthibanparthi3029
@parthibanparthi3029 Месяц назад
How to create build Pipeline .yml
@riccarrasquilla379
@riccarrasquilla379 Месяц назад
thanks for the video
@RoundTheCode
@RoundTheCode 10 дней назад
You're welcome
@cissemy
@cissemy Месяц назад
Great . How to send a message to a specific user ?
@madhudharani9020
@madhudharani9020 Месяц назад
well explained
@out-of-sight
@out-of-sight Месяц назад
Thanks for the video. 🤩
@HeshamZeid
@HeshamZeid Месяц назад
Thanks
@RoundTheCode
@RoundTheCode Месяц назад
You're welcome.
@vishnugandham3141
@vishnugandham3141 Месяц назад
God bless you
@Thez-nl7gn
@Thez-nl7gn Месяц назад
You sir, are brilliant! Thank you
@10Totti
@10Totti Месяц назад
Great tutorial, but missing IOptionsMonitor.
@petercortens6019
@petercortens6019 Месяц назад
Nope. Maybe it is helpful in better templating, or helping juniors in setting up schoolbook application skeletons but it is beyond clueless in finding bugs, optimizing logic or generating custom algorithms. We already have non-LLM generative tools since decades, which are precise and helpful, but you only use them for specific application layers like entities or persistence. 101 in optimizing & debugging : comprehend your code. 101 in having more capabilities: clients want more and richer features
@dfcw
@dfcw Месяц назад
Thanks David, fantastic video. One of our front-end developers who uses Linux and Vscode is looking into moving into some backend stuff - do you have any hint for using custom nuget feeds (authenticating from Azure artifacts) and using Default Azure credentials on Linux for Azure Key Vault? Thanks
@sheriffcrandy
@sheriffcrandy Месяц назад
Why don't you use releases?
@RoundTheCode
@RoundTheCode Месяц назад
Releases is the old way of doing it.
@sheriffcrandy
@sheriffcrandy Месяц назад
@@RoundTheCode Maybe for small-scale projects. But for an Azure DevOps implementation housing 50+ large scale enterprise repos, I think standard release pipelines are the way to go. Did microsoft come out with any docs/statements recommending to use only pipelines, not releases anymore?
@thfsilvab
@thfsilvab Месяц назад
I gave C# on VS Code a real try at a big work project, 8 months using this tool stack, it's extremely far from ready for any usage. The LSP is slow, eats up a lot of resources (both RAM and CPU), full of bugs, and needs to be restarted from time to time because it decides to stop working randomly, therefore, taking full minutes to reload the projects again.
@mrjson3039
@mrjson3039 Месяц назад
I'm sorry I ever considered this ecosystem to find a job. As for you mr Round the code thaNks for the amazing video!! The tool failed me, not your content.
@RoundTheCode
@RoundTheCode Месяц назад
Thanks for the comment.
@curtmantle7486
@curtmantle7486 Месяц назад
.NET Developers who don't use Rider are at a disadvantage.
@RoundTheCode
@RoundTheCode Месяц назад
Never used it personally, so I can't comment. But I have heard good things about it.
@ShinSpiegel
@ShinSpiegel Месяц назад
Step 1: install Linux Step 2: Install NeoVim Step 3: Code like a real man
@RoundTheCode
@RoundTheCode Месяц назад
Can't say I've used NeoVim. What's it like?
@ShinSpiegel
@ShinSpiegel Месяц назад
It's a bare-bones text editor. It's efficient in its core, use a set of movement called “VIM motions” that are (very often) useful for manipulating text (and code). Uses a language to manipulate itself (instead of JSON), so you can change and modify the editor to suit your needs.
@ShinSpiegel
@ShinSpiegel Месяц назад
Aaahhh almost forgot, when youststt using neovim you can say “I use VIM btw” 😊
@EngineerNick
@EngineerNick Месяц назад
Thankyou for this. I had a very bad time with using C# from the command line/VS Code when I had to use C# for a similar web service thing. The Visual Studio IDE has infected the C# / dotnet languages with a method of working that is very UI based. I am simultaneously impressed and disgusted that a CLI would be used to create a class. I would never have thought to try that. Obviously productivity benefits... but oh man too bad if you dont like Microsofts way of doing things i guess.
@mrjson3039
@mrjson3039 Месяц назад
The same thing stood out to me. It never would've occurred to me to use a cli tool to create a class. I guess Microsoft wants to beat sun microsystems at creating the most convoluted boiler plate machined ever to boilerplate 😂
@RoundTheCode
@RoundTheCode Месяц назад
You can use the application to create a class etc. using Solution Explorer in VS Code if that's your preferred choice. Here's a video with more detail on it: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-r4WrDfuDT24.html
@mmaranta785
@mmaranta785 Месяц назад
Will this work with net framework 4.0?
@RoundTheCode
@RoundTheCode Месяц назад
Yes, but you have to install the Microsoft.Bcl.Async NuGet package.
@purplepanther4153
@purplepanther4153 Месяц назад
Nlog does a good job. and easy.
@RoundTheCode
@RoundTheCode Месяц назад
Serilog also does a good job.
@purplepanther4153
@purplepanther4153 Месяц назад
Aspnet .core logging suck no offense. its not straight forward when u want to log a file.
@nicezii694
@nicezii694 Месяц назад
With this method When I’m execute my API with postman I have to set header to Authorization Basic base64username&password Right?
@RoundTheCode
@RoundTheCode Месяц назад
You need to base 64 encode it in this format. {username}:{password} So you should be passing in a base64 hash as part of the Authorization header.
@devgenesis6436
@devgenesis6436 Месяц назад
how can we find device details, like parsing from user agent .. i want to implement the new device-found functionality like google offers and send MFA on the app...
@RoundTheCode
@RoundTheCode Месяц назад
I'm not sure, but I might look into it.
@skemuel
@skemuel Месяц назад
Awesome. Thanks for this
@RoundTheCode
@RoundTheCode Месяц назад
No problem!
@9t4j
@9t4j Месяц назад
awesome tips :D
@RoundTheCode
@RoundTheCode Месяц назад
Glad you like them!
@cissemy
@cissemy 2 месяца назад
Thanks Can you pass the price as querystring parameter ?
@RoundTheCode
@RoundTheCode 2 месяца назад
No, because you would be able to change the price.
@stilllearningknowledge4529
@stilllearningknowledge4529 2 месяца назад
Thank you. Clear and simple. Nice explanation. Keep going
@RoundTheCode
@RoundTheCode Месяц назад
Thank you, I will
@gahshunker
@gahshunker 2 месяца назад
how can this made cross platform? any nuget package to have a host that is not windows specific? great video btw, concise and to the point. thanks
@Abishkar-q1p
@Abishkar-q1p 2 месяца назад
good video gave good insight on how the code works for newbies
@RoundTheCode
@RoundTheCode Месяц назад
Glad it helped
@DickBakerSql
@DickBakerSql 2 месяца назад
offset=2:50 as shown the category input parameter should be of type Category (i.e. that SHOULD not be null) public string? GetCategoryName(Category category) alternatively you could explicitly specify method declaration to accept nullable params with one of public string? GetCategoryName(Category? category) public string? GetCategoryName([AllowNull] Category category) so compiler would alert dodgy statements e.g. category.Name would be squiggled to warn dev to reconsider, e.g. Severity Code Description .. Warning CS8602 Dereference of a possibly null reference. Certainly your code _could_ have an early guard statement as safety-check (despite declaring "Category" as non NULLable), but I find that inconsistency to be a code-smell and I prefer using proper NRT semantics. Current project templates now include <Nullable>enable</Nullable> in generated .csproj to discourage NULL accidents.
@DickBakerSql
@DickBakerSql 2 месяца назад
offset=2:21 for "can not allocated .." read "can not allocate .."
@LiquidreamUK
@LiquidreamUK 2 месяца назад
Lots of great tips here that I missed in recent .NET/C# updates. Thanks!
@temp_sach
@temp_sach 2 месяца назад
awesome video ! use this for reference at work
@RoundTheCode
@RoundTheCode Месяц назад
Great!
@arkangello2916
@arkangello2916 2 месяца назад
Could you explain please, what is the purpose of creating distinct GetProduct model with identical properties as main Product has?
@hauhoanghai8454
@hauhoanghai8454 3 дня назад
Because in DTO you can return what you want to return to the FE team: For example, User has 2 properties, username and password, when finished, should we return the password property? I think not.
@SertuncSELEN
@SertuncSELEN 2 месяца назад
awesome, thank you
@RoundTheCode
@RoundTheCode 2 месяца назад
You're welcome!
@nkwojikenneth
@nkwojikenneth 2 месяца назад
Good
@nkwojikenneth
@nkwojikenneth 2 месяца назад
Link to your videos?