HomeCloud ComputingAWS Remodel for .NET, the primary agentic AI service for modernizing .NET...

AWS Remodel for .NET, the primary agentic AI service for modernizing .NET purposes at scale


Voiced by Polly

I began my profession as a .NET developer and have seen .NET evolve during the last couple of many years. Like a lot of you, I additionally developed a number of enterprise purposes in .NET Framework that ran solely on Home windows. I fondly bear in mind constructing my first enterprise utility with .NET Framework. Though it served us nicely, the expertise panorama has considerably shifted. Now that there’s an open supply and cross-platform model of .NET that may run on Linux, these legacy enterprise purposes constructed on .NET Framework should be ported and modernized.

The advantages of porting to Linux are compelling: purposes value 40 % much less to function as a result of they save on Home windows licensing prices, run 1.5–2 instances sooner with improved efficiency, and deal with rising workloads with 50 % higher scalability. Having helped port a number of purposes, I can say the hassle is well worth the rewards.

Nonetheless, porting .NET Framework purposes to cross-platform .NET is a labor-intensive and error-prone course of. It’s important to carry out a number of steps, reminiscent of analyzing the codebase, detecting incompatibilities, implementing fixes whereas porting the code, after which validating the modifications. For enterprises, the problem turns into much more complicated as a result of they could have lots of of .NET Framework purposes of their portfolio.

At re:Invent 2024, we previewed this functionality as Amazon Q Developer transformation capabilities for .NET to assist port your .NET purposes at scale. The expertise is accessible as a unified internet expertise for at-scale transformation and inside your built-in improvement surroundings (IDE) for particular person mission and resolution porting.

Now that we’ve integrated your helpful suggestions and solutions, we’re excited to announce immediately the overall availability of AWS Remodel for .NET. We’ve additionally added new capabilities to assist tasks with non-public NuGet packages, port model-view-controller (MVC) Razor views to ASP .NET Core Razor views, and execute the ported unit exams.

I’ll develop on the important thing new capabilities in a second, however let’s first take a fast have a look at the 2 porting experiences of AWS Remodel for .NET.

Massive-scale porting expertise for .NET purposes
Enterprise digital transformation is usually pushed by central groups chargeable for modernizing lots of of purposes throughout a number of enterprise items. Totally different groups have possession of various purposes and their respective repositories. Success requires shut coordination between these groups and the applying house owners and builders throughout enterprise items. To speed up this modernization at scale, AWS Remodel for .NET supplies an online expertise that permits groups to attach on to supply code repositories and effectively remodel a number of purposes throughout the group. For choose purposes requiring devoted developer consideration, the identical agent capabilities can be found to builders as an extension for Visible Studio IDE.

Let’s begin by how the net expertise of AWS Remodel for .NET helps port lots of of .NET purposes at scale.

Internet expertise of AWS Remodel for .NET
To get began with the net expertise of AWS Remodel, I onboard utilizing the steps outlined within the documentation, check in utilizing my credentials, and create a job for .NET modernization.

Create a new job for .NET Transformation

AWS Remodel for .NET creates a job plan, which is a sequence of steps that the agent will execute to evaluate, uncover, analyze, and remodel purposes at scale. It then waits for me to arrange a connector to connect with my supply code repositories.

Setup connector to connect to source code repository

After the connector is in place, AWS Remodel begins discovering repositories in my account. It conducts an evaluation centered on three key areas: repository dependencies, required non-public packages and third-party libraries, and supported mission sorts inside your repositories.

Primarily based on this evaluation, it generates a beneficial transformation plan. The plan orders repositories in keeping with their final modification dates, dependency relationships, non-public package deal necessities, and the presence of supported mission sorts.

AWS Remodel for .NET then prepares for the transformation course of by requesting particular inputs, such because the goal department vacation spot, goal .NET model, and the repositories to be reworked.

To pick out the repositories to remodel, I’ve two choices: use the beneficial plan or customise the transformation plan by choosing repositories manually. For choosing repositories manually, I can use the UI or obtain the repository mapping and add the personalized record.

select the repositories to transform

AWS Remodel for .NET mechanically ports the applying code, builds the ported code, executes unit exams, and commits the ported code to a brand new department in my repository. It supplies a complete transformation abstract, together with modified recordsdata, check outcomes, and prompt fixes for any remaining work.

Whereas the net expertise helps speed up large-scale porting, some purposes might require developer consideration. For these circumstances, the identical agent capabilities can be found within the Visible Studio IDE.

Visible Studio IDE expertise of AWS Remodel for .NET
Now, let’s discover how AWS Remodel for .NET works inside Visible Studio.

To get began, I set up the newest model of AWS Toolkit extension for Visible Studio and arrange the conditions.

I open a .NET Framework resolution, and within the Answer Explorer, I see the context menu merchandise Port mission with AWS Remodel for a person mission.

