David Klempfner

Results 6 issues of David Klempfner

I have this test class: using NSubstitute; using NUnit.Framework; using System; using System.Linq.Expressions; namespace MyTests { public class Tests { [Test] public void Test() { var companyBL = Substitute.For(); companyBL.GetCompany(c...

**Describe the bug** `NSubstitute.Exceptions.UnexpectedArgumentMatcherException` should be thrown for a test, however it is only thrown when the test is run in succession after another test. **To Reproduce** Run A() and...

"Razor Pages doesn't use attribute routing" - "doesn't" should be "don't". "If your application includes a set of web APIs, which must be secured, these apis should ideally be configured"...

doc-bug
help wanted
good first issue
Pri2
dotnet-architecture/prod
modern-web-apps-azure/tech
okr-health

"Do not use ToList() on DocumentClient.CreateDocumentQuery(...) which uses blocking calls to synchronously drain the query. Use [AsDocumentQuery()](https://github.com/Azure/azure-cosmos-dotnet-v2/blob/a4348f8cc0750434376b02ae64ca24237da28cd7/samples/code-samples/Queries/Program.cs#L690) to drain the query asynchronously." This is under a list of items titled...

cosmos-db/svc
triaged
assigned-to-author
product-question
Pri1
nosql/subsvc

I am getting System.InvalidOperationException: 'Sequence contains more than one element' StackTrace: ``` at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source) at Smocks.IL.Resolvers.MethodResolver.FindMethod(IEnumerable`1 candidates, String name, TypeReference[] parameterTypes, Boolean isGeneric, GenericBindingContext bindingContext) at Smocks.IL.Resolvers.MethodResolver.Resolve(MethodReference methodReference, GenericBindingContext...

Please mention what "RTO/RPO" stand for. --- #### Document Details ⚠ *Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.* * ID: 09a788e4-0130-73f2-d985-6fc3aec77974 * Version...

triaged
cxp
doc-enhancement
Pri1
reliability/svc
availability-zones/subsvc