Coding With Chuck
Coding With Chuck
  • 53
  • 376 105
Master ASP.Net Blazor 8 with C# - Episode 2, Blazor Components
In this episode, we continue building our ASP.Net Blazor Server Application with custom Blazor components. Using C# and razor, this lesson dives into Blazor components and Blazor pages.
Check out our website at www.McCulloughAssociates.com
00:00 Introduction
00:45 Application Overview
01:22 Item List
04:18 Creating a Simple Component
05:42 Item Detail Component
06:43 Simple onclick Event
09:37 Page Component
11:06 WebAssembly
11:24 Conclusion
มุมมอง: 296

วีดีโอ

Master ASP.Net Blazor 8 With C# In This Introductory Tutorial!
มุมมอง 3.1K5 หลายเดือนก่อน
In part 1 of this series on ASP.Net Blazor 8 using C#, Chuck explains the tools required and explains the contents of a Blazor application. Both Visual Studio 2022 and Visual Studio Code are covered. In addition, we look under the hood to see how Blazor server applications exchange messages with the server. Check out our website at www.McCulloughAssociates.com where you will find complete cours...
Mastering C# Yield, Async Yield, & Enumerators - Improve Application Performance!
มุมมอง 2746 หลายเดือนก่อน
Are you creating lists or arrays to return from methods in C#? Use yield return instead to make your code much more efficient. In this video, Chuck explains the pro's and cons of the different ways to return collections and how the yield, async yield, and await foreach keywords really works! Developers will understand how application performance is affected by the different ways to use Enumerat...
Primary Constructors in C# Programming Language Will Save You TIME
มุมมอง 6K6 หลายเดือนก่อน
Programmers will want to know all about the new C# Programming Language version 12 (.Net Core 8) feature, Primary Constructors to save lines of code! Whether you are a software engineer, developer, project manager, or if you are just getting started in programming, you will want to know about this useful feature! Check out our website at www.McCulloughAssociates.com Chapters 0:00 Introduction 0...
ASP.Net MVC Vs Blazor: The Ultimate Showdown - Who Will Reign Supreme?
มุมมอง 8K6 หลายเดือนก่อน
Chuck compares two ASP.Net frameworks - MVC vs Blazor. There are many web development platforms and even within the family of ASP.Net, there are several options. Blazor provides an interesting approach that can be client or server based. Who Reigns Supreme? Watch and find out! ASP.Net MVC is a more traditional, but very powerful framework as well. Join Chuck as he compares these frameworks! Che...
Introduction to C++ Live Stream!
มุมมอง 127ปีที่แล้ว
Introduction to C Live Stream!
Master C++ Programming! Join Our Free Live Stream For Beginners!
มุมมอง 135ปีที่แล้ว
Master C Programming! Join Our Free Live Stream For Beginners!
Use C++ 20 Template Constraints to Improve Readability and Syntax Error Messages
มุมมอง 1.5K2 ปีที่แล้ว
Use C 20 Template Constraints to Improve Readability and Syntax Error Messages
Python vs C# vs Java. Learn the differences and similarities of these languages
มุมมอง 16K2 ปีที่แล้ว
Python vs C# vs Java. Learn the differences and similarities of these languages
Master ASP.Net MVC 6 In Just One Video!
มุมมอง 1.4K2 ปีที่แล้ว
Master ASP.Net MVC 6 In Just One Video!
What Does async & await Really Do in C#? Learn all about Async Await in C#
มุมมอง 1.2K2 ปีที่แล้ว
What Does async & await Really Do in C#? Learn all about Async Await in C#
Learn C++, C# and Java With Chuck
มุมมอง 3.2K2 ปีที่แล้ว
Learn C , C# and Java With Chuck
Comparing C# to Java - I Code in Both. Learn about the Differences and Similarities.
มุมมอง 133K2 ปีที่แล้ว
Comparing C# to Java - I Code in Both. Learn about the Differences and Similarities.
Why You Aren't Using Interface Correctly in Your Design and Code
มุมมอง 1.2K2 ปีที่แล้ว
Why You Aren't Using Interface Correctly in Your Design and Code
Don't End up at the Train Station! Learn to Code Cleaner with Chuck!
มุมมอง 1272 ปีที่แล้ว
Don't End up at the Train Station! Learn to Code Cleaner with Chuck!
Code Cleaner with Deconstruction in C#
มุมมอง 4822 ปีที่แล้ว
Code Cleaner with Deconstruction in C#
Learn All About Record Types in C#
มุมมอง 1.8K2 ปีที่แล้ว
Learn All About Record Types in C#
Interfaces can have Implementation: Default Interface Implementation in C#
มุมมอง 6142 ปีที่แล้ว
Interfaces can have Implementation: Default Interface Implementation in C#
C++ vs C# - What Programmers Need to Know About Their Similarities and Differences
มุมมอง 161K2 ปีที่แล้ว
C vs C# - What Programmers Need to Know About Their Similarities and Differences
Introduction to C#: Classes Part 2 - Properties
มุมมอง 1503 ปีที่แล้ว
Introduction to C#: Classes Part 2 - Properties
Introduction to C#: Classes, Part 1
มุมมอง 1883 ปีที่แล้ว
Introduction to C#: Classes, Part 1
Introduction to C#: Namespaces
มุมมอง 1783 ปีที่แล้ว
Introduction to C#: Namespaces
Introduction to C#: Console I/O
มุมมอง 2173 ปีที่แล้ว
Introduction to C#: Console I/O
Introduction to C#: Values and References
มุมมอง 1963 ปีที่แล้ว
Introduction to C#: Values and References
Introduction to C#; Overview of Methods
มุมมอง 1903 ปีที่แล้ว
Introduction to C#; Overview of Methods
C# Tutorial for Beginners - Learn C# Today!
มุมมอง 1.9K3 ปีที่แล้ว
C# Tutorial for Beginners - Learn C# Today!
Introduction to C# Part 2: Loops and Conditionals
มุมมอง 2543 ปีที่แล้ว
Introduction to C# Part 2: Loops and Conditionals
Tuples in C# (updated)
มุมมอง 1643 ปีที่แล้ว
Tuples in C# (updated)
C# String Literals - Interpolated & Verbatim
มุมมอง 3044 ปีที่แล้ว
C# String Literals - Interpolated & Verbatim
Null-Conditional Operators in C#
มุมมอง 5634 ปีที่แล้ว
Null-Conditional Operators in C#

