Discover 5 stories with “aspnetcore” Tag.
User identity is a collection of security information associated to an authenticated user. It is used to implement authorization mechanisms with the aim of protecting application resources from unauthorized accesses. In ASP.NET Core, user identity and the related authorizations
Have you ever try to call directly your ASP.NET MVC Post actions from your code (from a test method for instance)? If yes, according to your action configuration, you may had to deal with a Bad Request http status.
Last time, we saw how to implement behavior testing in ASP.NET Core with a scenario approach. Thanks to this, we can now cover the code of a complete business scenario with a single test ! Easy as pie :) The demonstration
Isn't it obvious how precious automated tests are for our applications? Nevertheless, integrating automated testing in a development process is far from obvious! In this article I will present you a different approach we have experienced to easily write tests