 |
BOOK: Beginning ASP.NET 4.5 : in C# and VB
 | This is the forum to discuss the Wrox book Beginning ASP.NET 4.5: in C# and VB by Imar Spaanjaars; ISBN: 978-1-118-31180-6 |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: Beginning ASP.NET 4.5 : in C# and VB 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
|
|
|
|

March 3rd, 2014, 01:32 PM
|
Authorized User
|
|
Join Date: Nov 2013
Posts: 84
Thanks: 29
Thanked 2 Times in 2 Posts
|
|
Versions of asp.net
Hi Imar,
When we create websites we select which framework we want to use in the opening dialogue box. The book simply had us work with 4.5.
Is there any reason one would chose an earlier version?
When we use the later framework it makes it easier for us to design and code, yes? But does that create any problems for potential users of our website? Would selecting an earlier framework 'make life easier' for anyone who would come to the site, or is it really just a design environment factor?
Thanks.
Best Regards,
Alan
|

March 5th, 2014, 06:55 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
>> Is there any reason one would chose an earlier version?
For backwards compatibility reasons (for example when you can't upgrade the production server). Also, not all hosts support all new versions immediately.
When I start a new project, I typically use the latest available version if the target server supports it too.
Users will typically not notice the difference; although of course new versions bring new functionality and features that you could use.
Cheers,
Imar
|

March 5th, 2014, 01:09 PM
|
Authorized User
|
|
Join Date: Nov 2013
Posts: 84
Thanks: 29
Thanked 2 Times in 2 Posts
|
|
Hi Imar,
I think I'm still missing a point.
Is the version of .net only related to (1) how we program a site, and (2) as you added above, the capability of the production server?
In other words, if I program in 4.5, and obviously the production server has 4.5, does that have ANY impact on the ultimate end user who views the site? Do they need something 'more' on their PC to view a site created with 4.5 as opposed to 2.0?
I'm presuming not because at the end of the process, a page with HTML and script is sent, and the asp.net version is no longer a factor when the page is received. Is that correct?
I just needed to get confirmation on this point. If I missed that in the book I apologize.
Best Regards,
Alan
|

March 6th, 2014, 06:31 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Quote:
Is the version of .net only related to (1) how we program a site, and (2) as you added above, the capability of the production server?
|
Both. Newer versions offer more features and capabilities, but you need to have that version on the server as well in order to deploy / run your site on that server.
Quote:
In other words, if I program in 4.5, and obviously the production server has 4.5, does that have ANY impact on the ultimate end user who views the site? Do they need something 'more' on their PC to view a site created with 4.5 as opposed to 2.0?
|
No. All this happens on the server. All clients need is a browser, as ultimately, everything ends up as HTML / CSS / JavaScript in the browser.
Quote:
I'm presuming not because at the end of the process, a page with HTML and script is sent, and the asp.net version is no longer a factor when the page is received. Is that correct?
|
Indeed
Quote:
I just needed to get confirmation on this point. If I missed that in the book I apologize.
|
Take another look at chapter 1; it shows what happens when a page gets processed at the server and gets sent to the client.
Cheers,
Imar
|
|
 |
|