Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
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
  #21 (permalink)  
Old November 26th, 2013, 02:47 AM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

There are a few external applications available for this, some open source, some commercial. I used one built on ASP.NET MVC a number of times.

It's relatively simple to build your own, so if you want to jump into this space, it looks like you're likely to find willing customers ;-)

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!
  #22 (permalink)  
Old November 26th, 2013, 09:47 AM
Authorized User
Points: 353, Level: 6
Points: 353, Level: 6 Points: 353, Level: 6 Points: 353, Level: 6
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2011
Posts: 86
Thanks: 20
Thanked 3 Times in 3 Posts
Default EF 6 and ListView

Hi Imar,

I'm trying not to bother you with questions that really pertain to your upcoming book, but I'm also going a bit crazy trying to use VS2013 with EF6 and some of the new features. You suggested the new SelectMethod way of getting data for controls like ListView and I really do like that approach - I can see where it will give a lot more control over data. But, it's like MS put this stuff out there and never bothered to provide any tutorials on how to use it - which probably means your book will sell like hotcakes on Sunday morning!

Anyway, if you get a chance, here is a post of mine (so far) getting no response:

http://stackoverflow.com/questions/2...w-selectmethod

VS2013 provided the sub for the update method and it obviously coordinates with that sub at update time via DataKeyNames. As I have the value for an item in that row, I suppose I can use some variation of FindControl to hunt down the row and the other fields in that row and then proceed with a DB update. But, that hardly seems like an improvement over what I could have done before. It seems like MS must of had in mind some simpler way of accessing the fields in the row that where the update button was just clicked - otherwise why provide this new "method" approach.

As always, any help much appreciated.
  #23 (permalink)  
Old November 26th, 2013, 02:19 PM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi Dave,

I just answered your SO question. Let me know if you need more help.

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!
The Following User Says Thank You to Imar For This Useful Post:
daveharney (November 26th, 2013)
  #24 (permalink)  
Old November 26th, 2013, 03:39 PM
Authorized User
Points: 353, Level: 6
Points: 353, Level: 6 Points: 353, Level: 6 Points: 353, Level: 6
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2011
Posts: 86
Thanks: 20
Thanked 3 Times in 3 Posts
Default Perfect!

I sometimes think you're the only person on the planet who knows all this stuff! So, thanks very much.

I'll work through the tutorial you mentioned on SO before I get back to my website.
  #25 (permalink)  
Old November 26th, 2013, 09:07 PM
Friend of Wrox
Points: 1,905, Level: 17
Points: 1,905, Level: 17 Points: 1,905, Level: 17 Points: 1,905, Level: 17
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2011
Posts: 411
Thanks: 13
Thanked 7 Times in 7 Posts
Default My two cents

Model Binding concepts are very heavily used with MVC. Has Microsoft already come out with the final release version of VS 2013? Really? That soon? Again I am wondering if you can install VS2013 on the same box that has VS2012 and VS2012 installed them and have them play well together without having clashes or problems.
  #26 (permalink)  
Old November 26th, 2013, 09:20 PM
Friend of Wrox
Points: 1,905, Level: 17
Points: 1,905, Level: 17 Points: 1,905, Level: 17 Points: 1,905, Level: 17
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2011
Posts: 411
Thanks: 13
Thanked 7 Times in 7 Posts
Default

Quote:
Originally Posted by Imar View Post
That's because VS 2013 was only released a few weeks ago, long after the book came out ;-)

Great. I think I have tackled all issue (working on the last chapter - 19 - at the moment), so I should be able to help you out in case you run into issues.

Amazon says March, but I am working hard to get it done sooner. Not sure if that's possible as much of it depends on processes that place after I sent in my final files.

If the issue is fully resolved, can you mark my reply at SO as the answer?

Cheers,

Imar
Any chance at maybe seeing some mobile application development in your new book? That is the hot ticket right now, as I am sure that you are aware. I do Google Analytics on all of my websites that I make for people (I have over 18 websites out there today) and I have noticed that about 40 to 50 percent of the web traffic coming to the websites are smart phone, hand held devices. .Net developers can't afford any longer to ignore that sector of the market. It has become far too pervasive and too big to just ignore. The younger teen and twenty somethings for the most part are going almost exclusively to hand held devices. That is what all the marketing research is showing.
  #27 (permalink)  
Old November 26th, 2013, 09:22 PM
Authorized User
Points: 353, Level: 6
Points: 353, Level: 6 Points: 353, Level: 6 Points: 353, Level: 6
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2011
Posts: 86
Thanks: 20
Thanked 3 Times in 3 Posts
Default VS2013

Quote:
Originally Posted by vbboyd View Post
install VS2013 on the same box that has VS2012
I was worried about the same thing but so far no problems both VS2010 and VS2013 - I never installed VS2012. actually having both has been extremely useful as I'm trying to do a major upgrade of my site and a transfer to a number of new technologies (new for me at least). I frequently have both of them running at the same time. I've had a few instances where VS2013 has hung up and had to be killed by task manager - but no harm was done to work in progress (this was supposed to be a pun).

OTOH, I wound up totally uninstalling SQL Svr 2008 to get the 2012 version running smoothly. Probably a more skilled programmer could get around this - I just didn't want to take the time dealing with the problems - and back-up restore worked pretty well between the two version.
  #28 (permalink)  
Old November 26th, 2013, 10:17 PM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

>> Any chance at maybe seeing some mobile application development in your new book?

No. The Web Forms framework and its controls don't always play well with good responsive design principles. If you want to see how Microsoft handles this, just install VS 2013 and look at the default web site template. They use Bootstrap and don't use their own controls like Menu or TreeView as they don't work with Bootstrap.

>> Has Microsoft already come out with the final release version of VS 2013? Really?
>> Again I am wondering if you can install VS2013 on the same box that has VS2012 and VS2012 installed them

Do you ever use Google, Bing or what have you? You can answer questions like these in a split second yourself.

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!
  #29 (permalink)  
Old November 26th, 2013, 10:19 PM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

>> Probably a more skilled programmer could get around this

VS and other applications by default use an instance of SQL Server called Express. There can be only one instance with that name. So, uninstalling 2008 and installing 2012 gives you an Express instance of 2012 and everything just continues to work. If you want to have multiple versions side by side, yo can (I run 3 or 4 instances simultaneously). However, you'll then need to refer to the other instances by a different name which means you'll need more configuration for your applications.

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!
  #30 (permalink)  
Old November 26th, 2013, 10:22 PM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

>> I sometimes think you're the only person on the planet who knows all this stuff! So, thanks very much.

Haha, just Google and you'll see there are many, many more who know this stuff.

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
PHP, Original PHP, Mysql and Apacher versions used in the book Sam321 BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 1 August 12th, 2012 07:07 AM
Different Versions of IE South Side Rob BOOK: CSS Instant Results 1 February 26th, 2009 06:05 PM
VS versions??? SKhna Javascript 1 February 4th, 2008 03:27 PM
Book Versions MER78 BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 1 September 24th, 2004 02:56 PM
Java Versions? maayub J2EE 4 August 22nd, 2003 05:29 AM





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