The new standalone APIs, now graduated from developer preview, allow Angular developers to build applications without using NgModules. Angular 15, the latest version of the Google-developed, TypeScript-based web application framework, has just been released. The update features now-stable, “standalone” APIs that allow developers to build applications without using NgModules. Angular 15 was officially unveiled on November 16. The standalone APIs, introduced as a developer preview in Angular 14 in June, let developers bootstrap an application using a single component. They work in HttpClient, Angular Elements, router, and elsewhere. Standalone components are intended to simplify development and serve as an alternative to NgModules, a way of managing dependencies that developers viewed as unnecessarily complex. Also in Angular 15, a new directive composition API promises to enhance code reuse. It enables developers to enhance host elements with directives and fits Angular with a code reuse strategy. A new image directive, now stable, adds features such as automatic srcset generation, to ensure an appropriately sized image, and experimental fill mode, to cause an image to fill its parent container, removing the requirement to declare the image’s height and width. The standalone NgOptimizedImage can be used directly in a component or NgModule. Instructions for getting started with Angular can be found on GitHub. Angular 15 also includes the following features and enhancements: Improved stack traces for debugging. Material Design Components for Web (MDC), now stable. Range selection support in the slider and a density customization API for components. Component Dev Kit (CDK) adds a CDK listbox primitive. Improvements to the experimental support for the ESbuild JavaScript bundler, with experimental backing for Sass, SVG template, file replacement, and ng – watch. The Angular CLI lets you generate a new standalone component, via ng g component –- standalone. And the output of ng new has been simplified, removing test.ts, polyfills.ts, and environments to reduce the configuration. Developers can globally change the default formatting configuration for DatePipe. The language service now can automatically import components being used on a template but that have not been added to a standalone component or NgModule. Future plans for Angular include improvements to the server-side rendering pipeline and reactivity along with quality-of-life improvements. Related content news Microsoft unveils imaging APIs for Windows Copilot Runtime Generative AI-backed APIs will allow developers to build image super resolution, image segmentation, object erase, and OCR capabilities into Windows applications. By Paul Krill Nov 19, 2024 2 mins Generative AI APIs Development Libraries and Frameworks news Akka distributed computing platform adds Java SDK Akka enables development of applications that are primarily event-driven, deployable on Akka’s serverless platform or on AWS, Azure, or GCP cloud instances. By Paul Krill Nov 18, 2024 2 mins Java Scala Serverless Computing news Spin 3.0 supports polyglot development using Wasm components Fermyon’s open source framework for building server-side WebAssembly apps allows developers to compose apps from components created with different languages. By Paul Krill Nov 18, 2024 2 mins Microservices Serverless Computing Development Libraries and Frameworks how-to How to use DispatchProxy for AOP in .NET Core Take advantage of the DispatchProxy class in C# to implement aspect-oriented programming by creating proxies that dynamically intercept method calls. By Joydip Kanjilal Nov 14, 2024 7 mins Microsoft .NET C# Development Libraries and Frameworks Resources Videos