✦ FREE · NO SIGN-UP · MCP-READY

Legacy .NET Code X-ray

Paste a Web Forms page, a WinForms form or a WCF service and see what's really inside: migration blockers, security risks, the right target on .NET 10 (LTS), and a phased plan to get there.

Paste your legacy code

One representative file works best

C#, VB.NET, Web Forms, WinForms, WCF, ADO.NET, config files.

0 / 20,000

Your code is never stored or logged. It's analysed by Google Gemini, and likely secrets (passwords, keys, tokens) are redacted before it leaves this server. Don't paste code you aren't allowed to share.

What the X-ray Looks For

Every finding cites the line, type or member that triggered it, so you can check the reasoning instead of trusting a score.

Migration blockers

APIs with no direct equivalent on modern .NET: System.Web, WCF server, Remoting, AppDomains, BinaryFormatter, 32-bit-only data providers.

Security

SQL built by string concatenation, hard-coded credentials, unsafe deserialization, and trust in unvalidated request data.

Data access

Raw ADO.NET, DataSets, Jet/OLE DB and EF6 patterns, and what each maps to on EF Core or modern ADO.NET.

Performance

ViewState bloat, synchronous I/O on request threads, Response.End, and caching that won't survive a move to the cloud.

Maintainability

Business logic trapped in event handlers and code-behind, static state, and tight coupling that makes a phased migration harder.

Testability

Code that can't be put under test before it's moved: the safety net a no-downtime migration depends on.

For AI agents

Run the X-ray From Your AI Assistant

Your AI assistant can call my site directly

This portfolio runs an MCP server, the open protocol Claude, Cursor and VS Code use to plug in tools. Connect it once and your assistant can run the Legacy Code X-ray on files straight from your repository. No copying code into a website.

Then just ask

“X-ray Orders.aspx.cs for a .NET 10 migration”

Code is never stored or logged. It's analysed by Google Gemini, with likely secrets redacted before it leaves the server. No account or API key needed.

Endpoint

https://kathanpatel.vercel.app/mcp

Run once in your terminal

claude mcp add --transport http legacy-xray https://kathanpatel.vercel.app/mcp

Legacy Code X-ray FAQ

What does the Legacy Code X-ray do?

It reads a legacy .NET file and returns a modernization report: the framework and era it detects, a severity-ranked risk map with the exact code that triggered each risk, the best target on .NET 10 (LTS), a three-to-five phase migration plan with relative effort sizes, quick wins, and AI features the modernized app could offer.

Is my code stored?

No. The code is never stored or logged by this site. It is sent to Google's Gemini API for the analysis itself, and likely secrets such as passwords, API keys, tokens and private keys are redacted before it leaves the server. Redaction is best effort, so don't paste credentials or code you aren't allowed to share.

Which code works best?

One representative file: a Web Forms page with its code-behind, a WinForms form, a WCF service contract or implementation, a data-access class, or a web.config section. C#, VB.NET, ASPX, Razor, XAML, config and SQL are all supported, up to 20,000 characters.

Why .NET 10 (LTS)?

.NET 10 is the current long-term support release, supported until November 2028. .NET 8 and .NET 9 both reach end of support in November 2026, so a migration starting today should land on .NET 10.

Can my AI assistant run the X-ray?

Yes. This site runs a public MCP server at kathanpatel.vercel.app/mcp. Add it to Claude, Claude Code, Cursor or VS Code and your assistant can X-ray files straight from your repository. No account or API key is needed.

How accurate is it?

It is an automated first pass over one file, not a code review. It is good at spotting blockers and risky patterns and at proposing a sensible target, but it can't see your architecture, deployment or data. Treat it as the agenda for a proper assessment.

Can you do the migration?

Yes. I'm a freelance AI & .NET developer with 8+ years of experience modernizing WinForms, Web Forms and .NET Framework applications to Blazor and ASP.NET Core without breaking what already works. Book a free 30-minute call from the report, or see the hire page.

Planning a bigger modernization? See how I work or estimate the project cost.