Pragim Technology Blazor Course Tutorial

https://www.pragimtech.com/blog/blazor/blazor-course-wrap-up/ This course is around 7 hours and consists of 58 clips. We have covered most of the blazor concepts that help you build real-world blazor applications. Setup and run Blazor application You can find the complete source code of the project that we have built as part of this course at the following link.... » read more

Blazor Date Field Binding

Two-way binding is having a bidirectional data flow, i.e., passing the value from the property to the UI and then from the view (UI) to the property. Blazor provides support for two-way binding using the bind attribute. Syntax for creating two-way binding property: Note: Must enclose “InputDate” field in a “EditForm”. Sources: https://www.syncfusion.com/faq/blazor/data-binding/how-to-make-two-way-binding-with-input-date-value https://www.pragimtech.com/blog/blazor/blazor-datepicker/

Web Service API Blazor CORS Error

Error: Get the following error when trying to access api call from external sites. Access to fetch at xxxx from origin xxxx has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. If an opaque response serves your needs, set the request’s mode to ‘no-cors’ to fetch the resource with... » read more

The type or namespace name ‘ServiceContractAttributeAttribute’ does not exist in the namespace ‘System.ServiceModel’

Error: After generating a connected service from WCF, you get the following error during compile… The type or namespace name ‘ServiceContractAttributeAttribute’ does not exist in the namespace ‘System.ServiceModel’ Fix: Add the following from NuGet… System.ServiceModel.Primitives System.ServiceModel.Http Sources: https://stackoverflow.com/questions/45545013/system-servicemodel-not-found-in-net-core-project