Code for the Blazor: Getting Started course on Pluralsight.
gillcleeren / bethanyspieshophr Goto Github PK
View Code? Open in Web Editor NEWServer-side Blazor project
Server-side Blazor project
Gill,
I like what you are working on here, I see it isn't quite on Plural Sight yet. What would you say if one wanted to add functionality to prevent navigation once an edit is made to the employee-- say a popup message warning changes will be lost. I can't seem to find anything on the Web for how this type of action should take place in Blazor. That is, detect the model is dirty and prevent navigation or show a popup if it is. If I ever figure it out, I'll answer my question.
Thanks,
Joe
Hi, I've been following this through recently and I'm essentially stuck on the saving data portion of the course.
The first issue I encountered was related to the following:
Blazor WebAssembly TypeError: Failed to fetch
I was receiving this at the point the HttpClient made the put request to edit an employee and the only way was able to stop an exception occuring was to following this guide:
After then getting this working I ran the application in debug and found that the edit endpoint within the solution is never hit. I can see that on all other API requests I see the breakpoints I have setup in the API solution being triggered but for the put method this is not the case. Any pointers? I've tried adding a web.config file to the API solution to disable WebDav which is my usual port of call for API projects when WebDav appears to be blocking the PUT keyword but this doesn't seem to work in this case. I'm at a loss as even pulling down and running your solution doesn't seem to work for me.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.