Attention: We are retiring the ASP.NET Community Blogs. Learn more >

Contents tagged with Angular

  • Use Angular Component as Element, Attribute, and Class

    Components are building blocks of any Angular application. Most commonly Angular components exist as custom markup elements in the template. However, that's not the only way to use components. You can also use them as if they are an attribute of an HTML element. Or you can also use them as the value of class attribute on HTML elements. Using Angular selectors you can decide how a component will be used in the template markup. To that end this article illustrates each type of usage with a simple example.

  • Prepare ASP.NET projects (Web Forms / MVC / Core) to use Angular 4

    As as ASP.NET developer working with latest trends you might want to use Angular 4 in your projects. Unlike libraries such as jQuery, Angular 4 is a framework and there are quite a few steps involved before you actually start utilizing its powerful features. To that end this article explains the steps necessary to prepare your ASP.NET projects to use Angular 4. We will discuss the process for all the three flavors of ASP.NET available today - ASP.NET Web Forms, ASP.NET MVC and ASP.NET Core.