You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @jorgearana ... It sounds like you didn't name the component FileUpload1.razor. The name "FileUpload1" is the classname of the component. Change that to whatever you named it. For example, it you named it MyFileUploader.razor, then make that line @inject ILogger<MyFileUploader> Logger.
When I pulled up those cross-links, I think a smidgen of work on the content layout is in order. I think the class name remarks perhaps should be rolled into the Namespace section remarks with a section heading name change to Class name and namespace. It feels a little out of place where I currently have it in the Markup section. I have a work item coming up to split some sections of out the Components overview topic because it's getting too long. I added a note on this to that work item, and I'll address it in the topic with those updates coming in about a month or so.
The examples in this page does not work because, VS does not recognize @Inject ILogger.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: