I have project created in .NET 3.5 or 4 and wanted to migrate it on .NET 4.8. What is key difference between them? Also what parameter I should take care while migrating an application? I still don't have the source code but meanwhile what kind of measure I should take care?
Difference between .NET 4 and .NET 4.8
4.4k views Asked by Amey Chitale AtThere are 2 answers
Albert D. Kallal
On
Well, without the source code, then you can update the framework all you want, the compiled code is still going to point to, and use the older framework. So, without source code this idea is a non starter.
I have found that in most cases, the code will compile. But then again, you need the source code to compile.
So, upgrade from say 3.5 to 4.0, or 4.8? Useally VERY issue - and often zero code changes are reuqired. But then again, you would compile the code to find out if there is a issue or error in the code - and you would thus know in less then 10 seconds of your time.
But, messing around with the framework, and you don't have the original source code project and the ability to re-build that project from VS?
No, this idea makes ZERO sense without the original project and YOUR ability to re-build the project.
Since you don't have source code, then upgrading frame work not really going to help much, since existing compiled code will continue to point to the older framework anyway, and thus you not really upgrading anything at all, are you?
With souce code, the risk here is rather small. I betting that the project would compile and run by changing the project to .net 4.0, or better yet, 4.8.
you will certainly have to ensure that the web host and server has .net 4.8 installed on that server.
However, you need to be able to re-build that project from source code for this to be a workable up-grade.
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 VISUAL-STUDIO
- The current .NET SDK does not support targeting .NET Core 6.0. Brand new WPF Project VS Community 2022 17.9.5
- Dotnet Run is not working but the application is running in Visual Studio
- Is there a way to support Tailwind @apply in Visual Studio?
- How can I eliminate compile warnings using ZLib in Visual Studio
- C++(or Visual Studio) saving the file will not preserve the original file contents
- VS Community 2022 cannot install dotnet-ef when i try to publish
- Visual Studio 2022 convert spaces to tabs on checkout and back to spaces on checkin
- What should I do if Visual Studio has a restriction on creating files with a long name or a long path to these files?
- Command line error D8036 - not allowed with multiple source files with node-gyp and VS2022
- Migrate Old VS 2015 .suo file to the New VS 2022 DocumentLayout.json
- How to make one executable visual studio, that users can run?
- Use tabs instead of spaces in .csproj file in Visual Studio 2022
- Unity - scrollview/dragging breaks after specific scene inactivity
- How to make Visual Studio 2022 project launch Windows Terminal instead of PowerShell?
- Why is 'EDITBIN /STACK:2097152 w3wp.exe' cmd is giving me an LNK1342 error?
Related Questions in ASP.NET-4.0
- Infragistics WebDataGrid don't show in my host browser but show in VS
- fundamentally Is there any changes between the asp.net and sql-server with old .Net framework 3.5 to 4.8 in the 2023?
- Is there any changes between .Net framework 3.5 to 4.8 means fundamentals were changed of Asp.Net in the year 2023 or not?
- Difference between .NET 4 and .NET 4.8
- Application state asp.net
- Integrate Azure Key Vault with ASP.NET 4.0
- InvalidOperationException: Client found response content type of '', but expected 'text/xml'. The request failed with an empty response
- how to connect localhost wcf service with asp.net 4.0
- ASP.net 4.0 Framework application embedded with in WSS 3.0
- Register Externally hosted app in PCF Service Registry
- Error when trying Stream.Write several times in C# net 4.0
- how to make inner join query for getting multiple tables selected column
- How to get image from web cam and store in a SQL Server varbinary(max) column
- a href link not work properly at local project
- Error while getting records from stored procedure
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
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?
Popular Tags
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)
First of all, I suggest you to read .Net Framework 4.8 announcement.
after that read about migrating projects to .Net Framework 4.8 and pay attention to the migration resource section.