ความคิดเห็น

  • @kARMIN-gt4qh
    @kARMIN-gt4qh 2 วันที่ผ่านมา

    ❤ C#

  • @kingshahzad78
    @kingshahzad78 10 วันที่ผ่านมา

    Wonderful efforts... Lots of respect and love

  • @kingshahzad78
    @kingshahzad78 10 วันที่ผ่านมา

    Thanks Dear

  • @hlubradio2318
    @hlubradio2318 12 วันที่ผ่านมา

    When I see things like this I don't know why I would go back from Python

  • @jaytee283
    @jaytee283 14 วันที่ผ่านมา

    When I need java I use kotlin.

  • @luciusrex
    @luciusrex 16 วันที่ผ่านมา

    With C# you can do so much! Dot net alone is huge add to that unity in your free time. Just so warm all around

  • @rhysbaker2595
    @rhysbaker2595 17 วันที่ผ่านมา

    Okay sure but how does this impact readability?

    • @McCulloughAssociates
      @McCulloughAssociates 16 วันที่ผ่านมา

      Which is more readable? (imagine nested templates as well!!!) pair<int, std::string> p(42, "hello"); pair p2(42, "hello"); // CTAD

  • @javiergavilanmerida2133
    @javiergavilanmerida2133 20 วันที่ผ่านมา

    7:03 And this is the worst idea anyone can have. The "Result" type (as well as other strategies) that some modern languages ​​use to return errors explicitly, has been solved in Java with checked exceptions since the beginning. Using RuntimeException is simply a lousy (and cheap) way to handle errors...because in most cases, they simply won't be handled. This is why in Java philosophy "RuntimeException" were only intended for PROGRAMING errors, "Error" for unrecoverable errors (That is why there is no need to explicitly declare that they will be throwed, and in fact they should rarely be captured.), and the other exceptions (the checked ones) for manageable situations (for example, retrying, rolling back a transaction , or notifying the user of the reason for the error so that they can provide a manual solution). Checked exceptions make boilerplate code, but not fragile software. The only case where checked exceptions make the code weaker is when they are caught but not handled (which is easy to see is a terrible practice. Just as bad idea as making everything a RuntimeException). If you don't know/can handle a checked exception at a certain point, just throw it again (but handle it as early as you can). If you use a knife incorrectly and cut yourself, it's not the knife's fault, it's yours. With this it is the same.

  • @danielvega646
    @danielvega646 20 วันที่ผ่านมา

    So basically, C# is harder but richier than java.

    • @McCulloughAssociates
      @McCulloughAssociates 7 วันที่ผ่านมา

      C#,C++ = complex core, implicit; java,python=simple core,explicit

  • @thomashcase
    @thomashcase 21 วันที่ผ่านมา

    Pretty good summary. I think one historical difference had been start-up time. With Red Hat's Quarkus and using GraalVM, this issue has been fairly addressed. I think one area not covered may be library SDK Ecosystem in relation to Cloud Providers. If using Azure, both are covered fully, with edge to C# (broader functionality). If one is talking Google Compute Cloud or AWS, they may or may not be as fully comprehensive for C# as they are for Java. As for speed, as long as one follows standard best practices, either are adequate and you are correct, absolute speed really means another choice (C++, Rust, or even Golang depending on specific coding requirements).

  • @vlax12
    @vlax12 22 วันที่ผ่านมา

    I code in both. They are just tools for creating value to the customer and myself. If customer requires java, I'll code in java and viceversa.

    • @AA-fo4nd
      @AA-fo4nd 11 วันที่ผ่านมา

      @@vlax12 in your opinion which one is more required in jobs and stuff? i wanna learn one of them but i’m still confused.

  • @stefans.6858
    @stefans.6858 23 วันที่ผ่านมา

    It‘s Java. Everything is there. If you want lesse boiler plate code, use Lombok.

  • @AndreCarneiro666
    @AndreCarneiro666 24 วันที่ผ่านมา

    For me the only reason for Java exist is portability. It's a awful language, extremely bureaucratic, the solution for dependencies is a nightmare and everything has XML involved which really sucks! Moreover, Java is BORING! Everything has to get more time to do comparing with any other program language. C# is very performant, but .NET is so fat that performance decreases over time when more and more components( which developer doesn't have any control over it) is added to the program. As a program language I have no complains about it except for some "excentric" and exclusive keywords and concepts. The problem is have to pay to access the productivity features on Visual Studio. And it's expensive! Python is slow! That is the problem! But, the simplicity(thus, productivity) is the trade-off. So true, that scients choose the language as main language to solve their problems. It has a ton of libraries for anything a developer need and the new versions is getting better regarding to the performance issues. The GIL(Global Interpreter Locker) is finally going to an end which will unleash threads for Python a real feature instead a pain in the ass. For web I think is the best of three languages.

  • @LCTesla
    @LCTesla 25 วันที่ผ่านมา

    C# is what Java should have been

  • @CoolTebza-eh7ig
    @CoolTebza-eh7ig 29 วันที่ผ่านมา

    They all languages it's up to you as developers Java can't handle some things same as c#

  • @sergkapitan2578
    @sergkapitan2578 หลายเดือนก่อน

    Great Job!!! Thanks a lot! Can you do the same for .NET 8 and all these wonderful explanaitions:)?

  • @eeetube1234
    @eeetube1234 หลายเดือนก่อน

    Both Java and C# are not native languages. You have to install Java runtime environment or .Net framework to make Java and C# app work.

  • @eeetube1234
    @eeetube1234 หลายเดือนก่อน

    The only good programs I know that is written on Java are JetBrains IDEs and Minecraft. The rest Java app are bad. I do not know any good program written on C#

  • @ronaldjohnson4470
    @ronaldjohnson4470 หลายเดือนก่อน

    Awesome tutorial. Thank you.

  • @ronaldjohnson4470
    @ronaldjohnson4470 หลายเดือนก่อน

    Thank you Chuck love your teaching style. I've just subscribed to your channel.

  • @stankokostic725
    @stankokostic725 หลายเดือนก่อน

    Hey Chuck. Just want to tell you that I am happy to discover your channel. Keep up the great work spreading the knowledge in such a clear way and hope you get a much bigger audience

  • @peacemakerle
    @peacemakerle หลายเดือนก่อน

    The statement about generational garbage collection "since Java 8" is wrong. They had it earlier, just gave it another name.

  • @sadiulhakim7814
    @sadiulhakim7814 หลายเดือนก่อน

    Java is faster where c# takes less memory

  • @lukafox7907
    @lukafox7907 หลายเดือนก่อน

    Can you do a comparison between C; C++; Rust; Zig; and an assembly -- which is faster?

  • @hassoselb02
    @hassoselb02 หลายเดือนก่อน

    Is it compatible with each other? 😂

  • @paap2517
    @paap2517 หลายเดือนก่อน

    New sub here! Perfectly explained, thank you!👏🏽

  • @chudchadanstud
    @chudchadanstud หลายเดือนก่อน

    C# is bloated even more bloated than Java and you can't do any serious work without shoving a few pennies in Microsoft pockets. The average C# repo is impossible to read with knowing the ins and outs of VS.

  • @RustyNailer
    @RustyNailer หลายเดือนก่อน

    Don’t understand why anyone would mix technologies in the same project unless you are migrating from one to another. Personally think mixing technologies is a bad idea, it makes maintaining a large application so much harder. What I like about Blazor by virtually eliminating all JScript debugging the UI is so much easier.

  • @kvelez
    @kvelez 2 หลายเดือนก่อน

    Good video.

  • @benoitousman6848
    @benoitousman6848 2 หลายเดือนก่อน

    A very interesting explanation. I also noticed that C# seems to be more adapted for Virtual & Augmented reality developer.

  • @erdusa650
    @erdusa650 2 หลายเดือนก่อน

    But I think Kotlin is going to replace Java. And maybe it's much better than c# :)

  • @bernalfamilia2424
    @bernalfamilia2424 2 หลายเดือนก่อน

    Absolute the best video, thats what i needed thanks Chuck <3

  • @This_User_Luvs_Txji
    @This_User_Luvs_Txji 2 หลายเดือนก่อน

    very helpful! thank you!

  • @nishok-dev
    @nishok-dev 2 หลายเดือนก่อน

    5:20 😂

  • @zmirc
    @zmirc 2 หลายเดือนก่อน

    Very good comparison, thanks

  • @SpazeOfficial
    @SpazeOfficial 2 หลายเดือนก่อน

    5:17

  • @Shagidelic
    @Shagidelic 2 หลายเดือนก่อน

    in my opinion, with java the difference between theory and implementation is minimal as compared to C#. What i mean is that if the theory has 3 components in a concept, then the implementation of that concept in Java would also have 3 components in code. But, in C# the implementation would have 5-10 extra components that we would have to understand. Example, like, in this video you see that java uses existing concepts to implement new functionality, but c# has introduced a separate standard/princple/concept just to add a new feature. that is why there are more than twice as many keywords in C#. Java class library is more natural, while with C# it seems like every different concept has been implemented by a very different person. Although, with .NET Core things are getting better.

  • @kennedymwenda3357
    @kennedymwenda3357 2 หลายเดือนก่อน

    You make me want to start doing web development with .Net

  • @johnshaw6702
    @johnshaw6702 2 หลายเดือนก่อน

    Interesting, and a good explanation. I've prgramed in both C++ and C#, and have found myself frustrsted at times with C#. I've ran into a few situations were what would be simple in C++ was not possible in C#. Example: I had to modify an external library to do something that actually requied me to create a thread in it. The thread needed to finish its job before any application using it shutdown or the data would be lost. In C++ the thread would have to complete its job before it would stop processing. In C# the thread would just stop, regardless of its state at the time. Every mechanism, on paper, that was supposed to allow me some control over the thread in C# was bypast completely.

  • @liskardev
    @liskardev 3 หลายเดือนก่อน

    Java is much better

  • @optomecanic5320
    @optomecanic5320 3 หลายเดือนก่อน

    java has also annotation and record😉

  • @StandardLoop
    @StandardLoop 3 หลายเดือนก่อน

    Great video

  • @j.r.8176
    @j.r.8176 3 หลายเดือนก่อน

    This comparison makes no sense. Two tools for two very different jobs.

  • @andrewfandy8178
    @andrewfandy8178 3 หลายเดือนก่อน

    Thanks for the video sir, great explanation!, i want to move into C# .NET environment from Java, and found this video and i could get an overview about C# development

  • @sangeethnandakumar2534
    @sangeethnandakumar2534 3 หลายเดือนก่อน

    I had a small experience developing Java for Android apps and a big experiance working with .NET C# for enterprice apps, APIs and microservices. As somebody who worked on both even though not as same duration you know.. Let me be very fair and non-biased, "C# is just fantastic" and I enjoy deploying my high perf APIs on my servers using Github actions these days

  • @waynehawkins654
    @waynehawkins654 3 หลายเดือนก่อน

    c# all the way.

  • @alsocraxyy
    @alsocraxyy 3 หลายเดือนก่อน

    Really Working 👍

  • @Frauenfoerderer
    @Frauenfoerderer 3 หลายเดือนก่อน

    Great course! Thanks for your effort - can't understand why you don't have a lot more subs; hopefully you channel grows :)

  • @barionlp
    @barionlp 3 หลายเดือนก่อน

    you forgot that C# gives you the option to write low level code. So i can just write my Application using all of C#s benefits and only write the performance critical parts in a unsafe way without having to write them in a whole other language. I also like how C# adopts so many functional features, combining the best of both worlds

    • @lx2222x
      @lx2222x 3 หลายเดือนก่อน

      Also people forget how great C# interops with native libraries. Java on the other side often requires some kind of overhead

  • @jay_wright_thats_right
    @jay_wright_thats_right 3 หลายเดือนก่อน

    This is a great set of videos. Are you done with the live streams to continue the playlist or is this the end? I really appreciate the effort you put into these videos.