background preloader

Introducing “Razor” – a new view engine for ASP.NET

Introducing “Razor” – a new view engine for ASP.NET
One of the things my team has been working on has been a new view engine option for ASP.NET. ASP.NET MVC has always supported the concept of “view engines” – which are the pluggable modules that implement different template syntax options. The “default” view engine for ASP.NET MVC today uses the same .aspx/.ascx/.master file templates as ASP.NET Web Forms. The new view-engine option we’ve been working on is optimized around HTML generation using a code-focused templating approach. Design Goals We had several design goals in mind as we prototyped and evaluated “Razor”: Compact, Expressive, and Fluid: Razor minimizes the number of characters and keystrokes required in a file, and enables a fast, fluid coding workflow. We’ve spent the last few months building applications with it and doing lots of usability studies of it with a variety of volunteers (including several groups of non-.NET web developers). Choice and Flexibility Hello World Sample with Razor Building it with .ASPX Code Nuggets

HTML5 & CSS3 in Visual Studio 2010 SP1 - Web Development Tools @ Microsoft Since the release of Visual Studio 2010 SP1 beta last month, there has been a lot of questions regarding the support for HTML5 and CSS3. Visual Studio 2010 was originally released without HTML5 support, so does SP1 finally add support for it? Yes, to some extent. The entire HTML5 specification isn’t supported but most of the new elements and attributes are. That means you get both intellisense and validation for HTML5 with SP1. Turn it on After installing SP1 you have to tell Visual Studio to start using the HTML5 schema. Or if you have the HTML Source Editing toolbar enabled, you can select it in the target schema dropdown. Intellisense support The new elements that are specific to HTML5 are shown in the intellisense list as you would expect. Even the new HTML5 specific attribute values for existing elements are shown. This error has been fixed and will be included in the final SP1. In SP1 there are a few improvements in the CSS3 support as well, though not as elaborate as with HTML5.

Home - BUILD | September 13 - 16, 2011 | Anaheim Convention Center visual studio - Where can I find nice Dark ReSharper (with Color identifiers = on) Themes Blackstreet: Don't Leave Me Samsung 46" LED-TV UE46D6515XXE (3D) Ta steget in i interaktiv hemmaunderhållning med Samsung LED 6000: s Smart Hub. Det är det enklaste sättet att få ut mer av din TV. Nu kan du använda internet fullt ut genom TV: n med nya funktioner som Search All, Your Video och Web Browser. Funktionerna hjälper dig att hitta TV-relaterat innehåll och information online samtidigt som du kan dela med dig av filmer, foton och musik. 3D-hemmabio är inte komplett utan Samsungs 3D LED-TV Med ledande 3D-bildteknik levererar Samsung 3D LED-TV en oförglömlig bildupplevelse. Den ultimata mediahubben i TV:n Tack vare mängder med anslutningsmöjligheter kan du sköta all digital underhållning från ett och samma ställe. CMR 200 Upplev äkta rörelseskärpa med Samsungs Clear Motion Rate. Ultra Clear Panel Säg adjö till oskärpa. Digital Noise Filter Titta på analoga program med samma kristallklara skärpa som digitala sändningar med Samsungs Digital Noise Filter. Full HD 1080p Kom närmare verkligheten. Wide Color Enhancer Plus Se världens sanna färger.

Reflecting on Steve Jobs' Words of Wisdom - Jeff Dyer and Hal Gregersen by Jeff Dyer and Hal Gregersen | 10:46 AM August 26, 2011 On June 12, 2005, in his commencement address to Stanford’s graduating class, Steve Jobs revealed: “When I was 17, I read a quote that went something like: ‘If you live each day as if it was your last, someday you’ll most certainly be right.’ It made an impression on me, and since then, for the past 33 years, I have looked in the mirror every morning and asked myself: ‘If today were the last day of my life, would I want to do what I am about to do today?’ Obviously, the answer has changed. The obvious answer is that these may well be the last years and days of Jobs’ life. Have you found “what you love” to do in life? For almost four decades Steve Jobs has certainly tried his best to “put a ding in the universe.” If you were living today as if it were your last, would you be doing what you’re doing right now?

Finn hälsan i ditt rätta element Är du luft, eld eller vatten? Intresset för den indiska livsfilosofin ayurveda stiger och nya spainrättningar ser dagens ljus. DN Söndag har pratat med ayurvedaläkaren Janesh Vaidya och testat en rätt flottig behandling. Ayurveda lär vara en av de äldsta läke­konsterna i världen. Janesh Vaidya är ayurvedaläkare. – Jag är ayurveda. När han träffar en patient för första gången börjar han med att analysera vilket element personen hör hemma i, vata (luft), pitta (eld) eller kapha (vatten). Elementet bestämmer vilken kost och livsstil som passar personen bäst. Inom ayurveda delas livet in i fyra säsonger. Vid sextio år börjar livet, säger Janesh Vaidya. Så vad gör man för att ta hand om sig på bästa sätt? – Tänk alltid på vad du stoppar i munnen. Livsfilosofin ayurveda breder ut sig även i västvärlden, här i Sverige har till exempel flera spainrättningar med ayurvedainrikting öppnats de senaste åren. Janesh Vaidya förespråkar inte piller, han vill att vi ska hitta vitaminerna i vanlig mat.

Dive Into HTML5 Custom Search Overview The Google WebSearch service enables Google Site Search customers to display Google search results on their own web sites. The WebSearch service uses a simple HTTP-based protocol to serve search results. Search administrators have complete control over the way they request search results and the way they present those results to the end user. This document describes the technical details of the Google search request and results formats. To retrieve Google WebSearch results, your application sends Google a simple HTTP request. WebSearch Request Format Request Overview The Google search request is a standard HTTP GET command. Query Terms Most search requests include one or more query terms. Query terms can specify several types of information to filter and organize the search results that Google returns. Words or phrases to include or exclude All of the words in a search query (default) An exact phrase in the search query Any word or phrase in a search query Only in the document title

Related: