Wrox Programmer Forums
|
ASP.NET 4 General Discussion For ASP.NET 4 discussions not relating to a specific Wrox book
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 4 General Discussion section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 31st, 2011, 02:23 PM
Registered User
 
Join Date: Oct 2011
Posts: 18
Thanks: 0
Thanked 2 Times in 2 Posts
Question Will Site Run With .NET 3.5?

If you've created a web site with VWD 2010 on a development machine with .NET 4, and you transfer and implement this web site to a server with .NET 3.5, will it run, assuming you've used no features exclusive to .NET 4?
 
Old October 31st, 2011, 04:24 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

It depends on how you created the site. If you set it up for .NET 4 it won't work. If you set it for 3.5 it will .NET 4 adds stuff in web.config and other files that won't work in .NET 3.5

To be sure it's going to work, make sure you've selected .NET 3.5 on the project's Properties dialog in Visual Studio This creates a site in VS 2010 that tagets 3.5.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!





Similar Threads
Thread Thread Starter Forum Replies Last Post
how to access the other site information in Asp.Net web site arunkongara ASP.NET 4 General Discussion 1 July 28th, 2011 10:16 AM
ASP.net 2.0 site made by Chinese Edition can't run mycwcgr Internet Information Services 0 December 16th, 2007 12:20 AM
Problems getting Beginning 2.0 site to run Snuffles BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 1 February 3rd, 2007 08:07 PM
Error when trying to run site in debug mode Jgn BOOK: ASP.NET Website Programming Problem-Design-Solution 4 March 22nd, 2004 09:37 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.