consume-api-in-aspx

Convert legacy ASPX WebMethod AJAX calls to .NET Core API endpoints.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/AiLA-X-1/TSAV3-Test --skill consume-api-in-aspx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: consume-api-in-aspx
Source: https://github.com/AiLA-X-1/TSAV3-Test/tree/main/.claude/skills/consume-api-in-aspx
Command: npx skills add https://github.com/AiLA-X-1/TSAV3-Test --skill consume-api-in-aspx

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Migrates legacy ASPX WebMethod calls to the new .NET Core API, standardizing API usage and response formats.

Core Features & Use Cases

  • Convert client-side AJAX calls from Page.aspx/Method to API endpoints handled by the new controllers using API.Get and API.Post.
  • Enforce PascalCase in responses and data properties for consistent UI bindings.
  • Remove hard-coded aila_api.js usage and migrate UI logic to API-driven patterns across ASPX pages.

Quick Start

Replace WebMethod AJAX calls with API.Get/API.Post for the target ASPX page and call the new API endpoints to fetch and manipulate data.

Frequently Asked Questions about consume-api-in-aspx

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate ASPX WebMethod AJAX calls to a .NET Core API?

To migrate ASPX WebMethod AJAX calls to a .NET Core API, replace client-side Page.aspx/Method requests with API.Get and API.Post functions routed to new API endpoints managed by controllers.

What is the best way to standardize API response formats across ASPX pages?

Standardizing API response formats across ASPX pages involves enforcing PascalCase for data properties and response shapes, ensuring consistent UI data bindings during the migration to API-driven patterns.

Can I use API.Get and API.Post with SimpleHeader to expose API endpoints?

Yes, you can use API.Get and API.Post with API_URL constants to route requests. SimpleHeader is required to properly expose the new API endpoints during the ASPX page migration.

Why should I remove hard-coded aila_api.js when updating ASPX frontend code?

Remove hard-coded aila_api.js to migrate UI logic to API-driven patterns, eliminating legacy dependencies and standardizing data fetching through the new .NET Core API endpoints.

Do I need to update UI data structures to PascalCase when migrating to .NET Core API?

Yes, updating UI data structures to PascalCase is required during migration to align client-side data properties with the standardized response shapes from the new .NET Core API endpoints.