Ten Reasons Why .NET is the Best Platform for Web Development

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hi and welcome everyone I'm Gavin law firstly let me apologize for being away for so long A lot has been happening behind the scenes I traveled over to Texas to hang out with the free code Camp team which was absolutely amazing it was my first time in the US and I absolutely loved it I'm excited to tell you that I've been working on a long form free course that I will soon be publishing on this channel this course is going to have a lot of material in it we'll be discussing a lot of Concepts including Blazer web hooks databased design program design architectural design and a lot more so please check out this free course soon to be dropped on this channel it's going to be absolutely epic this video where I detail my 10 reasons why net is the best platform for web development is sponsored by pork bun.com we'll talk about pork bun.com a little bit later on in this video please let me know what your favorite web platforms are and why in the comment section of this video any other comments are of course welcome your insights are always always appreciated so let's get into it here are my 10 reasons why net is the best platform for web development and they are no particular order number one web development on net seamlessly expands into a much larger net ecosystem web development on net is not just restricted to the net web development Frameworks like MVC razor pages and of course Blazer you may for example start by building a small Blazer application to address a requirement for example a requirement to develop a small web app created for a small retail outlet perhaps initially you've created the small web app using the Blazer framework for a small mom and pop retail store located in a small suburb in America over the years let's say this retail outlet grows into a massive chain of stores situated all over America from New York Across America all the way to Los Angeles perhaps over more time the chain of stores extends across Europe Africa and austral Australia so the retail outlet over time becomes an international concern the products sold by the store are now internationally recognized and a requirements to make these products accessible internationally naturally emerges so of course it is going to be far easier to address these scalability concerns if the initial web application was built on a platform that was initially built with scalability in mind scalability is a fundamental aspect of net a advantage of starting out with net as the platform for the small web app used in our example is scalability you don't need to invest in a completely new platform to scale in order to meet the growing technological demands over time the small website initially created to address a small requirement can easily and incrementally grow ultimately into a globally distributed application that resides in the cloud and that provides a full e-commerce solutionn net is great great for cloud native applications you can run net inside doer containers and create multiple highly scalable units of functionality inside Docker containers these units of functionality can be scaled in and out depending on the demand placed on the relevant application Technologies like net Aspire now available in the latest version of net can be used by developers to easily create observable production ready distributed apps net integrates seamlessly with Azure cloud and can also run on the other large cloud service providers like Amazon web services and Google Cloud so starting with net for the development of your web applications no matter how small or large your application initially is can pay dividends in the future number two the Blazer framework since the release of net 8 the Blazer framework provides virtually everything you need to create high performing highly responsive web applications using Blazer you are able to create highly interactive High performing Spa single page applications that employ client side rendering CSR for rendering web pages Blazer was initially created as an answer to the JavaScript Spa Frameworks like react and angular so this is Microsoft's web framework for providing highly interactive highly responsive web pages before Blazer you could use the MVC framework or razor Pages framework for developing web applications onnet with these applications your web pages are service side rendered and or not client side rendered which is something that can be done using the Blazer framework with blazer a synchronous client side interactor functionality is built into the framework which facilitates highly interactive responsive web pages you can use a technology like Ajax asynchronous JavaScript and XML to provide asynchronous responsive functionality on the web using MVC or razor Pages you can even leverage signal R for this purpose so when using the net MVC framework you are able to facilitate functionality that dynamically updates part of the web page asynchronously without the need for refreshing the entire web page when only part of the web page needs to be updated and refreshed the disadvantage of this is you are essentially bolting together or cobbling together disparate Technologies into your web application to achieve this type of front-end asynchronous responsiveness for your web pages this functionality isn't built into the framework with blazer the asynchronous responsiveness you wish to achieve I.E for creating Spa single page applications is abstracted away through the use of Technologies like web assembly and Signal R so the developer does not need to worry about these concerns the developer only needs to know how to use the Blazer framework the heavy lifting as it were regarding High performing asynchronous front-end responsiveness is achieved through the inner workings of the Blazer framework a massive Advantage provided to net Developers is that using Blazer the developer is able to create full stack web applications using one language namely C Blazer also provides interoperability with JavaScript so you are still able to integrate JavaScript into your applications if necessary but you are far less dependent on JavaScript and you can code the vast majority of your applications on the front end and back end using C starting with net 8 SSR or service side rendering can be achieved in Blazer applications you can in fact choose to render your razor components using different render modes within one project namely SSR server side rendering CSR client side rendering or even Auto render mode where the razor component is initially rendered on the server but subsequently when the component is rendered as a result of the user interacting with your Blazer component on the front end the relevant razor component is rendered using client side rendering CSR so Auto render mode means fast initial load times achieved through service side rendering SSR and then potentially consistently faster responsiveness on the front end which is achieved through rendering the razor component on the client side using CSR and only the changes that are updated need to be updated within the web page so this can be very fast so at this stage blaze in my opinion is one of the very best if not the very best framework for web development the flexibility provided through a combination of render modes and the ability to create front-end highly responsive user interactivity functionality in C makes net and Blazer an amazing Choice as your web development framework number three a major release ofet is provided by Microsoft November every year Microsoft has pledged to create a new major release ofet every year a lot of features and improvements are due to be released with net 9 November of this year which include for example performance improvements to The NET Framework itself new features in the new version of c c version 13 new improvements to net Aspire enhancements at Azure open AI making it possible to transform your web applications to offer mindblowing artificial intelligence functionality and many more improvements and enhancements will be provided with the release of net 9 so using net as your platform for web development provides you with a future proof platform so when the Winds of Change blow you are still standing on the solid foundation that net provides you can easily integrate new evolutions for example new evolutions and AI into your applications without dealing with the potential timeconsuming messiness often caused through trying to integrate incompatible Technologies into your application net is continually expanding in step with a continually evolving technological universe so by choosing net as the found Foundation of your web applications you are choosing to make your web applications futureproof number four razor markup syntax facilitating the easy embedding of C code with HTML code basically Razer syntax provides An Elegant way to integrate net-based code for example written in C into web pages files containing razor code generally have the CSH HTML extension this extens alludes to C code being meshed with HTML code in one file so HTML code of course provides a human readable tag based declarative language for representing the way a web page looks in the user's browser by itself HTML is static meaning Dynamic behavioral functionality is not typically expressed using HTML code Razer allows the developer to integrate for example C code with HTML code which means Dynamic behavioral code can be included within a razor file Razer syntax is used in the views of the net MVC web framework the web pages created using the net Razer Pages framework as well as the razor components created using the Blazer web framework number five excellent support from Microsoft and a large community a robust support system is provided by Microsoft as well as a large community of net devel developers technical issues are going to come up no matter how experienced you are as a developer and you may need help resolving such issues or you may just want to seek some advice net developers can rely on both Microsoft's dedicated support channels and a large community of online Developers for assistance and valuable insights a developer is also able to fall back on paid support offered by Microsoft for highly specialized support if necessary Blazer is growing in popularity and a broad array of third-party UI components can be integrated into your web applications free of charge here are some examples of free UI component providers Blazer eyes raden Blazer matte Blazer and mud Blazer so using one or more of these providers you are able to easily include such reusable UI displays like charts tree structures modal dialogues cards progress bars carousels Etc if you need to integrate more sophisticated UI functionality into your applications please check out sync Fusion I've created a full almost 8 Hour Blazer server course for free code camp that you can check out to help you integrate sync Fusion components into your Blazer apps a link to this course is provided in the description of this video so once you've created your web application you may want to publish it for all the world to see when you publish a website you are going to want to to register a name for your website like for example if I were to create a software consultancy company I could register the name Gavin software.com for the URL of my website so do is a fairly common domain extension for URLs what if I wanted to include dodev or.pro for my domain extension you know something a little bit different so my URL could be Gavin software. proo or Gavin software. really cool you are able to register such custom domain extensions using p bun.com as mentioned earlier this video is sponsored by pork bun.com pork bun is a refreshingly different domain name registra that's different from other ones like GoDaddy and name cheep they've got the lowest prices on hundreds of different domain extensions so you can create a website blog online portfolio or anything you want to show off what you do they've got everything from the us.com domain to awesome ones likepro orev or XYZ every domain name at pork bun comes with a ton of freebies like SSL certificates who is privacy DNS and URL forwarding because why pay for things that should be free right they've also got free trials for their Link in biotool that makes it easy to keep links to all your Platforms in one place plus web and email hosting trials if you're someone who loves new tech check out their new AI generated Search tool using chat GPT that is changing how people search search for domain names all of these incredible features and tools are backed by incredible support 365 days a year and more five-star reviews on trust pilot from real customers than anyone else the pork bun website is simple to use and easy to navigate you can manage everything about your new domain from one place and they don't do upsells like those other places do so you're not being pressured to pay for products you'll never use get $1 off your next domain name from pork.com and build your online identity so go to this URL and use code Gavin lon4 to get $1 off your desired domain name at porkbun number six seamless integration of authentic iation and authorization functionality into your net web apps net provides a streamlined process for incorporating crucial security features into Web projects it simplifies the implementation of authentication and authorization offering developers seamless integration and enhanced security for their applications integrating authentication and authorization functionality into net web applications is a fundamental aspect of building secure and userfriendly web EXP experiences robust tools and Frameworks are provided by net to streamline the process of authentication and authorization authentication the built-in membership system as.net core identity provides robust authentication features that include user registration login two-act authentication and password recovery external providers can also be used for authentication where net allows integration with external Authentication to Providers such as Google Facebook or Microsoft accounts open ID connect can be described as a thin layer that runs on top of the O or2 protocol and enables users to log in using their existing credentials from these platforms so in this way users can have a single sign on facility where they can for example use their Google account or Microsoft account to log into multiple web applications SSO single sign on provides a massive convenience to users custom authentication is available to developers where developers can Implement custom authentication logic using middleware allowing for tailored authentication processes as per project requirements authorization net supports role-based access control for authentication enabling developers to Define roles for example admin user moderator manager Etc and restrict access to specific parts of the application based on these roles developers can create policy-based authorization using custom authorization policies based on various factors such as user roles claims or requirements specific to the application's needs claims based authorization can be achieved using net allowing for authorization to be based on claims associated with the user and providing fine grain control over access permissions integration net allows for middleware to be included in your web applications the asp.net core middleware pipeline enables seamless integration of authentication and authorization components into the request processing pipeline ensuring that every request is properly authenticated and authorized before reaching application endpoints net allows developers to implement attribute based authorization to apply authorization attributes to controllers and actions the developer can specify who can access specific parts of the application based on predefined criteria secure communication net encourages secure communication between clients and servers by default by supporting https to encrypt data in transit and mitigate security risks associated with data interception by leveraging the authorization authentication and encryption features and best practices provided by net developers can ensure that their web applications are not only featur rich but also secure and compliant with modern security standards number seven separation of concerns facilitated inet web Frameworks separation of concerns is a design principle crucial for maintaining code readability scalability and maintainability in software development net web Frameworks such as asp.net MVC provide robust mechanisms to facilitate a separation of concerns allowing developers to cleanly separate different aspects of their web applications here's how a separation of concerns is facilitated in net web Frameworks model view controller architecture or MVC architecture asp.net MVC allows the MVC architectural pattern which inherently promotes the separation of concerns a model represents the data and business logic of the application View views denote the presentation layer responsible for rendering the user interface the controller handles the user's input processes requests and updates the relevant models accordingly middleware pipeline asp.net cor's middleware pipeline allows developers to compose their applications request processing pipeline in a modular and organized manner middleware components are designed to perform specific tasks such as rooting orth authentication logging Etc middleware enables the separation of concerns by ensuring that each middleware component focuses on a single aspect of the request handling process dependency injection net core promotes the use of dependency injection a decoupling of components facilitates the separation of concerns and promotes modular design through dependency injection di developers can easily replace or modify components without affecting the rest of thec a because through dependency injection dependencies are injected into classes rather than these dependencies being instantiated directly within the developer's code view models view models can be used to separate concerns between the controller and the view view models encapsulate the data and behavior required by The View which ensures that the view remains focused on the presentation logic while keeping the controller clean and uncluttered data access layer net web Frameworks encourage the use of separate data access layers to abstract database interactions from the rest of the application through isolating the database related code into its own layer the business logic remains independent of specific data storage mechanisms promoting a separation of concerns and facilitating easier maintenance and testing asp.net called Razer Pages the razor Pages web framework in asp.net core offers a simpler alternative to the traditional asp.net core MVC framework used for building web applications razor Pages promote a separation of concerns by allowing developers to Define page specific logic and UI within a single file reducing the need for separate controllers and Views which would be the case if you were using the MVC framework by leveraging the features in architectural patterns offered in the net web Frameworks developers can effectively separate concerns within their applications leading to cleaner code bases improved maintainability and enhanced scalability front-end code can also potentially be developed by one team while another team works on the backend functionality so both front end and backend code can be developed in parallel making the overall development of a project potentially more efficient number eight C is an excellent programming language the design and development of C was led by the renowned Danish software developer Andis halsberg in the early 2000s I heard Anders hburg state in an interview that with the development of C he wanted to combine the power and expressiveness of C++ with the ease of use of Visual Basic personally I believe that Anders hburg and his team at Microsoft achieved just that c is an easy to use easy to read l language but it is also incredibly powerful with the Blazer framework you can develop both the front end and backend code using one language C you can still use JavaScript through Blazer's facilitation of JavaScript interoperability but you can create your front-end web functionality using mostly C which means hardly any JavaScript code needs to be included in your Blazer application most web applications are highly dependent on the developer right a lot of JavaScript code for the creation of front-end behavioral functionality with blazer the dependency on JavaScript is minimized and C can be used to create most of the front-end behavioral functionality C is an advantage over JavaScript in that c is a statically typed language or strongly typed language and JavaScript is a dynamically typed programming language the use of a statically typed language can lead to better runtime robustness and better performance each year Microsoft includes new features and enhancements in the C language ensuring that c remains a modern Cutting Edge programming language as at the time of creating this video C version 12 is the latest stable release of c c version 13 is due to be released with net 9 in November of this year 2024 number nine developer productivity net web Frameworks prioritize developer productivity with features like scaffolding code generators and seamless integration with popular development tools like visual studio and visual studio code number 10 crossplatform compatibility with asp.net core you can develop and deploy web Frameworks on various platforms including Windows Linux and Mac OS providing flexibility and broader reach I hope you enjoyed this video on my top 10 reasons whyn net is the best platform for web development please let me know what your favorite web development platforms are and why in the comments section of this video a big thank you to pork bun.com for sponsoring this video If you like this video please hit the like button and please consider subscribing to the Channel please also ring the bell so that you'll be notified of future content please feel free to share this video with anyone you feel May benefit from its content if you'd like to thank Me by buying me a coffee you can do this at my buy me a coffee web page at this URL it will of course be greatly appreciated I've recently joined X my username is @gavin lon digital I'd absolutely love it if you would follow me on X I really love reading your comments so please feel free to engage with me in the comments section I hope to see you soon thank you and take care [Music]
Info
Channel: Gavin Lon
Views: 1,541
Rating: undefined out of 5
Keywords:
Id: 1l6MxYdUK7A
Channel Id: undefined
Length: 25min 38sec (1538 seconds)
Published: Wed May 15 2024
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.