Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > Other ASP.NET > BOOK: Beginning ASP.NET Web Pages with WebMatrix
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 December 22nd, 2015, 07:11 PM
Registered User
Join Date: Dec 2015
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default My Browser dont show the Code result made in Webmatrix.

I AM using the latest WebMatrix version (just installed it) and Windows 10

I tried this Code from the book :



<!DOCTYPE html>

<html lang="en">


<meta charset="utf-8" />




<h1>Welcome to WebMatrix</h1>

<p>I began to become a web developer on @DateTime.Now.ToString()</p>



When pressing F12 or run in order to see the result in a browser nothing happened. But I just found out that right-clicking on the Page.cshtml file in the left pane choosing "Launch in browser" resulted in this (expected) result in the browser:

Welcome to WebMatrix

I began to become a web developer on 22-12-2015 20:35:42

I Wonder why this not could be done just by pressing F12 or clicking Run in the Ribbon menu?? (as written in the book about WebMatrix I am reading trying to learn the stuff about WebMatrix and ASP.NET)

Best Regards Lars
Old January 10th, 2016, 12:27 PM
Imar's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts

Hi Lars,

That's odd indeed. Did you have the file open when you tried it?

Imar Spaanjaars
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 30th, 2016, 09:32 AM
Registered User
Join Date: Nov 2012
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Incorrect Directions in Book

When coding the first example in this book it didn't work for me. But I did get it to work by using a bit different way than what the book suggests.

After you install Web Matrix, when creating the first site be sure to create a new site from a template gallery. I picked Empty Site under the Templates area. This takes care of any IIS quirks starting with a usual website you might find.

After the website is created, I deleted the deafult CSHTML file. From here, I followed the directions in the book. Whenever you click "run" it appears that the WebMatrix software does not load the web page you are working on, it loads the root file which is either Default.cshtml or index.cshtml

Similar Threads
Thread Thread Starter Forum Replies Last Post
values dont show up on ASP page but exist in DB msoul Classic ASP Basics 2 September 3rd, 2008 02:03 PM
Document design mode image dont show in IE7 h2c357 Javascript 0 May 3rd, 2007 09:21 AM
Very beginner - Result didn't show in the browser not24 ASP.NET 1.0 and 1.1 Basics 7 February 22nd, 2005 12:08 PM
Show result from query akibaMaila VB.NET 2002/2003 Basics 2 January 18th, 2005 12:43 PM
Opera Browser bad display of web page made with Dr karib Dreamweaver (all versions) 15 July 11th, 2004 05:18 AM

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