Adam Weigert

My feedback

  1. 59 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    under review  ·  2 comments  ·  API Management » Policies  ·  Flag idea as inappropriate…  ·  Admin →
    Adam Weigert supported this idea  · 
    Adam Weigert commented  · 

    Create the ability to create a policy snippet that is then referenced from other policies to build larger, reusable snippets.

    Use case is around avoiding copy/paste of policy definitions across multiple policies, typically operations. This would simplify the development process of policies as well as reduce the chance that mistakes are made.

    Example:

    Policy Name: rewrite-location
    Definition: <set-header name="Location" action="override">...</set-header>

    Snippet Usage in an actual policy:

    <inbound>
    <base />
    <import-policy name="rewrite-location" />
    </inbound>

    This would produce an actual policy:

    <inbound>
    <base />
    <set-header name="Location" action="override">...</set-header>
    </inbound>

    Optionally, being able to nests a snippet would be helpful for composing functionality. Example:

    Snippet Definition:
    <set-header name="x-custom-header" action="override">...</set-header>
    <import-policy name="rewrite-location" />

  2. 3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    under review  ·  0 comments  ·  API Management » Security  ·  Flag idea as inappropriate…  ·  Admin →
    Adam Weigert shared this idea  · 
  3. 3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    under review  ·  0 comments  ·  API Management » Lifecycle  ·  Flag idea as inappropriate…  ·  Admin →
    Adam Weigert shared this idea  · 
  4. 15 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    3 comments  ·  SQL Database  ·  Flag idea as inappropriate…  ·  Admin →
    Adam Weigert commented  · 

    I'd also like a common name that moves with the primary database, and support for read/write-intent. This would make the applications zero-touch during a database server maneuver such as shifting a region or changing the server it is associated with. I'd take a simple trafficmanager profile at this point, having to modify the application connection strings while automation is possible, it can be highly prone to error especially since we use source control config of the app settings / connection strings which can't be easily automatically updated so the new release pushes the right configuration.

  5. 6 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    under review  ·  0 comments  ·  API Management » Security  ·  Flag idea as inappropriate…  ·  Admin →
    Adam Weigert shared this idea  · 
  6. 12 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    planned  ·  3 comments  ·  API Management » API management experience  ·  Flag idea as inappropriate…  ·  Admin →
    Adam Weigert supported this idea  · 
  7. 362 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    started  ·  40 comments  ·  API Management » Developer portal  ·  Flag idea as inappropriate…  ·  Admin →
    Adam Weigert commented  · 

    The content should definitely be maintained in the GIT repo so that it can be promoted through the environments via GIT pull/push

    Adam Weigert supported this idea  · 
  8. 2 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  API Management » Policies  ·  Flag idea as inappropriate…  ·  Admin →
    Adam Weigert shared this idea  · 
  9. 36 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    2 comments  ·  API Management » API management experience  ·  Flag idea as inappropriate…  ·  Admin →
    Adam Weigert shared this idea  · 
  10. 1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    under review  ·  0 comments  ·  API Management » Policies  ·  Flag idea as inappropriate…  ·  Admin →
    Adam Weigert shared this idea  · 
  11. 17 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  API Management » API management experience  ·  Flag idea as inappropriate…  ·  Admin →
    Adam Weigert shared this idea  · 
  12. 13 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    under review  ·  0 comments  ·  API Management » Developer portal  ·  Flag idea as inappropriate…  ·  Admin →
    Adam Weigert shared this idea  · 
  13. 116 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    planned  ·  5 comments  ·  API Management » API management experience  ·  Flag idea as inappropriate…  ·  Admin →
    Adam Weigert commented  · 

    My use case for this is a job runs one or more times a day and at the end of the cycle new data has been loaded that is being cached, I'd like to be able to tell APIM to purge its cached entries. Being able to invalidate individual items would be nice but a global purge for a batch oriented system would work fine.

    I also in the near future will have near-time pub/sub model that will publish changes as they come through. This feature would need to be able to invalidate individual cache URLs. Worst case I keep a batch job that purges the cache on a regular basis.

    An alternative to this would be to be able to set a cache window similar to the quota thresholds. The cache is 1 hour at the top of every hour, so worst case an item gets cached a few minutes before the top of the hour and is invalidated quickly. Most likely I would use a larger cache window for these items so it is refreshed multiple times per day when used, e.g. 12am start and good for 4 hours so I would get 6 refreshes for any data that does get cached without having to make a call to invalidate it.

    Adam Weigert supported this idea  · 
  14. 24 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    under review  ·  2 comments  ·  API Management » Policies  ·  Flag idea as inappropriate…  ·  Admin →
    Adam Weigert commented  · 

    On another note, it would be nice if this used UrlDecode on the value.

    Current workaround I am using to get the urlencoded parameter:

    @(context.Request.Body.As<string>(preserveContent:true).Split('&').Where(s => s.StartsWith("param1=", StringComparison.OrdinalIgnoreCase)).Select(s => s.Split('=').Skip(1).FirstOrDefault()).FirstOrDefault()

    Use case is when you need to exact the parameter for another use, e.g. throttling policy, send-request, etc...

    Adam Weigert commented  · 

    Allow parsing of the request body that uses a content type of x-www-form-urlencoded.

    Example:
    Body: param1=xyz&param2=123
    Expression: @(context.Request.Body.AsForm().GetValueOrDefault('param1'))
    Output: xyz

    Adam Weigert supported this idea  · 
  15. 5 votes
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  Azure Active Directory » B2C  ·  Flag idea as inappropriate…  ·  Admin →
    Adam Weigert shared this idea  · 
  16. 33 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  API Management » Policies  ·  Flag idea as inappropriate…  ·  Admin →
    Adam Weigert shared this idea  · 
2 Next →

Feedback and Knowledge Base