Published Mar 30, 2015

ASP.NET 5 - It's Basically Java

    Discover how ASP.NET 5 is revolutionizing development with its streamlined dependency management, cross-platform capabilities, and JSON project structures, offering enhanced flexibility and performance for modern developers.
    Episode Highlights
    Coding Blocks logo

    Popular Clips

    Episode Highlights

    • Configurations

      ASP.NET 5 introduces a flexible approach to environment-based configurations, moving beyond the traditional web config file. Joe Zack and Alan Underwood explain how developers can now source configurations from various places, such as JSON, XML files, and environment variables, enhancing cross-platform compatibility 1. This shift aligns with the growing trend of using Docker and other containerization technologies, which often rely on environment variables for configuration.

      You can totally do it easily in Windows too. You just got to like open up Explorer, right click on my computer properties. Environment variables go to advanced system variables.

      --- Alan Underwood

      This flexibility is crucial for developers working across different operating systems, including Windows, Linux, and OS X.

         

      Self-Hosting

      The ability to run self-hosted web servers in ASP.NET 5 marks a significant departure from reliance on traditional IIS. Alan Underwood highlights the benefits of this feature, emphasizing its cross-platform capabilities, which allow applications to run independently of Windows 2. This flexibility not only reduces hosting costs but also opens up new possibilities for deploying applications on various platforms.

      You can run an is or you can run self hosted in your own process. That's beautiful because previously you were tied to a Windows machine.

      --- Alan Underwood

      Joe Zack adds that this could lead to cheaper hosting solutions, as developers are no longer bound to Windows-specific environments 3.

         

      GAC Removal

      The removal of the Global Assembly Cache (GAC) in ASP.NET 5 simplifies dependency management. Joe Zack and Alan Underwood discuss how this change eliminates the need for shared assemblies, reducing the risk of version conflicts across different environments 4. Instead, developers can bundle dependencies directly with their applications, ensuring consistency and reliability.

      It's a really convenient folder that has basically a shared assemblies that different programs can use.

      --- Joe Zack

      This approach not only streamlines deployment but also enhances the portability of applications across various systems 5.

    Related Episodes