Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I have a web application which is .Net Framework 3.5.The requirement is to convert the entire application into Framework 4. I want to know how to proceed and what are the possible issues.Can any one help me.

Thank you,
karthik.
Posted

WebRequest webRequest = WebRequest.Create(url + "StockInformationHandler.ashx?{\"Type\":\"getstockprice\",\"arr\":\"" + string.Join(",", isins) + "\"}");
WebResponse webResponse = webRequest.GetResponse();
Stream responseStream = webResponse.GetResponseStream();
MemoryStream memoryStream = new MemoryStream();
responseStream.CopyTo(memoryStream);
JavaScriptSerializer ss = new JavaScriptSerializer();
return ss.Deserialize<list><symboldata>>
 
Share this answer
 
There is not need to convert anything specifically: Framework 4.0 is backward-compatible with 3.5. In your assemblies, you can change the target. If you open 3.5 solution with VS 2010, the solution and all project files will be converted automatically, with your permission.

—SA
 
Share this answer
 
Comments
Ankur\m/ 5-Apr-11 2:30am    
Absolutely correct!
Sergey Alexandrovich Kryukov 5-Apr-11 2:31am    
Thank you.
--SA
prashant patil 4987 1-Jan-13 4:21am    
right
Sergey Alexandrovich Kryukov 1-Jan-13 12:20pm    
Thank you, Prashant.
—SA
Go to The Project

Right Click On that -> ProperyPages -> Build ->
Click Target Framework Select Dropdown Then Ok.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900