Wrox Programmer Forums
|
BOOK: Beginning ASP.NET Web Pages with WebMatrix
This is the forum to discuss the Wrox book Beginning ASP.NET Web Pages with WebMatrix by Mike Brind, Imar Spaanjaars ; ISBN: 978-1-1180-5048-4
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET Web Pages with WebMatrix 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 May 1st, 2012, 07:44 PM
Registered User
 
Join Date: Mar 2012
Posts: 8
Thanks: 2
Thanked 0 Times in 0 Posts
Default Webmatrix webpage not getting rendered.

Hi Imar

I have deployed my site. Now when i go to the link, I see plain html page with the @{} code block in which we specify the layout page link. please see the image below.

http://blog.kapilsemwalphotography.com/

Thanks.
 
Old May 2nd, 2012, 02:31 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

It looks like your host is not processing the cshtml page, but sending them as palin text directly.

Are you sure the necessary components are installed on the remote server?

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!
 
Old May 2nd, 2012, 04:54 AM
Registered User
 
Join Date: Mar 2012
Posts: 8
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Hey Imar can you let me know the pre-requisiotes.. for the same or suggest me some hosting provider which ypu prefer...


Thanks.
 
Old May 2nd, 2012, 05:16 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Did you check out Chapter 14? If I am not mistaken, this should all be in there.... (Not sure, as Mike wrote that chapter).

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!
 
Old May 2nd, 2012, 06:10 AM
Registered User
 
Join Date: Mar 2012
Posts: 8
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Thanks Imar Got the solution. I thought you would prefer someone else. No probs will try with those hosting first.


Thanks For ur valuable time.
 
Old May 2nd, 2012, 06:15 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Quote:
I thought you would prefer someone else.
I usually don't use external hosts for deployment. Most of the apps I built are installed in-house or run on dedicated hardware. That makes it a bit hard for me to recommend hosts....

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:
kunalgore87 (May 2nd, 2012)





Similar Threads
Thread Thread Starter Forum Replies Last Post
WebMatrix Beta 2 Anyone? jpjamie BOOK: Beginning ASP.NET Web Pages with WebMatrix 7 September 24th, 2012 02:57 PM
Unable to install WebMatrix wjprice BOOK: Beginning ASP.NET Web Pages with WebMatrix 1 January 4th, 2012 09:59 AM
Webmatrix chapter 3 jdelpay ASP.NET 1.0 and 1.1 Basics 0 October 18th, 2004 02:35 PM
Dreamweaver and webmatrix paggy Dreamweaver (all versions) 0 March 10th, 2004 03:30 AM





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