I have an older ASPX Web application that I need to upgrade from .net 3.5 to 4.8.1 because we need to move to Windows Server 2022. I am having a hard time finding good resources online around this. Can someone point me at any good articles or give me some steps here?
Issues converting ASPX Web app from .net 3.5 to 4.8.1
147 Views Asked by kyleb At
1
There are 1 best solutions below
Related Questions in ASP.NET
- Implementing Azure AD B2C Authentication in .NET 8 Blazor Project (RenderMode: InteractiveAuto)
- Azure Application Insights Not Displaying Custom Logs for Azure Functions with .NET 8
- IIS Rewrite Module exclude bots but allow GoogleBot
- Angular 16 sending null values to API
- I am the domain admin, newbie, how do I connect youtube.com on my domain?
- Dropdown list showing SQLServer2005SQLBrowserUser$DONSERVER instead of Active Directory group name in ASP.NET MVC C#
- ASP.NET Identity, Losing Ability to Login until Application Pool Recycles
- How to unprotect ASP.NET FormAuthentication cookie
- How does it work using ASP.NET FormAuthentication
- What is the purpose of a completely standalone 'this'?
- Is there a way to read .csproj PropertyGroup variable in c#
- MSBuild trying to copy different dll with similar name into project sporadically
- Minimizing IdentityServer4 Round Trips in Microservice Architecture with Ocelot
- Azure AD guest account in web app authentication user claims data
- Receiving 400 bad request on post when customer auth handler is used
Related Questions in .NET
- file download method in visual studio 2017
- Repository manager receives the wrong connection string in .net core
- MongoDb not connecting C#
- The current .NET SDK does not support targeting .NET Core 6.0. Brand new WPF Project VS Community 2022 17.9.5
- Why Scanning GSI on DynamoDb doesnt work as fast as expected when using CONTAINS?
- Are "blittable types" really unmanaged types for StructLayout Sequential
- Failed to fetch dynamically imported module on Blazor JS Interop
- Problem to upload several images per one request
- Implementing Azure AD B2C Authentication in .NET 8 Blazor Project (RenderMode: InteractiveAuto)
- Stripe connect payout - throws exceptions
- 'IOException: The cloud file provider is not running', when trying to delete 'cloud' folder
- Azure Application Insights Not Displaying Custom Logs for Azure Functions with .NET 8
- Convert C# DateTime.Ticks to Bigquery DateTime Format
- Socket.io nodejs server .NET connection
- Producer Batching Service Bus Vs Kafka
Related Questions in UPGRADE
- Problem on upgrading Laravel 9 to Laravel 10
- Insight: Deprecated APIs removed in Kubernetes v1.29
- Upgraded C# MVC project EF 4.7.2 to .net Core 8.0
- Cannot upgrade to syncElegantOTA v3 in platformIO
- How to export Parties and Agreements from BizTalk Server 2013 R2?
- ModuleNotFoundError after upgrade
- getTypeName method when updating from Hibernate core v5 to v6
- Missing Private Key after updating Node
- How to change height and width in mat-form-field
- C# WPF Menu no longer works after upgrade project to SDK style
- Symfony AssertionError: assert($mapping instanceof ManyToManyOwningSideMapping)
- Service.startForeground() issue in Android 14
- Compatibility Problem after Update from Xamarin.Forms to .Net MAUI
- How to solve Jenkins 2.361.4 start with ProjectMatrixAuthorizationStrategy error?
- TYPO3 v11: upgrade to PHP8 breaks the page completely
Related Questions in ASP.NET-3.5
- How to bind date in 24 hour format in ms chart
- Why are there two sets of Build and Rebuild options in my ASP.NET project?
- Can Telerik Themes be assigned to the BackColor property of elements?
- Show progress bar while downloading excel
- How to debug a HRESULT: 0x80131047 compile error
- DLL comparison to confirm If same source code is used
- Asynchronous operation exception if I want to create an instance of a class
- IIS7/8 and .asmx/<methodname> giving 404
- Unit Testing methods that delete multiple files from a specified directory using NUnit
- Assign static variable inside Class
- How to dynamically add and remove list item in asp.net web form?
- how to insert record to multiple tables with multiple file with linq2sql
- what's the difference between ASP.NET controls and Html.helpers in ASP.NET MVC?
- None of my "code behind" code is being called
- Master page issue in asp.net after publishing
Related Questions in ASP.NET-4.8
- trying to get value from secret file .NET 4.8 (VB)
- Cost saving recommendations and best practices for Azure
- Nservicebus and sqlite
- Web deployment task failed. Web Deploy experienced a connection problem with the server and had to terminate the connection - Azure App Service
- Have Cors error just for Post request in ASP.NET Web API on .NET 4.8
- What is the effect when enabling the Async page tag .NET framework 4.8 web forms?
- Issues converting ASPX Web app from .net 3.5 to 4.8.1
- Unable to replace localhost with 127.0.0.1 in URL
- Whisper .net in .Net 4.7.2 is not able to transcribe audio
- When I tried build the my solution I am getting build errors and I already added those dll's in my project also
- How to resolve Webpack Exception on new machine
- Is there a reason to run a Task within another Task?
- WebForms iFrame issue post ASP.NET 4.5
- Application error after upgrading from .net3.5 to .net 4.8 framework
- C# Create URI from string without decoding %2F as a forward slash
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?

Ok, so we assume that the .net 3.5 site builds from Visual Studio, correct?
so, why not change the .net framework to 4.0, and see if the project builds.
So, this:
If the project builds?
Then change to 4.8.1
If the project also then builds, then you are quite much done.
So, the first goal is to ensure that the project builds fine as .net 3.5.
If that works, then try 4.0, and build again.
And as noted, if 4.0 works, then try building with 4.8.1
If the project builds, then you just upgraded and are now running 4.8.1.
I find in many cases, that 3.5 applications often upgrade very easy, and a good number of them only required changing the framework and a building the application.
It not clear why many are suggesting that a lot of effort is required for such upgrades, and in the past I have found that a simple upgrading of the project framework from 3.5 to 4.0 and building works fine.
As noted, if the project builds with .net 4.0, then try 4.8.1.
If the project builds, then you just upgraded to .net 4.8.1, and no further code changes are required.
If the projects builds, then try running and testing it. If the project builds and runs? Then this simple change of the .net framework is all you require.