I'm Writing A Book On WebMatrix

Yes - it's official! I'm writing a book for Wiley all about Microsoft's new stack for beginner web developers - WebMatrix.

Launched just a few days ago, WebMatrix is already providing a lot of fuel for Tweeters - the vast majority of it very encouraging and positive, and some of it, well... uneducated, let's say. Regular visitors to this site will notice that I have been playing with WebMatrix since its first Beta release, and just like former Microsoft ASP.NET MVC Guru, Rob Conery (who's not shy in telling Microsoft when he thinks they have goofed), I believe that Microsoft have got WebMatrix just right.

Beginning ASP.NET Web Pages with WebMatrix will be published later this year - in September to be more precise. I am being supported by my good friend Imar Spaanjaars, a fellow ASP.NET MVP and first rate author of highly successful ASP.NET books, such as Beginning ASP.NET 4: in C# and VB. The book will target those who are completely new to web development, as well as their educators, but it will also appeal to bods who have a little web development experience away from ASP.NET, or those who found ASP.NET Web Forms or MVC all a little too daunting. It should also appeal to experienced ASP.NET developers who would like some "fun" injected into their web development again.

The book will cover:

  • What WebMatrix is all about
  • An introduction to HTML and CSS
  • Designing your pages and site
  • Programming with the Razor syntax
  • Using the Package Manager
  • AJAX with jQuery
  • Data and Databases
  • Securing your site
  • Optimising (I mean Optimizing - I have to write in American now...) your site for SEO
  • and more...

If there is anything in particular that you would like to see the book cover, let me know by using the comments form at the bottom of this page.

In the meantime, I have a busy few months ahead of me, so if I'm not posting new articles as regularly as I usually do, now you know why.

Date Posted: Tuesday, January 18, 2011 7:27 PM
Last Updated: Saturday, January 22, 2011 1:55 PM
Posted by: Mikesdotnetting
Total Views to date: 8666

22 Comments

Tuesday, January 18, 2011 7:55 PM - Mike Ferguson

Great news Mike! I look forward to picking it up.

You've mentioned there will be a chapter(s) on databases and security. I'd really like to see how one goes about creating the simple membership provider in MySQL. Yes, I'm wrestling with it right now :)

I always enjoy your articles on WebMatrix - keep up the good work.

Wednesday, January 19, 2011 5:49 PM - Max-B

Really happy for this - and for you!

You are doing a great work with this "framework" and I think the resulting book will be good

Saturday, January 22, 2011 2:43 PM - jean-claude

Put me down for a copy, please!

Sunday, January 30, 2011 1:16 PM - naveenj

wow mike... can't wait!

Saturday, February 5, 2011 5:21 PM - Sean O'Keeffe

Mike the book sounds fantastic! i think the Razor syntaxes should be as in depth as possible, if not the main "meat" of the book.

P.S its fine i like the work optimising

Saturday, February 5, 2011 11:07 PM - Mike

@Sean

Razor is just a wrapper around C#. I will cover the basics of C# in the book, and how to use Razor. However, I would always recommend learning C# properly for anyone wanting to do more than the very basics. There are quite a number of good C# books around.

Sunday, March 6, 2011 4:44 PM - John Hastings

I know the whole world is going to C# and only a few of us dinosaurs are still using VB, but would it be so hard to put some VB in the book? Us old coots would really appreciate it.

Sunday, March 6, 2011 6:11 PM - Mike

@John,

The book will be in C#. There is a limit to the size of the book (∛production costs / price ± likely potential copy sales or some similar formula) which means I can either include coverage of VB at the expense of content, or stick to C# and write in more depth. As it is, I'm struggling to keep to some of the chapter pagination budgets :o)

Tuesday, March 8, 2011 8:41 PM - Robby

Outstanding! If you would like a "dummy" sounding board off of which to bounce your draft chapters, I would be happy to do so. I am very much a tyro in C#, am involved in a web project using WebMatrix, and keenly aware of the erroneous assumptions some authors make about the depth of the readers' experience.
Given that I am (at least it seems to me) pretty much squarely in the dead center of the target audience for WebMatrix and Razor, I should be able to make a contribution of some value.

Thursday, March 17, 2011 7:06 PM - mike gil

Your articles are terrific and I'm looking forward buying your book. I'm already reading Imar's book (as you suggest above) but have one basic question that might help all us "newbies" until your book does come out:

Can you use most of what is in Imar's ASP.NET book (ie: Controls, JQuery, .Net Ajax) with WebMatrix?

