Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 03 14:13
    dennisdoomen commented #196
  • Jul 30 17:59
    dennisdoomen commented #263
  • Jul 30 17:59

    dennisdoomen on master

    Fixed example (#263) (compare)

  • Jul 30 17:59
    dennisdoomen closed #263
  • Jul 30 11:39
    bkoelman opened #263
  • Jul 23 08:10
    dennisdoomen closed #261
  • Jul 23 08:09
    dennisdoomen commented #261
  • Jul 22 09:20
    dependabot[bot] labeled #262
  • Jul 22 09:20
    dependabot[bot] opened #262
  • Jul 22 09:20

    dependabot[bot] on bundler

    Bump tzinfo from 1.2.9 to 1.2.1… (compare)

  • Jul 14 08:08
    gerryge edited #261
  • Jul 14 08:08
    gerryge edited #261
  • Jul 14 08:05
    gerryge opened #261
  • May 21 08:16

    dennisdoomen on bundler

    (compare)

  • May 21 08:16

    dennisdoomen on master

    Bump nokogiri from 1.13.4 to 1.… (compare)

  • May 21 08:16
    dennisdoomen closed #260
  • May 19 03:41
    dependabot[bot] labeled #260
  • May 19 03:41
    dependabot[bot] opened #260
  • May 19 03:41

    dependabot[bot] on bundler

    Bump nokogiri from 1.13.4 to 1.… (compare)

  • Apr 28 17:12
    dennisdoomen commented #259
Maher Jendoubi
@MaherJendoubi
Hello, what about C#6 now?
Dennis Doomen
@dennisdoomen
@MaherJendoubi any suggestions are welcome
Sathanu
@sathanu
I have one question about async in c#
when i run around 20000 task at a time using task.whenall, it won't run more than 1500 task
Can anyone explain what is the issue?
Vijay
@VQuery
Hi all ,
C:\Program Files (x86)\MSBuild\14.0\bin\amd64\Microsoft.Common.CurrentVersion.targets(277,5): error MSB4184: The expression "[System.IO.Path]::GetFullPath(C:/Jenkins/workspace/DataScience/datascience-buildrequest\C:/Jenkins/workspace/DataScience/datascience-buildrequest\Assemblies\)" cannot be evaluated. The given path's format is not supported.
facing below issue in project,please help me on this
Dennis Doomen
@dennisdoomen
Which project? The Github one?
Vijay
@VQuery
@dennisdoomen , Sorry i fixed this issue by / instead of \ :smile:
Vijay
@VQuery
How to publish web projects by msbuild engine exe?
Vijay
@VQuery
:worried:
But in vs15 machine its building fine
Christian Johansen
@cjjohansen_twitter
Hi looks interesting, just joined
Dennis Doomen
@dennisdoomen
:+1:
Ghost
@ghost~57ffe2fad73408ce4f2e0e53
I would like to discuss AV1200.
How does AV1200 relate to the old mantra to not use exceptions for control flow?
Dennis Doomen
@dennisdoomen
I don't agree with that mantra
What I mean is that I don't like to use return values for methods that are not supposed to fail.
If they can fail under normal circumstances, I would make that explicit in the name of the method.
Or by providing a property to see if calling that method is save to be called
E.g. Save and CanSave
Ghost
@ghost~57ffe2fad73408ce4f2e0e53
Thanks for the reply. We are having a recurring discussion surrounding this topic at my current job.
As an example, consider the following service method:
        public async Task<IEnumerable<User>> GetUsersAsync(
            Guid customerId,
            CancellationToken token = default)
        {
            EnsureArg.IsNotEmpty(customerId, nameof(customerId));

            if (!await CompanyExistsAsync(customerId))
            {
                _logger.LogError(ExceptionMessages.UnknownCustomerException, customerId);

                throw new UnknownCustomerException(ExceptionMessages.UnknownCustomerException, customerId);
            }

            IEnumerable<Data.User> dbUsers = _userRepository.GetUsersForCustomer(customerId);

            var users = _mapper.Map<IEnumerable<User>>(dbUsers);

            return users;
        }
Does AV1200 imply that this is preferred instead of returning result objects with status codes and possibly/optionally an object? E.g. Something like Result<TEntity, TResultCode>.
Dennis Doomen
@dennisdoomen
I would throw an exception if the customer ID is invalid
If there are no users, the enumerable is just empty
Ghost
@ghost~57ffe2fad73408ce4f2e0e53
Thanks for the reply!
No lets assume we are on-boarding a new customer and instead of doing a check if the customer exists we verify if the chosen sub-domain name is still available. Would you use an exception or a result code?
Dennis Doomen
@dennisdoomen
Well. I would do both. First a mechanism in the UI to try to avoid an exception. But if a concurrency issue does happen, I would throw a well-defined exception.
twarnick
@twarnick_twitter
anybody here? I see only very old messages :( ?
benjamin-9T
@benjamin-9T
Hi there, is there a stylesheet for Visual Studio to enforce these rules?
2 replies
The Resharper 9 CodeStyle I am not sure how to use
I think I am searching for a Stylecop file