Uploaded April 2018 | Updated November 2026, 2 days ago
Static code analysis tools are tools that are able to inspect your code without actually executing it. They are valuable tools in the constant fight for good code. Different static code analysis tools will uncover different things, some like Resharper focus on the micro level changes in your code (you can refactor this Property for example). In this video we'll take a look at a tool that focuses on the other side of the spectrum. Ndepend allow you to inspect dependency graphs for functions or projects, create and use rules to analyze code quality and more.
**I was provided a license from NDepend in order to test out the tool.**
In this video we'll cover some of my thoughts on the tool since I adopted it and how I'm using it to account for some of my technical debt. We'll look at 3 features that I've found useful in my own projects: Rules, Graphs and Trends.
Rules are written in NDepend's slightly customized version of LINQ called CQLINQ (Code Quality LINQ: ndepend.com/docs/cqlinq-syntax). This means every single code quality check is written in code that you have full access to edit to fit your needs. Rules generate information about your project such as projected technical debt (as a time based metric) and the overall status of your projects code.
Graphs (Matrices are also supported if you prefer that) are a way to visualize your projects dependencies such as the libraries your own projects require to function. You can also use NDepend's graphs to graph out the expected call stack of your methods. This will show which methods call which other methods and how they relate to one another.
Trends are used to track your technical debt over time and provide a report on the overall state of your project. This can help light up if your technical debt has spiked or if you've resolved some bigger issues lately.
You can find out more about NDepend at their website here: ndepend.com
We built the UWP app we analyze in this video here: youtu.be/VXFS0C8ZMNY
Join the World of Zero Discord channel: discord.gg/hU5Kq2u
Static code analysis tools are tools that are able to inspect your code without actually executing it. They are valuable tools in the constant fight for good code. Different static code analysis tools will uncover different things, some like Resharper focus on the micro level changes in your code (you can refactor this Property for example). In this video we'll take a look at a tool that focuses on the other side of the spectrum. Ndepend allow you to inspect dependency graphs for functions or projects, create and use rules to analyze code quality and more.
**I was provided a license from NDepend in order to test out the tool.**
In this video we'll cover some of my thoughts on the tool since I adopted it and how I'm using it to account for some of my technical debt. We'll look at 3 features that I've found useful in my own projects: Rules, Graphs and Trends.
Rules are written in NDepend's slightly customized version of LINQ called CQLINQ (Code Quality LINQ: ndepend.com/docs/cqlinq-syntax). This means every single code quality check is written in code that you have full access to edit to fit your needs. Rules generate information about your project such as projected technical debt (as a time based metric) and the overall status of your projects code.
Graphs (Matrices are also supported if you prefer that) are a way to visualize your projects dependencies such as the libraries your own projects require to function. You can also use NDepend's graphs to graph out the expected call stack of your methods. This will show which methods call which other methods and how they relate to one another.
Trends are used to track your technical debt over time and provide a report on the overall state of your project. This can help light up if your technical debt has spiked or if you've resolved some bigger issues lately.
You can find out more about NDepend at their website here: ndepend.com
We built the UWP app we analyze in this video here: youtu.be/VXFS0C8ZMNY
Join the World of Zero Discord channel: discord.gg/hU5Kq2u
![Sending Real-Time Messages to Unity from a Blazor Website - SignalR in Unity - Part 3
Lets complete our SignalR in Unity experiment by adding a Blazor Website to it. This will allow us to use a browser to send messages directly to Unity to create updates instead of either needing to install a Unity game or run a console app. Well quickly cover some of the components in a Blazor website as well as how some of the architecture works.
Well take a quick detour to chat about Blazor Web Assembly (Blazor WASM) vs Blazor Server because I completely forgot what project template I chose when setting up this test project. 😅
The architecture of our app looks like this:
```mermaid
graph LR
A[Browser App] ˃ B[Blazor Server]
B ˃A
B ˃ C{ASP.NET SignalR Server}
C ˃|Sends Updates to| D[Unity]
E[Console App] ˃ C
```
You can create a new Blazor project using either:
### Blazor Web Assembly
```sh
dotnet new blazorwasm
```
or
### Blazor Server
```sh
dotnet new blazorserver
```
If you want to learn more about Blazor you can get started here: https://aka.ms/getstartedwithblazor
***
If you would like to get started learning SignalR you can learn more at https://aka.ms/getstartedsignalr
My previous SignalR series shared at the [Microsoft Reactor](https://www.youtube.com/c/MicrosoftReactor1/) where we created an interactive canvas you could collaboratively draw on with the rest of the world!
1. [Building Real-Time Web Apps with SignalR](https://www.youtube.com/watch?v=k5rdhYj6TB8)
2. [Connecting a Web App to SignalR](https://www.youtube.com/watch?v=c0zmYjQ8KWA)
3. [Creating a Real-Time Web Canvas](https://www.youtube.com/watch?v=hgq1CYEJg_Q)
You can see some of the other content I have planned outside this channel in the Microsoft Reactor (and even come to our in-person events) at the [Microsoft Reactor San Francisco Meetup Page](https://www.meetup.com/Microsoft-Reactor-San-Francisco/).
***
Join the World of Zero Discord Server: https://discord.gg/hU5Kq2u Sending Real-Time Messages to Unity from a Blazor Website - SignalR in Unity - Part 3](https://i.ytimg.com/vi/6yCrnWcKvpU/mqdefault.jpg)









 or [Construct](https://www.construct.net/en/make-games/games-editor) as two examples.
My twitch streams are at https://www.twitch.tv/worldofzerodev
Join the World of Zero Discord Server: https://discord.gg/hU5Kq2u Building OBS Overlays in Unity 3D](https://i.ytimg.com/vi/940uUL0Nvwc/mqdefault.jpg)