在原有接口方法调用上添加其他参数的方案?

Open
#264 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
csharp
Domain
api

Research direction

Start with the ApiFilterAttribute entry point and the boundary between Blazor and WebApiClient. Trace how request context is currently passed and determine whether the browser client IP can be made available there. Done means the supported parameter flow is defined and documented, with validation of the resulting behavior.

Written by the indexing model from the issue text.

Description

等待反馈(needs feedback)

我现在使用的Blazor和WebApiClient联合开发前后端。我在Blazor的前端获取了当前浏览器客户端的IP,我希望在ApiFilterAttribute中能够拿到这个IP信息。请问应该如何获取?

Dominant language
C#
Stars
2.1k
Forks
445
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dotnetcore/WebApiClient

All issues in dotnetcore/WebApiClient

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.