Introduce Invoke-CIPPRestMethod MVP and route core Graph helpers through it for low-risk REST migration#39
Introduce Invoke-CIPPRestMethod MVP and route core Graph helpers through it for low-risk REST migration#39
Invoke-CIPPRestMethod MVP and route core Graph helpers through it for low-risk REST migration#39Conversation
Agent-Logs-Url: https://github.com/Zacgoose/CIPP-API/sessions/04ae08a1-b63c-4dcc-a6c7-df4a59db809a Co-authored-by: Zacgoose <107489668+Zacgoose@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Zacgoose/CIPP-API/sessions/04ae08a1-b63c-4dcc-a6c7-df4a59db809a Co-authored-by: Zacgoose <107489668+Zacgoose@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Zacgoose/CIPP-API/sessions/04ae08a1-b63c-4dcc-a6c7-df4a59db809a Co-authored-by: Zacgoose <107489668+Zacgoose@users.noreply.github.com>
Invoke-CIPPRestMethod MVP and route core Graph helpers through it for low-risk REST migration
|
@copilot would be we better off coupling this with a c# or similar compiled method instead of .net methods? No code changes yet just discuss |
Short answer: not immediately. |
|
@copilot |
Agent-Logs-Url: https://github.com/Zacgoose/CIPP-API/sessions/bf5d3ca2-5887-4c46-a6a6-37a44052938f Co-authored-by: Zacgoose <107489668+Zacgoose@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Zacgoose/CIPP-API/sessions/bf5d3ca2-5887-4c46-a6a6-37a44052938f Co-authored-by: Zacgoose <107489668+Zacgoose@users.noreply.github.com>
... I tracked this to request-body encoding risk in the new HttpClient path and pushed a fix in |
|
@copilot http://localhost:4280/api/ListUserPhoto?UserID=asdhasdasdfsdfdsfds - Exception calling ".ctor" with "3" argument(s): "The format of value 'application/json; charset=utf-8' is invalid." |
Agent-Logs-Url: https://github.com/Zacgoose/CIPP-API/sessions/b2a0fecd-f9fe-4021-a21d-c1befadd7d64 Co-authored-by: Zacgoose <107489668+Zacgoose@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Zacgoose/CIPP-API/sessions/b2a0fecd-f9fe-4021-a21d-c1befadd7d64 Co-authored-by: Zacgoose <107489668+Zacgoose@users.noreply.github.com>
Fixed in |
|
@copilot cipp .net: Total time: 184.6s rest method: Total time: 189.5s |
... These numbers look broadly in-family rather than a clear regression from the REST wrapper—P50/P95 and throughput are very close between both paths, with some run-to-run variance in tail latency. I haven’t made additional code changes from this report alone. If you want, I can add lightweight timing around request build/send/parse in |
devand current branch per CI guidance