I get the impression that you can and that WebMatrix is just a more simplified framework than ASP.NET and is the stepping stone to MVC.

Thursday, March 17, 2011 8:37 PM - Mike

@mike

You can use Server Controls etc in WebMatrix, but I wouldn't recommend it. Use Visual Web Developer Express instead. WM doesn't include any design time support, for one thing, and is intended primarily for developing using ASP.NET Web Pages rather than Web Forms.

Tuesday, March 22, 2011 5:58 PM - Frank Wannall

When will the book be published?

Wednesday, March 23, 2011 6:14 AM - Mike

@Frank,

The current publication date is the end of October 2011.

Sunday, April 10, 2011 4:29 AM - Jeff Rogers

I look forward to the publish date. I think readers for eBooks and similar popular technologies would make good example projects for your readers. It would be nice to see some real world examples that could be adopted and built upon.

Tuesday, April 12, 2011 4:11 PM - antony

I like all books i read but i find a little pity thing who i never love especially in MSFT press book.

they hide [not show] firebug whenever they light on IE dev tool. the feature IE dev not have why they trying to show as best.

we know MSFT make IE and IE dev tool [their is another matter i know that it's unperfect]

but why MSFTian abuse MySQL , chrome and many other things when they have minus point and have a plus point in their own product.

i have no problem why they abuse but what kind of stupidity it is they talk loud when something they have better then others.

this kind of thing teach a lesson that [beware of MVP especially from corporate like Microsoft]

because Microsoft never talk about that something they not have perfect and talk loudly if they have something better. this thing not only depend on Microsoft. all other corporate have same fundamentals.

so can you sure that you write this book naturally ?

Tuesday, April 12, 2011 4:57 PM - Mike

@antony

I'm not writing an MS Press book. Beyond that, I don't work for Microsoft or understand the rest of your comments. Maybe you should check your facts?

What do you think my relationship with Microsoft is? They gave me an award, but they don't tell me what to do.

Thursday, March 7, 2013 3:05 PM - Don Schwirtlich

Your book is one of the few that I have purchased both a kindle and hardcopy version. It and along with the spread of asp tutorials at asp.com, are awesome. I am an experienced programmer - but a newbie at web dev. thanks much.

Monday, March 18, 2013 4:58 PM - Matt

Hi Mike
I'm new to MW and really trying to embrace it. I've got a book at the moment which says how to add textboxes, buttons etc but you comment above says this. I'm a still very new if you could explain a bit more about how to write forms in ASP (sorry I get very easily confused with me being new to MW and trying to avoid Visual Studio if I can !!) :-

17 March 2011 20:37 from Mikesdotnetting

@mike

You can use Server Controls etc in WebMatrix, but I wouldn't recommend it. Use Visual Web Developer Express instead. WM doesn't include any design time support, for one thing, and is intended primarily for developing using ASP.NET Web Pages rather than Web Forms.

Wednesday, March 20, 2013 9:26 PM - Mike

@Matt,

Server controls belong to the Web Forms development model. WebMatrix is designed for the Web Pages framework. They are completely different ways of developing web applications based on ASP.NET.

Friday, April 5, 2013 12:19 PM - Satyabrata Mohapatra

Sir,
Today i got the book "Beginning ASP.NET Web Pages with WebMatrix". It is a fantastic book !! Good for both beginners and seasoned developers.

Friday, June 27, 2014 12:27 AM - John

I am thoroughly enjoying your book. It is exactly what I needed to learn to use WebMatrix. However, I am having a problem getting the ListCars.cshtml to work. When I click the Get Cars button, nothing happens. I have checked all the code against what you have in the book, but still no luck.
I'm not sure if this is the right place to ask this question, but if you can let me know if the code in the book is know to run, I would appreciate knowing that.
Thank you, again for a great book!

Saturday, June 28, 2014 9:03 AM - Mike

@John,

You really need to post your question to a forum like this one
Add your comment

If you have any comments to make about this article, please use this form to do so. Make sure that your comment relates specifically to the article above. More general comments can be posted through the form on the Contact page.

Please note, all comments are moderated, and some may not be published. The kind of things that will ensure your comment is deleted without ever seeing the light of day are as follows:

  • Not relevant to the article
  • Gratuitous links to your own site or product
  • Anything abusive or libellous
  • Spam
  • Anything in a language I don't understand including gibberish.

I do not pass email addresses on to spammers, so a valid one will assist me in responding to you personally if required.