ContosoUniversityDotNetCore-Pages
vstest-docs
ContosoUniversityDotNetCore-Pages | vstest-docs | |
---|---|---|
20 | 4 | |
1,227 | 205 | |
- | - | |
0.0 | 7.7 | |
over 1 year ago | over 1 year ago | |
C# | ||
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ContosoUniversityDotNetCore-Pages
-
Where to put business logic when using projection with EF?
Let's take this project and query as an example: https://github.com/jbogard/ContosoUniversityDotNetCore-Pages/blob/master/ContosoUniversity/Pages/Students/Details.cshtml.cs
- Multiple projects in sln - where to install dependencies?
-
Any good Web API examples using Vertical Slices?
Check out Jimmy Bogard's example here: https://github.com/jbogard/ContosoUniversityDotNetCore-Pages
- Why doesn't this page show newly created students?
-
We Need to Have a Talk About MediatR
Discussions
- Why do I distrust people who talk about Clean Architecture?
- Clean Architecture Solution Template for .NET 6 - Updated to fix the more glaring problems
- Do big tech companies (Service industry) prefer clean architecture or n-layer architecture for building apps?
- Know a well-written Web Project that serves as a good reference?
-
Using Context in Controller Versus Services in .NET 5?
Vertical Slice architecture! This project is a great example It uses razor pages over mvc, but the same principles can be applied.
vstest-docs
-
trying to run an nunit test passing in a value
Environment variables is probably easiest, but vstest and dotnet test support your use case via runsettings arguments - more info here: https://github.com/microsoft/vstest-docs/blob/main/docs/RunSettingsArguments.md
-
Integrating VSTest
I've had success creating my own logger by following this guide on the vsdocs github. Nowadays you don't have to deploy the assemblies for the custom logger to the vs install folders. vstest will scan the build output directory for assemblies that match the specified pattern, *.testlogger.dll. You can also specify the path for custom test adapters either from the command line or a runsettings file using the TestAdapterPath option (this is only available since v15.1 but you mentioned you've tried the html logger and I think that's much newer than v15.1). If you get stuck with the implementation you can try referring to vstest's own loggers: htmllogger, trxlogger.
-
Anyone know if you can set parallelization as a setting for NUnit?
Also something that may be relevant is that newer versions of the vstest platform allow you to override runsettings options when running tests from the command line, as described here.
-
What are some excellent Github projects that really showcase best practices and great architecture and design?
vstest (c#) (I like this one a lot, architecture is very well documented here: https://github.com/Microsoft/vstest-docs)
What are some alternatives?
CleanArchitecture - Clean Architecture Solution Template for ASP.NET Core
eShopOnWeb - Sample ASP.NET Core 8.0 reference application, powered by Microsoft, demonstrating a layered application architecture with monolithic deployment model. Download the eBook PDF from docs folder.
awesome-dotnet - A collection of awesome .NET libraries, tools, frameworks and software
modular-monolith-with-ddd - Full Modular Monolith application with Domain-Driven Design approach.
Polly - Polly is a .NET resilience and transient-fault-handling library that allows developers to express policies such as Retry, Circuit Breaker, Timeout, Bulkhead Isolation, and Fallback in a fluent and thread-safe manner. From version 6.0.1, Polly targets .NET Standard 1.1 and 2.0+.
Respawn - Intelligent database cleaner for integration tests
nopCommerce - ASP.NET Core eCommerce software. nopCommerce is a free and open-source shopping cart.
Tyrannoport - 🦖 For processing TRX files into something more enjoyable 🦖
pluralsight-ddd-fundamentals - Sample code for the Pluralsight DDD Fundamentals course by Julie Lerman and Steve "ardalis" Smith
AspNetCore.BookStore - ASP.NET Core application using Command Pattern and Repository Pattern