Skip to content

fix: add CascadingAuthenticationState for LoginView sample

4ade8e1
Select commit
Loading
Failed to load commit list.
Merged

Release v0.17.0 #475

fix: add CascadingAuthenticationState for LoginView sample
4ade8e1
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL failed Mar 17, 2026 in 7s

105 new alerts including 1 medium severity security vulnerability

New alerts in code changed by this pull request

Security Alerts:

  • 1 medium

Other Alerts:

  • 1 error
  • 33 warnings
  • 70 notes

Alerts not introduced by this pull request might have been detected because the code changes were too large.

See annotations below for details.

View all branch alerts.

Annotations

Check failure on line 16 in src/BlazorWebFormsComponents/FormView.razor.cs

See this annotation in the file changed.

Code scanning / CodeQL

Container contents are never accessed Error

The contents of this container are never accessed.

Check warning on line 384 in src/BlazorWebFormsComponents/TreeView.razor.cs

See this annotation in the file changed.

Code scanning / CodeQL

Dereferenced variable may be null Warning

Variable
element
may be null at this access because of
this
assignment.

Check warning on line 393 in src/BlazorWebFormsComponents.Test/Diagnostics/ComponentHealthCountingTests.cs

See this annotation in the file changed.

Code scanning / CodeQL

Useless assignment to local variable Warning test

This assignment to
eventNames
is useless, since its value is never read.

Check warning on line 414 in src/BlazorWebFormsComponents.Test/Diagnostics/ComponentHealthCountingTests.cs

See this annotation in the file changed.

Code scanning / CodeQL

Useless assignment to local variable Warning test

This assignment to
allCounted
is useless, since its value is never read.

Check warning on line 93 in src/BlazorWebFormsComponents.Test/WebFormsPageBase/ResponseShimTests.razor

See this annotation in the file changed.

Code scanning / CodeQL

Useless assignment to local variable Warning test

This assignment to
nav
is useless, since its value is never read.

Check warning on line 325 in src/BlazorWebFormsComponents.Test/Handlers/HandlerEndpointExtensionTests.cs

See this annotation in the file changed.

Code scanning / CodeQL

Missing Dispose call on local IDisposable Warning test

Disposable 'HttpRequestMessage' is created but not disposed.

Check warning on line 85 in src/BlazorWebFormsComponents.Test/Handlers/HttpHandlerContextTests.cs

See this annotation in the file changed.

Code scanning / CodeQL

Useless assignment to local variable Warning test

This assignment to
_
is useless, since its value is never read.

Check warning on line 42 in src/BlazorWebFormsComponents.Test/Handlers/HttpHandlerResponseTests.cs

See this annotation in the file changed.

Code scanning / CodeQL

Missing Dispose call on local IDisposable Warning test

Disposable 'StreamReader' is created but not disposed.

Check warning on line 55 in src/BlazorWebFormsComponents.Test/Handlers/HttpHandlerResponseTests.cs

See this annotation in the file changed.

Code scanning / CodeQL

Missing Dispose call on local IDisposable Warning test

Disposable 'StreamReader' is created but not disposed.

Check warning on line 67 in src/BlazorWebFormsComponents.Test/Handlers/HttpHandlerResponseTests.cs

See this annotation in the file changed.

Code scanning / CodeQL

Missing Dispose call on local IDisposable Warning test

Disposable 'StreamReader' is created but not disposed.

Check warning on line 257 in src/BlazorWebFormsComponents.Test/Handlers/HttpHandlerResponseTests.cs

See this annotation in the file changed.

Code scanning / CodeQL

Call to obsolete method Warning test

Call to obsolete method
End
.

Check warning on line 47 in src/BlazorWebFormsComponents/TreeNode.razor.cs

See this annotation in the file changed.

Code scanning / CodeQL

Dereferenced variable may be null Warning

Variable
this.ParentTreeView
may be null at this access as suggested by
this
null check.

Check warning on line 28 in src/BlazorWebFormsComponents.Test/WebFormsPageBase/RequestShimTests.razor

See this annotation in the file changed.

Code scanning / CodeQL

Useless upcast Warning test

There is no need to upcast from
null
to
HttpContext
- the conversion can be done implicitly.

Check warning on line 27 in src/BlazorWebFormsComponents/TreeNode.razor

See this annotation in the file changed.

Code scanning / CodeQL

Constant condition Warning

Condition is always not null because of
... != ...
.

Check warning on line 20 in src/BlazorWebFormsComponents/TableItemStyle.cs

See this annotation in the file changed.

Code scanning / CodeQL

Useless upcast Warning

There is no need to upcast from
TableItemStyle
to
IHasTableItemStyle
- the conversion can be done implicitly.

Check warning on line 113 in src/BlazorWebFormsComponents.Test/WebFormsPageBase/RenderModeGuardTests.razor

See this annotation in the file changed.

Code scanning / CodeQL

Cookie 'Secure' attribute is not set to true Medium test

Cookie attribute 'Secure' is not set to true.

Check warning on line 47 in src/BlazorWebFormsComponents/MenuItem.razor.cs

See this annotation in the file changed.

Code scanning / CodeQL

Useless assignment to local variable Warning

This assignment to
separator
is useless, since its value is never read.

Check warning on line 84 in src/BlazorWebFormsComponents.Test/WebFormsPageBase/RenderModeGuardTests.razor

See this annotation in the file changed.

Code scanning / CodeQL

Useless assignment to local variable Warning test

This assignment to
result
is useless, since its value is never read.

Check warning on line 176 in src/BlazorWebFormsComponents.Test/Menu/MenuLevelStyles.razor

See this annotation in the file changed.

Code scanning / CodeQL

Useless type test Warning test

There is no need to test whether an instance of
Menu
is also an instance of
IMenuStyleContainer
- it always is.
There is no need to test whether an instance of
Menu
is also an instance of
IMenuStyleContainer
- it always is.
There is no need to test whether an instance of Menu is also an instance of
IMenuStyleContainer
- it always is.
There is no need to test whether an instance of Menu is also an instance of
IMenuStyleContainer
- it always is.

Check warning on line 73 in src/BlazorWebFormsComponents.Test/UnitImplicitConversionTests.cs

See this annotation in the file changed.

Code scanning / CodeQL

Useless assignment to local variable Warning test

This assignment to
unit
is useless, since its value is never read.

Check warning on line 409 in src/BlazorWebFormsComponents/Menu.razor.cs

See this annotation in the file changed.

Code scanning / CodeQL

Dereferenced variable may be null Warning

Variable
element
may be null at this access because of
this
assignment.

Check warning on line 43 in src/BlazorWebFormsComponents.Test/WebFormsPageBase/RenderModeGuardTests.razor

See this annotation in the file changed.

Code scanning / CodeQL

Useless upcast Warning test

There is no need to upcast from
null
to
HttpContext
- the conversion can be done implicitly.

Check warning on line 386 in src/BlazorWebFormsComponents/TreeView.razor.cs

See this annotation in the file changed.

Code scanning / CodeQL

Dereferenced variable may be null Warning

Variable
element
may be null at this access because of
this
assignment.

Check warning on line 388 in src/BlazorWebFormsComponents/TreeView.razor.cs

See this annotation in the file changed.

Code scanning / CodeQL

Dereferenced variable may be null Warning

Variable
element
may be null at this access because of
this
assignment.

Check warning on line 390 in src/BlazorWebFormsComponents/TreeView.razor.cs

See this annotation in the file changed.

Code scanning / CodeQL

Dereferenced variable may be null Warning

Variable
element
may be null at this access because of
this
assignment.