We add to the solution also Font-awesome via right click solution explorer and choose Add => Client-Side Library. Search for 'font-awesome'
Choose Font Awesome and add all files to be added to the lib/font-awesome folder of wwwroot.
Then at the bottom of _Host.cshtml we add:
It is truly amazing how simple creating web pages becomes for .Net developers with Blazor since they can utilize the full .Net Framework at hand - the folder browse app here uses a component only 30 lines long. Blazor is like that - effortless to create stuff. Of course something more useful than a app that is similar to File Explorer can be crated - the point was to test more stuff out in Blazor!
The Code Access Security (CAS) will take care of stopping access to folder the user running the browser should not access. You'll get built in .NET security features too
It is truly amazing how simple creating web pages becomes for .Net developers with Blazor since they can utilize the full .Net Framework at hand - the folder browse app here uses a component only 30 lines long. Blazor is like that - effortless to create stuff. Of course something more useful than a app that is similar to File Explorer can be crated - the point was to test more stuff out in Blazor!
ReplyDeleteThe Code Access Security (CAS) will take care of stopping access to folder the user running the browser should not access. You'll get built in .NET security features too
ReplyDelete