May 2011 - Posts
The (awesome) UK developer community is holding another all day event with Steve Sanderson and me in London on June 6th. The event is free to attend, and the venue will be in Central London (at the ODEON Covent Garden). The website for the event is here . Content The event goes from 9am to 5pm, and will feature a bunch of great .NET content. The current agenda includes the following talks: Build an app using ASP.NET MVC 3, EF Code First, NuGet and IIS Express (ScottGu) We'll spend 2 hours building an application with some of the latest releases of the Microsoft Web Stack. You get to choose what app to build and then watch Scott code it on stage. See how the Microsoft web stack fits together, how to take advantage of great...
I got this question more than once: "how can you use a different template for the first blog post?" The scenario is illustrated by this example: If you look at the default rendering for the list of posts in a blog, you'll see this: < ul class ="blog-posts content-items" > < li class ="first" > < article class ="content-item blog-post" > < header >... .csharpcode, .csharpcode pre { font-size: small; color: black; font-family: consolas, "Courier New", courier, monospace; background-color: #ffffff; /*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode...
In this screencast, I will demonstrate how to use the Taxonomies module in Orchard to create a simple news site. Read More...
Next month I’ll be in Europe giving presentations at some great .NET conferences. Below are details on the three conferences I’m presenting at: Norwegian Developers Conference (NDC 2011) I’ll be in Oslo, Norway for the NDC 2011 conference (June 8th to 10th). I’ve heard really great things about NDC – I’m excited to be able to finally attend in person! I’m doing a keynote talk, two breakout talks, and an unplugged Q&A session. Details on NDC can be found here . Microsoft DevConnections Germany I’ll be in Karlsruhe, Germany for the Microsoft DevConnections Germany conference (June 8th to 10th). I’m doing a keynote talk on the 10th (Friday). Details on Microsoft DevConnections Germany can be found here . Microsoft...
We’ve recently published some great end-to-end ASP.NET video training courses on the http://asp.net web-site. Created by Pluralsight (a great .NET training company), these video courses are available free of charge and provide a great way to learn (or brush-up your knowledge of) ASP.NET Web Forms 4 and ASP.NET MVC 3. Each course is taught by a single trainer, and provides a nice end-to-end curriculum (from basic concepts to working with the new Entity Framework “code first” model to security, deployment, and testing). Below are some details on the two free training courses we published this weekend (and links for how to watch them): ASP.NET MVC 3 Training This weekend we posted the final videos in a brand new 10...
ASP.NET MVC 3 supports a new view-engine option called “Razor” (in addition to continuing to support/enhance the existing .aspx view engine). Razor minimizes the number of characters and keystrokes required when writing a view template, and enables a fast, fluid coding workflow. Unlike most template syntaxes, with Razor you do not need to interrupt your coding to explicitly denote the start and end of server blocks within your HTML. The Razor parser is smart enough to infer this from your code. This enables a compact and expressive syntax which is clean, fast and fun to type. You can learn more about Razor from some of the blog posts I’ve done about it over the last last 9 months: Introducing Razor New @model keyword in Razor Layouts with...
Last week I blogged about the new ASP.NET MVC 3 Tools Update , and then followed it up with a detailed post that covered using the EF Code First and the new Data Scaffolding features in it. Today’s blog post is a continuation of this series and covers some of the new HTML5 improvements with the ASP.NET MVC 3 Tools Update release. Project Template Support for HTML5 Semantic Markup The ASP.NET MVC 3 Tools Update adds support for you to optionally use HTML5 semantic markup when creating new ASP.NET MVC 3 projects. You can specify this by checking the “Use HTML5 semantic markup” checkbox when creating new projects: Selecting this checkbox option does two things: 1) It causes VS 2010 to use HTML5 semantic markup elements like <header>...
One of our goals in Orchard is to make it possible and simple to change and customize the markup and style for everything that gets rendered by the application and its modules. Of course, this is made a lot trickier by our other big requirement of making everything a composition of atomic parts. Yesterday, we brought on site a web developer who is a fan of Drupal and is occasionally using Joomla! and WordPress to get some good feedback after her using Orchard on a project. And that we got. One of the many interesting things she told us had one essential quality though: it was immediately actionable. Here is the idea. This is the generated markup for an HTML widget in Orchard: < article class ="widget-html-widget widget" > <...
Earlier this week I blogged about the new ASP.NET MVC 3 Tools Update that we shipped last month. In today’s blog post I’m going to go into more detail about two of the cool new features it brings: Built-in support for EF 4.1 (which includes the new EF “code-first” support) Built-in data scaffolding support within Visual Studio (which enables you to rapidly create data-driven sites) These two features provide a really sweet, and extremely powerful, way to work with data and build data-driven web applications. Scenario We’ll Build To help illustrate how to use the above features, we’ll walkthrough building a simple data-drive site. It will support listing products: As well as creating/editing new products (and categories): We can now...
This screencast shows the basic set-up for an Orchard dev environment. Read More...
More Posts
Next page »