Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AspNetCore: Enable shorter Uris #508

Merged

Commits on Apr 26, 2024

  1. Configuration menu
    Copy the full SHA
    f99c2ae View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    428e72a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ff1f19b View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2024

  1. Added endpoint route pattern functionality to domain services

    Implemented a new feature to configure the pattern used for generating endpoint routes in domain services
    
    The `AddDomainService(Type type)` method was modified to use the new `GetDomainServiceRoute(type)` method.
    
    A new file `DomainServiceEndpointRoutePatternAttribute.cs` was added, defining the `EndpointRoutePattern` enum and the `DomainServiceEndpointRoutePatternAttribute` attribute. The `GenerateConstructors()` method in `CSharpDomainContextGenerator.cs` and `CSharpDomainContextGenerator.tt` was modified to use the new `GetDomainServiceUri()` method.
    
    A new method `GetDomainServiceUri()` was added to `CSharpDomainContextGenerator.partial.cs` and `DomainServiceProxyGenerator.cs`. The `ClientCodeGenerationDispatcher.cs` and `ClientCodeGenerationOptions.cs` were modified to load and set the `DefaultEndpointRoutePattern` option. The `DomainServiceProxyGenerator.cs` was modified to use the new `GetDomainServiceUri()` method.
    
    A new file `EndpointRoutePattern.cs` was added, defining the `EndpointRoutePattern` enum. The `Program.cs` was modified to set the `DomainServiceEndpointRoutePattern` attribute for the assembly to `EndpointRoutePattern.WCF`.
    Daniel-Svensson committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    a62878f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    421ef7d View commit details
    Browse the repository at this point in the history
  3. Updated BinaryHttpDomainClientFactory and Main method

    Updated the `BinaryHttpDomainClientFactory` class in the `OpenRiaServices.Client.DomainClients` namespace. The `_httpClientFactory` field now accepts a `Uri` parameter for `HttpClient` creation.
    
    Updated `DomainClientFactory` so that it will only append "/binary/" for WCF style Uris, for all other kinds of uri it will ensure there is a trailing "/" instead.
    
    Add special workaround for AspNetCore tests so that they use the "Fullname" endpoint pattern even though the client is generated to use WCF style pattern.
    Daniel-Svensson committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    2964885 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f24b904 View commit details
    Browse the repository at this point in the history
  5. fixes

    Daniel-Svensson committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    6bc9d7e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1db4ce2 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    403bbf9 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2024

  1. fix some more tests, default to WCF uri's since we use same baseline …

    …for .NET and .NET FRAMEWORK
    Daniel-Svensson committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    2a598ec View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2024

  1. remove newline

    Daniel-Svensson committed Jun 8, 2024
    Configuration menu
    Copy the full SHA
    a2f4eb1 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2024

  1. Configuration menu
    Copy the full SHA
    508df96 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1977ddf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fa646ab View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2024

  1. Configuration menu
    Copy the full SHA
    21b57e2 View commit details
    Browse the repository at this point in the history