Blazor Memory Configuration

Memory Configuration Source The following example uses a MemoryConfigurationSource to supply additional configuration: Program.Main: Inject an IConfiguration instance into a component to access the configuration data: Example: Sources: https://docs.microsoft.com/en-us/aspnet/core/blazor/fundamentals/configuration?view=aspnetcore-5.0

Blazor Uri

How it works Get it from injection before to use it on .razor pages: Or like this on .cs if you prefer “code-behind” experience: Sample NavigationManager cheatsheet Helpers code: Sources: https://docs.microsoft.com/en-us/dotnet/api/system.uri?view=net-5.0 https://stackoverflow.com/questions/50102726/get-current-url-in-a-blazor-component

Syncfusion DatePicker Calendar

Sources: https://blazor.syncfusion.com/demos/datepicker/default-functionalities?theme=bootstrap4 https://blazor.syncfusion.com/documentation/datepicker/data-binding/

Syncfusion Blazor Grid Detail Template

Note: We would like to inform you that the Virtualization feature has some limitations. Virtual scrolling is not compatible with detail template and hierarchy features. Find the below documentation for your reference.  https://blazor.syncfusion.com/documentation/datagrid/virtual/#limitations-for-virtualization

How to view HTTP headers in Google Chrome?

To view the request or response HTTP headers in Google Chrome, take the following steps : In Chrome, visit a URL, right click, select Inspect to open the developer tools. Select Network tab. Reload the page, select any HTTP request on the left panel, and the HTTP headers will be displayed on the right panel. Sources: https://mkyong.com/computer-tips/how-to-view-http-headers-in-google-chrome/

.NET Web API Return JSON instead of XML

By default, Web API returns both XML and JSON depending the the client. You the specifically specify what format you return. Bounding WebAPI to send only json formatted data Now there are cases where we want our application to receive only JSON formatted data irrespective of the ACCEPT header value. To achieve this, add a... » read more