Categories
Software Engineering

.NET 6 & C#10

Why .NET & C#?

-“Ranked #1 for two years in a row”

The .NET community has seen significant growth in the last few years..NET Core is ranked #1 for two years in a row (2019 & 2020) for the most loved framework on stack overflows software developer survey.

-Top 30 Repositories since 2016

Cloud Native Computing Foundation tracks the highest velocity projects of all GitHub & measures pull requests & issues coming in & how many are accepted. Repositories for .NET have consistently been in the top 30 since 2016 & is currently listed as #1 most active org. C# is the top 5 languages on Github, this is an indicator of a healthy, open-source ecosystem

Categories
Software Engineering

Automated Testing With MSTest V2

What is Microsoft’s MSTest Framework? Why is it used?

MSTest is a Unit Testing framework in Visual Studio that allows you to test .NET Apps. The MSTest Test Framework can be installed as a set of NuGet Packages & is a very effective way to automate tests. You can save the test functions in their own test classes & execute them manually in test runner to have them ready for CICD Automation.

How Does MSTest Relate to CICD?

MSTest is part of Continuous Integration. After a developer would push code to the Dev Environment, MSTest would then execute all of its tests to make sure there are no bugs. With MSTest you can identify failed unit tests to spot bugs faster & make sure none of the tests fail before moving the code to Dev, Staging, & Production.

MSTest Methods can be run manually but the real value is having them run automatically before pushing code to any master branch & then having MSTest run before pushing to master branch and after pushing to master branch.

This process would be automated using various scripts & tools such as Azure DevOps, & Ansible as part of the CICD Pipeline setup.

Elements of MSTest

At a high level, we can think of MSTest to be made of these elements below which describe the various functions and features of MSTest V2.

Categories
Software Engineering

Blazor Server – What is it? Why should I use it for Web Development?

Blazor Server is Microsoft’s server-side framework where UI rendering happens on the server-side. Every change or event that happens on the client-side will be sent to the server through SignalR communication.

Categories
Software Engineering

Blazor Web Assembly – What is it? Why should I use it for Web Development?

Blazor Web Assembly is Microsoft’s client-side framework that allows you to download & run SPA’s (Single Page Applications) code on the web browser. Web assembly is going to be one of the bigger players in developing fully-fledged web applications. Microsoft has been investing a lot of resources into Blazor Web Assembly.