Microsoft WebMatrix

1/12/2012

There seems to be so much coming out of Microsoft at the moment that it’s hard to keep up.  One thing that you might have missed is WebMatrix.

WebMatrix is a lightweight IDE for building websites.  It uses the Razor View Engine to make pages and the sites can be expanded to use full ASP.NET MVC later if required.  It has a rock star package manager process (more on this later) and has some nice things out of the box like SEO hints.

There is a gallery with asp.net and Php (did i mention that you can build Php sites?) applications like Twitter helpers, BlogEngine.Net etc.  It also ships with some basic templates like a store application.

So what’s different?  Well the data access is well data access.  No ORM, no config, no plumbing just access your data.  It kind of feels nice to write queries again.

Rob Conery has a great write up of WebMatrix here.  Here is a quote from Rob

var db = Database.Open("TDL");

var selectQueryString = "SELECT * FROM Articles";

shows = db.Query(selectQueryString, slug);

Hooray for SQL! OK stay with me – what this returns is IEnumerable < dynamic >. Which means that it’s typed on the fly – DUCK FRICKIN TYPING. Well sort of. I can now loop this comme ca:

@foreach(var show in shows){

The title is @show.title

}

That’s Razor in action – a terse, easy to love and understand markup for working in WebMatrix. The point here is that “show.Title” shouldn’t exist – “Show” isn’t a class anywhere in my project. This is the Groovy Dynamic Freakshow that’s built into C# 4.0.

You also get built in tooling for SQL CE (file based) which is downloaded with WebMatrix.

When you 0pen WebMatrix, you will see the box below

image

 

Choose templates and Starter site, give your site a name

image

Click Files

image

and open the Styles and css file and you will see the designer.  It’s a little bit “I know that you are not a serious dev so I have made the font large and friendly” but stay with it.  Have a look around it should be familiar

image

Package Mgr

Add an _admin to the end of your url when running in a browser and the package manager will appear

image

Once you have entered your password  you can see what packages that you have installed.  Here are mine

image

Change the dropdown to online and you will see

image

all of the packages that you can download!

Anyway I am just getting started – more to come!

Download it now and give it a try – Download WebMatrix

1/12/2012

22 comments :

  1. Really ,this blog is very helpful for the students who want to do industrial training.
    Thanks for sharing.
    6 Months Industrial Training

    ReplyDelete
  2. This comment has been removed by a blog administrator.

    ReplyDelete
  3. LATEST Phen375 Coupons and Discount Coupon Code Update, The #1 Specially Formulated To Increases Body's Fat Burning Ability. Find latest deals and promo codes at Phen375 Coupons

    ReplyDelete
  4. VigRX Plus Review: YOU NEED TO READ THIS NOW! If you're thinking about trying VigRX there are things you must know before you even try this male enhancement pills. http://www.vigrxplusguide.com/

    ReplyDelete
  5. Capsiplex Is a Top rated Strength Fat Burner & Natural Diet and Weight Loss Supplement

    ReplyDelete
  6. Phenq Diet Plan helps to Supercharge energy levels, burn extra fat, suppress appetite & start losing your weight. Buy PhenQ and save with our discount offer!

    ReplyDelete
  7. Why Zetaclear Is The Best Treatment for Toenail Fungus. Read expert and consumer reviews and compare zeta clear to other fungus relief solutions.

    ReplyDelete
  8. Looking for proven, effective Dianabol for Sale without side effects? Discover premium Dbal-Max Pills currently helping guys build mass safely. http://www.dbalmax-reviews.com/

    ReplyDelete
  9. I am really surprised with this topic. Keep up the good work and post more here to read.
    PhenQ Diet Pills
    PhenQ Diet Pills
    PhenQ

    ReplyDelete
  10. Crazybulk D-bal Review (SAFE DIANABOL FOR SALE) - Looking for the best steroid alternatives that produce anabolic steroid results? Check out this CrazyBulk Dianabol review! 

    ReplyDelete
  11. Breast Actives
    is a 3 step all natural solution for breast enlargement, combining breast pills, cream and a breast exercise and massage program.http://www.breastactivesbuy.com/

    ReplyDelete
  12. Phenq Diet Plan helps to Supercharge energy levels, burn extra fat, suppress appetite & start losing your weight. Buy PhenQ and save with our discount offer!

    ReplyDelete
  13. " smart drugs Smart Drug Smarts is for people who want to keep up on the latest breakthroughs in brain health and optimization and the related areas of neuroscience. http://www.noocube-review.com/"

    ReplyDelete
  14. Nootropic supplements are also called cognitive enhancers and brain boosters for their ability to produce positive effects for mental performance.

    ReplyDelete
  15. " Nootropics or smart drugs, are being used around the world by students, entrepreneurs, small business owners, athletes, poker players and housewives. http://www.noocube-review.com/"

    ReplyDelete
  16. having more sex can make you live longer Male Extra pills are famous on the market. But you have to know some side effects and results. My prof review will help you.

    ReplyDelete
  17. how to make your vagina tighter Many women also consider v tight gel after having children. During natural childbirth the vaginal muscles expand to form the birth canal for your baby. http://vtightgelreviewer.com

    ReplyDelete
  18. Testmax Nutrition is designed to enhance and maximize your genetic potential.Increases Virility Enhances Performance Maximum Sex Booster Optimum Testosterone Levels.

    ReplyDelete
  19. Find best legal anabolic steroids online that work to enhance your muscle growth and boost testosterone level.

    ReplyDelete
  20. We are really grateful for your blog. There are many approaches to visit the post office. Good work. http://cierabrier.blogspot.com/

    ReplyDelete