Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4.5 > BOOK: Beginning ASP.NET 4.5 : in C# and VB
Password Reminder
Register
| FAQ | Members List | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 24th, 2014, 02:17 PM
Authorized User
Points: 416, Level: 7
Points: 416, Level: 7 Points: 416, Level: 7 Points: 416, Level: 7
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2013
Posts: 84
Thanks: 29
Thanked 2 Times in 2 Posts
Default Ch 18-19 Exception Handling & Deployment

Hi Imar,

It's been a while. Asking this question in this forum instead of your newer forum since I used the 4.5 book.

Does what was taught in Ch 18-19 apply to MVC Web Application Projects? I didn't find much treatment of these topics in the MVC books I've read so far. Then it occurred to me that I probably learned what I needed to know in your book. Assuming what was taught in this book does apply, does it apply in detail/substance, or do I have to modify what was taught?

Thought you might comment on this for me.

Thanks.

Best Regards,
Alan
Reply With Quote
  #2 (permalink)  
Old September 24th, 2014, 03:44 PM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi Alan,

Yes, things like configuration settings, web deploy, config transformations and error handling all apply to MVC as well.

Is there any topic in particular you wanted to validate?

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!
Reply With Quote
  #3 (permalink)  
Old September 24th, 2014, 06:10 PM
Authorized User
Points: 416, Level: 7
Points: 416, Level: 7 Points: 416, Level: 7 Points: 416, Level: 7
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2013
Posts: 84
Thanks: 29
Thanked 2 Times in 2 Posts
Default

Hi Imar,

The default MVC 5 template sets things up very nicely and takes care of a lot of details like bundling/minimization, user data and authorization, etc. But it doesn't do everything, and obviously can't set configurations for a specific context. So I was trying to make checklist of what needs to be configured just to get the basic site up before I start 'filling it in'.

In response to your post, I guess the topic I'm interested in is making sure I have a checklist to go from the template to a production site. Here's what I came up with:
Code:
  Install ELMAH to the project

  In web.config:
  <customErrors> to handle unhandled exceptions
  <mailSettings> to send exception notification & general messaging
  <sectionGroup name="elmah"> to record exceptions
  <connectionStrings> to change the database connections for production

  Run SQL scripts on hosting server to create databases and transfer necessary data (not much)
  Setup the website publishing dialogue in Visual Studio
  Other assorted details like tracing off, etc.
That was my first take after reviewing your book's Ch 18-19. I was concerned that maybe I missed something in the 'more advanced' books, but it just wasn't there, so that's why I came back to the 'beginning' book, which in this case is actually more 'advanced'.

If you have any comments or suggestions they are most welcome.

Best Regards,
Alan

Last edited by AlanWheeler; September 24th, 2014 at 06:13 PM..
Reply With Quote
  #4 (permalink)  
Old September 27th, 2014, 09:20 AM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

The parts that deal with global configuration (through appSettings) could be added to that list as well.

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!
Reply With Quote
The Following User Says Thank You to Imar For This Useful Post:
AlanWheeler (September 29th, 2014)
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ch 19 Deployment, Running under IIS AlanWheeler BOOK: Beginning ASP.NET 4.5 : in C# and VB 2 April 11th, 2014 09:39 AM
Ch 18 Exception Handling AlanWheeler BOOK: Beginning ASP.NET 4.5 : in C# and VB 2 April 8th, 2014 12:30 PM
Ch 19 deployment success w/ VS2013! AlanWheeler BOOK: Beginning ASP.NET 4.5 : in C# and VB 1 February 17th, 2014 06:13 PM
Ch 18 Global exception handling AlanWheeler BOOK: Beginning ASP.NET 4.5 : in C# and VB 1 February 9th, 2014 08:17 AM
Exception Handling Tip - Ch. 18, p.695 Tulsi BOOK: Beginning ASP.NET 4 : in C# and VB 5 June 6th, 2013 10:34 AM



All times are GMT -4. The time now is 08:05 AM.


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