Tag: ASP.NET Core

Turn on CircuitOption.DetailedError in Blazor

Turn on CircuitOption.DetailedError in Blazor

This article is going to explain how to enable CircuitOption.DetailedError in the development environment. Let us look at a small example. The following is the Blazor component code. It contains...

Readmore

Basic Event Handling in Blazor

Basic Event Handling in Blazor

This article is to explain how event handling works in Blazor. The @on{event} attribute in Razor is the event handling attribute. The {event} may be any event. For example, For...

Readmore

Data Binding in Blazor

Data Binding in Blazor

Data binding is one of the most important processes in an application. Data binding is achieved through the @bind attribute in the Blazor component. @bind attribute The following code is...

Readmore

Multiple Environments in ASP.NET Core

Multiple Environments in ASP.NET Core

An environment variable helps to indicate the environment  in which the application is running so that the developers can configure applications according to their needs.  ASP.NET core uses the ASPNETCORE_ENVIRONMENT...

Readmore

Exception Handler Middleware in ASP.NET Core

Exception Handler Middleware in ASP.NET Core

Exception Handling is important for any  application. The Exception Handler Middleware in  ASP.NET Core helps to configure the custom error handling process in the production environment. In this article let’s...

Readmore

Developer Exception Page in ASP.NET Core

Developer Exception Page in ASP.NET Core

The developer exception page is a one of the error handling processes in ASP.Net Core. It will give you complete details about the exception. To enable the Developer exception page...

Readmore

Rendering Raw HTML Content in Blazor

Rendering Raw HTML Content in Blazor

This article is to explain how to render HTML in the Blazor Component. We can achieve this functionality in ASP.NET MVC by HTML.Raw() method, which returns the HTML markup. But...

Readmore

Integrating Blazor Component with ASP.NET Core

Integrating Blazor Component with ASP.NET Core

This blog explains how to integrate the server-side Blazor Component into ASP.NET Core. Integrating the Blazor component into existing ASP.NET Core enables you to use the Blazor feature on the...

Readmore

Static Image in Blazor

Static Image in Blazor – Inside and Outside Web Root

This article explains how to display a static image in the Blazor component. In ASP.NET Core  static files are served by Microsoft.AspNetCore.StaticFiles middleware. First, let's look at the general way to...

Readmore