DotNetShoutout - Stories tagged with asp net mvc
8
Shouts

Inline Razor Syntax Overview

published 1020 days, 3 hours, 15 minutes ago posted by MikesdotnettingMikesdotnetting 1021 days, 8 hours, 39 minutes ago
Tuesday, August 03, 2010 12:19:31 PM GMT Monday, August 02, 2010 6:55:22 AM GMT
Inline Razor Syntax Overview   With the launch of WebMatrix, and the announcement of the new Razor View Engine for the next version of ASP.NET MVC, here's a quick guide to Razor syntax.   All code blocks must appear within @{ ... } brackets. As soon as you type @, you are assumed to have started writing code. Everything that follows is assumed to be code, unless you tell Razor otherwise: If you want to render the variable number within the loop above, you have to prefix it with an @ ... (more)
category: Web Dev | clicked: 1 | comment | | source: www.mikesdotnetting.com
tags: asp net mvc, ASPNETMVC, asp net web pages, Razor
6
Shouts

Google Sitemap Generation From A Custom SiteMapResult

published 1083 days, 4 hours, 53 minutes ago posted by MikesdotnettingMikesdotnetting 1083 days, 19 hours, 50 minutes ago
Tuesday, June 01, 2010 10:41:04 AM GMT Monday, May 31, 2010 7:43:59 PM GMT
Google Sitemap Generation From A Custom SiteMapResult   My previous article showed how to use a custom ActionResult and the classes within WCF to generate an RSS feed. There are no similar classes to help build a valid Google Site Map for an ASP.NET MVC application. So here's how your can build your own.   There are a lot of classes associated with creating feeds within the System.ServiceModel.Syndication namespace, but we actually only need to borrow inspiration from 3 of them for Goog... (more)
category: Web Dev | clicked: 3 | 1 comment | | source: www.mikesdotnetting.com
tags: asp net mvc, ASPNETMVC
5
Shouts

Rss Feed Generation From a Custom RssResult

published 1083 days, 4 hours, 53 minutes ago posted by MikesdotnettingMikesdotnetting 1084 days, 7 hours, 17 minutes ago
Tuesday, June 01, 2010 10:41:04 AM GMT Monday, May 31, 2010 8:17:14 AM GMT
Rss Feed Generation From a Custom RssResult   When I looked at producing RSS Feeds in ASP.NET MVC before, I used the ContentResult method to return XML. Best Practice suggests that you should create a new ActionResult if required. So this article looks at creating an RssResult, and a different way to generate the feed itself.   If you look at the previous article, and its comments, you can see that there are a number of ways to produce RSS feeds in ASP.NET MVC. Some feel that you should... (more)
category: Web Dev | clicked: 2 | comment | | source: www.mikesdotnetting.com
tags: asp net mvc, ASPNETMVC
5
Shouts

Validating the Contact Manager with MVC 2.0 And VS 2010

published 1145 days, 4 hours, 46 minutes ago posted by MikesdotnettingMikesdotnetting 1146 days, 18 hours, 13 minutes ago
Wednesday, March 31, 2010 10:48:31 AM GMT Monday, March 29, 2010 9:21:15 PM GMT
Validating the Contact Manager with MVC 2.0 And VS 2010   The MVC 2.0 Framework was finally RTM'd on March 11th 2010, so I took the opportunity to update my Contact Manager application with some of its new features. While the focus of this article is validating the Model using DataAnnotations, I also touch on one or two other new features in the latest release.   Before continuing, I should point out that I have installed VS 2010 RC1, and used it to convert the original project (availab... (more)
category: Web Dev | clicked: 0 | comment | | source: www.mikesdotnetting.com
tags: asp net mvc, ASPNETMVC
8
Shouts

ASP.NET MVC v. Web Forms Debate - My View

published 1179 days, 20 hours, 53 minutes ago posted by MikesdotnettingMikesdotnetting 1181 days, 17 hours, 21 minutes ago
Wednesday, February 24, 2010 6:40:36 PM GMT Monday, February 22, 2010 10:13:01 PM GMT
ASP.NET MVC v. Web Forms Debate - My View   It seems that the whole world (and Margate) is having its say on which is better - MVC or Web Forms. Scott Guthrie posted his views on technical debates in general, and then contributed his thoughts on MVC v. Web Forms. Ian Cooper has an interesting contribution to make to the debate too. Rob Conery (formerly of Microsoft) posted probably the most linked to opinion on the matter. (There - I've just added another link...) A lot of other blog posts around s... (more)
category: Web Dev | clicked: 0 | comment | | source: www.mikesdotnetting.com
tags: asp net mvc, ASPNET, ASPNETMVC, asp net
3
Shouts

ASP.NET MVC is not all about Linq to SQL

posted by MikesdotnettingMikesdotnetting 1183 days, 7 hours, 9 minutes ago
Sunday, February 21, 2010 8:25:26 AM GMT
ASP.NET MVC is not all about Linq to SQL   Pretty much every sample application that illustrates ASP.NET MVC uses Linq To SQL or the Entity Framework as the data access method. I've seen a number of questions posted to the forums at www.asp.net asking if there are any alternatives, and indeed there are. This article will look at using plain ADO.NET within a data access layer to provide dynamic content to a typical small CRUD application.   For the purposes of this excercise, I shall be ... (more)
category: Web Dev | clicked: 1 | comment | | source: www.mikesdotnetting.com
tags: asp net mvc, ASPNETMVC, asp net, MVC