 |
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
|
|
|
|
|

November 26th, 2013, 02:47 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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
|
|

November 26th, 2013, 09:47 AM
|
|
Authorized User
|
|
Join Date: Dec 2011
Posts: 86
Thanks: 20
Thanked 3 Times in 3 Posts
|
|
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.
|
|

November 26th, 2013, 02:19 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi Dave,
I just answered your SO question. Let me know if you need more help.
Cheers,
Imar
|
|
The Following User Says Thank You to Imar For This Useful Post:
|
|
|

November 26th, 2013, 03:39 PM
|
|
Authorized User
|
|
Join Date: Dec 2011
Posts: 86
Thanks: 20
Thanked 3 Times in 3 Posts
|
|
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.
|
|

November 26th, 2013, 09:07 PM
|
|
Friend of Wrox
|
|
Join Date: May 2011
Posts: 411
Thanks: 13
Thanked 7 Times in 7 Posts
|
|
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.
|
|

November 26th, 2013, 09:20 PM
|
|
Friend of Wrox
|
|
Join Date: May 2011
Posts: 411
Thanks: 13
Thanked 7 Times in 7 Posts
|
|
Quote:
Originally Posted by Imar
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.
|
|

November 26th, 2013, 09:22 PM
|
|
Authorized User
|
|
Join Date: Dec 2011
Posts: 86
Thanks: 20
Thanked 3 Times in 3 Posts
|
|
VS2013
Quote:
Originally Posted by vbboyd
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.
|
|

November 26th, 2013, 10:17 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
>> 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
|
|

November 26th, 2013, 10:19 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
>> 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
|
|

November 26th, 2013, 10:22 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
>> 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
|
|
 |
|