Context menu for Port project with AWS Transform in Visual Studio

I present the required inputs, such because the goal .NET model and the approval for the brokers to autonomously remodel code, execute unit exams, generate a change abstract, and validate Linux-readiness.

Transformation summary after the project is transformed in Visual Studio

I can evaluation the code modifications made by the brokers regionally and proceed updating my codebase.

Let’s now discover a number of the key new capabilities added to AWS Remodel for .NET.

Assist for tasks with non-public NuGet package deal dependencies 
Throughout preview, solely tasks with public NuGet package deal dependencies have been supported. With common availability, we now assist tasks with non-public NuGet package deal dependencies. This has been probably the most requested options through the preview.

The characteristic I actually love is that AWS Remodel can detect cross-repository dependencies. If it finds the supply code of my non-public NuGet package deal, it mechanically transforms that as nicely. Nonetheless, if it might’t find the supply code, within the internet expertise, it supplies me the flexibleness to add the required NuGet packages.

AWS Remodel shows the lacking package deal dependencies that should be resolved. There are two methods to do that: I can both use the offered PowerShell script to create and add packages, or I can construct the applying regionally and add the NuGet packages from the packages folder within the resolution listing.

Upload packages to resolve missing dependencies

After I add the lacking NuGet packages, AWS Remodel is ready to resolve the dependencies. It’s finest to supply each the .NET Framework and cross platform .NET variations of the NuGet packages. If the cross platform .NET model will not be accessible, then at a minimal the .NET Framework model is required for AWS Remodel so as to add it as an meeting reference and proceed for transformation.

Unit check execution
Throughout preview, we supported porting unit exams from .NET Framework to cross-platform .NET. With common availability, we’ve additionally added assist for executing unit exams after the transformation is full.

After the transformation is full and the unit exams are executed, I can see the leads to the dashboard and look at the standing of the exams at every particular person check mission stage.

Dashboard after successful transformation in web showing exectuted unit tests

Transformation visibility and abstract
After the transformation is full, I can obtain an in depth report in JSON format that provides me an inventory of reworked repositories, particulars about every repository, and the standing of the transformation actions carried out for every mission inside a repository. I can view the pure language transformation abstract on the mission stage to know AWS Remodel output with project-level granularity. The abstract supplies me with an summary of updates together with key technical modifications to the codebase.

detailed report of transformed project highlighting transformation summary of one of the project

Different new options
Let’s have a fast have a look at different new options we’ve added with common availability:

  • Assist for porting UI layer – Throughout preview, you might solely port the enterprise logic layers of MVC purposes utilizing AWS Remodel, and also you needed to port the UI layer manually. With common availability, now you can use AWS Remodel to port MVC Razor views to ASP.NET Core Razor views.
  • Expanded connector assist – Throughout preview, you might join solely to GitHub repositories. Now with common availability, you possibly can connect with GitHub, GitLab, and Bitbucket repositories.
  • Cross repository dependency – When you choose a repository for transformation, dependent repositories are mechanically chosen for transformation.
  • Obtain evaluation report – You’ll be able to obtain an in depth evaluation report of the recognized repositories in your account and personal NuGet packages referenced in these repositories.
  • Electronic mail notifications with deep hyperlinks – You’ll obtain electronic mail notifications when a job’s standing modifications to accomplished or stopped. These notifications embrace deep hyperlinks to the reworked code branches for evaluation and continued transformation in your IDE.

Issues to know
Some extra issues to know are:

  • Areas – AWS Remodel for .NET is usually accessible immediately within the Europe (Frankfurt) and US East (N. Virginia) Areas.
  • Pricing – At present, there’s no extra cost for AWS Remodel. Any sources you create or proceed to make use of in your AWS account utilizing the output of AWS Remodel will likely be billed in keeping with their commonplace pricing. For limits and quotas, seek advice from the documentation.
  • .NET variations supported – AWS Remodel for .NET helps reworking purposes written utilizing .NET Framework variations 3.5+, .NET Core 3.1, and .NET 5+, and the cross-platform .NET model, .NET 8.
  • Software sorts supported – AWS Remodel for .NET helps porting C# code tasks of the next sorts: console utility, class library, unit exams, WebAPI, Home windows Communication Basis (WCF) service, MVC, and single-page utility (SPA).
  • Getting began – To get began, go to AWS Remodel for .NET Person Information.
  • Webinar – Be part of the webinar Speed up .NET Modernization with Agentic AI to expertise AWS Remodel for .NET by way of a stay demonstration.

– Prasad


How is the Information Weblog doing? Take this 1 minute survey!

(This survey is hosted by an exterior firm. AWS handles your data as described within the AWS Privateness Discover. AWS will personal the info gathered by way of this survey and won’t share the knowledge collected with survey respondents.)

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments