DotNetShoutout - Stories tagged with MVC 2
7
Shouts

How to Enable Client Side Validation in ASP.NET MVC 2

published 977 days, 16 hours, 13 minutes ago posted by gilfgilf 978 days, 23 hours, 10 minutes ago
Wednesday, September 15, 2010 2:59:37 PM GMT Tuesday, September 14, 2010 8:02:22 AM GMT
Last night I was teaching MVC framework as part of an ASP.NET course. One of the things that I showed the students was how to use data annotations for server side validation. I got a question about how to enable client side validation in MVC 2 and decided to write about it in a post. So here it goes… (more)
category: Web Dev | clicked: 0 | comment | | source: blogs.microsoft.co.il
tags: Validation, MVC 2, ASP.NET
4
Shouts

Automatically Infer MVC Validation Rules Based on LINQ to SQL Schema – Sweet! | {Programming} & Life

posted by http://grahamoneale.myvidoop.com/http://grahamoneale.myvidoop.com/ 997 days, 2 hours, 42 minutes ago
Friday, August 27, 2010 4:30:35 AM GMT
Hey gang, just a quickie today. I have been working recently on setting up server side and client side model validation “by the book” in ASP.NET MVC 2 complete with data annotations and the first question that hit me when I was declaring attributes on my LINQ to SQL partial classes to determine model validation was “hold on, surely there is a way to automagically have MVC infer my validation rules based on my database schema…” (more)
category: Web Dev | clicked: 4 | 1 comment | | source: goneale.com
tags: .NET, Validation, MVC 2, ASP.NET
5
Shouts

MVC ActionFilterAttribute for managing web crawlers (Google, Bing, Yahoo!)

published 998 days, 18 hours, 24 minutes ago posted by rockinthesixstringrockinthesixstring 1001 days, 15 minutes ago
Wednesday, August 25, 2010 12:47:59 PM GMT Monday, August 23, 2010 6:57:26 AM GMT
Allow or Block web crawlers from crawling certain pages (controller actions) on your site. Especially good for either blocking users from viewing your Sitemap.xml (similar to StackOverflow). or blocking search engines from indexing certain pages (controller actions). (more)
category: Web Dev | clicked: 2 | comment | | source: dotnetblogger.com
tags: dotnetblogger, MVC 2, MVC
8
Shouts

Dean Hume - Test your MVC routes with Moq

published 1016 days, 16 hours, 40 minutes ago posted by deanomachinodeanomachino 1017 days, 22 hours, 48 minutes ago
Saturday, August 07, 2010 2:32:10 PM GMT Friday, August 06, 2010 8:24:17 AM GMT
Test your MVC routes with Moq Routing is a great feature that ships with MVC. The ASP.NET Routing module is responsible for mapping incoming browser requests to particular MVC controller actions. One of the great things about routing in MVC is the ability to rewrite a URL and make it a lot more readable. This is also meant to be better for SEO, but I like that fact the URL's are easy to type and easier to remember. If you've had a look at an ASP.NET MVC application before you will notice that it... (more)
category: Web Dev | clicked: 7 | comment | | source: www.deanhume.com
tags: Routing, TDD, SEO, Moq, MVC 2, MVC
5
Shouts

Professional Asp.net Mvc 2 Book Giveaway - Result

published 1021 days, 19 hours, 26 minutes ago posted by deanomachinodeanomachino 1021 days, 23 hours, 38 minutes ago
Monday, August 02, 2010 11:46:52 AM GMT Monday, August 02, 2010 7:34:49 AM GMT
Professional Asp.net Mvc 2 Book Giveaway - Result Firstly, I would like to thank everyone that entered the competition and also everyone that contributed by leaving a comment on the blog. There have been a load of great ideas and I will definitely be implementing them on the site. Hopefully you will see these changes over the next few weeks! Okay, so in terms of the draw - it took place last night and the lucky winner is Paul Irvine. I hope you enjoy the book and I will be in contact shortly rega... (more)
category: Web Dev | clicked: 0 | comment | | source: deanhume.com
tags: C#, Book, MVC 2, giveaway, MVC, ASP.NET
5
Shouts

ASP.NET MVC: Do You Know Where Your TempData Is?

published 1039 days, 17 hours, 49 minutes ago posted by gshacklesgshackles 1040 days, 3 hours ago
Thursday, July 15, 2010 1:22:57 PM GMT Thursday, July 15, 2010 4:12:33 AM GMT
A look at how TempData works internally in ASP.NET MVC and how you can implement your own provider, including an example of using MongoDB as a provider. (more)
category: Web Dev | clicked: 1 | comment | | source: www.gregshackles.com
tags: MongoDB, Providers, MVC 2, ASP.NET
7
Shouts

You know the question…What is the WebMatrix?

published 1046 days, 17 hours, 39 minutes ago posted by bobfamiliarbobfamiliar 1048 days, 2 minutes ago
Thursday, July 08, 2010 1:33:51 PM GMT Wednesday, July 07, 2010 7:10:16 AM GMT
WebMatrix is everything you need to build Web sites using Windows. WebMatrix includes IIS Developer Express (a development Web server), ASP.NET (a Web framework), and SQL Server Compact (an embedded database). It streamlines Web site development and makes it easy to start Web sites from popular open-source apps such as DotNetNuke, Umbraco, WordPress, Joomla!, and more. The skills and code you develop with WebMatrix transition seamlessly to Visual Studio and SQL Server. (more)
category: Web Dev | clicked: 0 | comment | | source: blogs.msdn.com
tags: MVC 2, WebMatrix
9
Shouts

Dynamic Views in ASP.NET MVC 2

published 1048 days, 16 hours, 33 minutes ago posted by gshacklesgshackles 1050 days, 10 hours, 27 minutes ago
Tuesday, July 06, 2010 2:39:43 PM GMT Sunday, July 04, 2010 8:45:06 PM GMT
One of the new features introduced in C# 4.0 is the dynamic keyword. So far I haven’t had much use for it, but lately I’ve discovered that it can be very useful when designing ASP.NET MVC views. It also has uses when interacting with COM APIs and other dynamic languages, but I’m going to focus on its use in MVC. (more)
category: Web Dev | clicked: 0 | comment | | source: www.gregshackles.com
tags: .net 4, dynamic, MVC 2
6
Shouts

Representing user input

published 1057 days, 19 hours, 22 minutes ago posted by sonukapoorsonukapoor 1059 days, 16 hours, 11 minutes ago
Sunday, June 27, 2010 11:50:38 AM GMT Friday, June 25, 2010 3:01:01 PM GMT
This article is taken from the book ASP.NET MVC 2 in Action. The authors discuss designing a model to represent the data coming into an application. ASP.NET MVC 2 features coupled with a strong input model make it easy to work with user input in an application. (more)
category: Web Dev | clicked: 0 | comment | | source: dotnetslackers.com
tags: MVC 2, ASP.NET
5
Shouts

Windows Azure ASP.NET MVC 2 Role with Silverlight « Composite Code

published 1069 days, 17 hours, 23 minutes ago posted by http://www.adronbhall.com/http://www.adronbhall.com/ 1070 days, 11 hours, 13 minutes ago
Tuesday, June 15, 2010 1:49:55 PM GMT Monday, June 14, 2010 7:59:11 PM GMT
May 13, 2010Windows Azure ASP.NET MVC 2 Role with SilverlightFiled under: Cloud Speak,How-to — Adron @ 6:37 am I was working through some scenarios recently with Azure and Silverlight.  I immediately decided a quick walk through for setting up a Silverlight Application running in an ASP.NET MVC 2 Application would be a cool project. This walk through I have Visual Studio 2010, Silverlight 4, and the Azure SDK all installed.  If you need to download any of those go get em? now. Launch Visual Studio ... (more)
category: Web Dev | clicked: 0 | comment | | source: compositecode.com
tags: MVC 2, MVC
8
Shouts

DimeCasts.Net Details for # 171 - Exploring how to use List Binding in MVC2

published 1098 days, 17 hours, 2 minutes ago posted by derikwhittakerderikwhittaker 1101 days, 20 hours, 24 minutes ago
Monday, May 17, 2010 2:10:19 PM GMT Friday, May 14, 2010 10:48:51 AM GMT
Exploring how create an editable Lists of data in MVC 2. We will show you how to create this list by using the enhanced binding features which are part of MVC 2. Having the ability to easily bind your model to your view will provide great flexibility and convince (more)
category: Screencast | clicked: 0 | comment | | source: www.dimecasts.net
tags: DimeCast.net, MVC 2
5
Shouts

Display and Editor Templates in ASP.NET MVC 2

published 1111 days, 22 hours, 48 minutes ago posted by mceranskimceranski 1112 days, 18 hours, 21 minutes ago
Tuesday, May 04, 2010 8:24:06 AM GMT Monday, May 03, 2010 12:51:38 PM GMT
In the first version of ASP.NET MVC, I found myself creating a lot of HTML Helpers and Partial Views in order to promote code re-use and to standardize formatting of certain data types across views. For example, let's say that I want every date in my application to use the formatting of “MM/dd/yyyy”. In MVC 1.0, I would have made the following HTML Helper: public static string FormatDate(this HtmlHelper helper, DateTime value ) { return value.ToString( "MM/dd/yyyy" ); } Once the HTML Helper w... (more)
category: Web Dev | clicked: 0 | comment | | source: www.codecapers.com
tags: Templates, MVC 2
5
Shouts

Using AntiXss As The Default Encoder For ASP.NET - Phil Haack

published 1134 days, 20 hours, 55 minutes ago posted by mithumithu 1135 days, 11 hours, 3 minutes ago
Sunday, April 11, 2010 10:17:45 AM GMT Saturday, April 10, 2010 8:09:10 PM GMT
This is the third in a three part series related to HTML encoding blocks, aka the <%: ... %> syntax. Html Encoding Code Blocks With ASP.NET 4Html Encoding Nuggets With ASP.NET MVC 2Using AntiXss as the default encoder for ASP.NET Scott Guthrie recently wrote about the new <%: %> syntax for HTML encoding output in ASP.NET 4. I also covered the topic of HTML encoding code nuggets in the past as well providing some insight into our design choi... (more)
category: Web Dev | clicked: 2 | comment | | source: haacked.com
tags: AntiXSS, ASP.NET 4, MVC 2, ScottGu, HTML, ASP.NET
2
Shouts

Scott Guthrie in Glasgow

Tuesday, March 30, 2010 3:37:13 PM GMT
Last week Scott Guthrie was in Glasgow for his new Guathon tour, which was a roaring success. Scott did talks on the new features in Visual Studio 2010, Silverlight 4, ASP.NET MVC 2 and Windows Phone 7. Scott talked from 10am till 4pm, so this can only contain what I remember and I am sure lots of things he discussed just went in one ear and out another, however I have tried to capture at least all of my Ohh’s and Ahh’s.Visual Studio 2010 Right now you can download and install Visual Studio 2010 Candida... (more)
category: Web Dev | clicked: 0 | comment | | source: blog.hinshelwood.com
tags: ASP.NET 4.0, Visual Studio 2010, Silverlight 4, MVC 2
4
Shouts

Daily tech links for .net and related technologies - Mar 26-28, 2010 - Sanjeev Agarwal

published 1149 days, 19 hours, 1 minute ago posted by sanjeevanasanjeevana 1150 days, 22 hours, 13 minutes ago
Saturday, March 27, 2010 12:11:51 PM GMT Friday, March 26, 2010 8:59:24 AM GMT
Creating Rich View Components in ASP.NET MVC - manzurrashid, Diagnosing ASP.NET MVC Problems - Brad Wilson, Templated Helpers & Custom Model Binders in ASP.NET MVC 2 - gshackles, The jQuery Templating Plugin and Why You Should Be Excited! - Chris Love, Web Deployment Made Awesome: If You're Using XCopy, You're Doing It Wrong - Scott Hansleman, Dynamic User Specific CSS Selection at Run Time - Misfit Geek, Sending email from ASP.NET MVC through MVC and MSMQ Part 2 - Andrew Siemer, Data W... (more)
category: Web Dev | clicked: 0 | comment | | source: weblogs.asp.net
tags: Silverlight, C#, SQL, Web Service, Architecture, MVC 2, Ajax
5
Shouts

Templated Helpers and Custom Model Binders in ASP.NET MVC 2

published 1151 days, 18 hours, 48 minutes ago posted by gshacklesgshackles 1152 days, 4 hours, 54 minutes ago
Thursday, March 25, 2010 12:24:40 PM GMT Thursday, March 25, 2010 2:18:13 AM GMT
One of the really cool new features in ASP .NET MVC 2 is templated helpers. The basic idea is that you can define a template for either displaying or editing a particular data type, and it will be used by default when displaying or editing that type. This allows you to define the behavior once, and then you don’t need to worry about it in every view you write thereafter. In this post I’ll go over how to use templated helpers to handle both a built-in type, DateTime, as well as a custom type which will de... (more)
category: Web Dev | clicked: 1 | comment | | source: www.gregshackles.com
tags: Templates, Binding, MVC 2, jQueryUI
9
Shouts

Validating Hidden Fields in ASP.NET MVC 2

published 1157 days, 18 hours, 8 minutes ago posted by gshacklesgshackles 1158 days, 16 hours, 39 minutes ago
Friday, March 19, 2010 1:04:25 PM GMT Thursday, March 18, 2010 2:33:48 PM GMT
A look into how to add custom validation to MVC 2 to allow for validating a hidden field in a form. (more)
category: Web Dev | clicked: 5 | comment | | source: www.gregshackles.com
tags: Validation, MVC 2 Model Validation, MVC 2
6
Shouts

T4MVC Add-In to auto run template

published 1159 days, 19 hours, 18 minutes ago posted by https://www.google.com/accounts/o8/id?id=AItOawkYKeMwDCa949_B8pvpA9PhnSDFtKdjhL0https://www.google.com/accounts/o8/id?id=AItOawkYKeMwDCa949_B8pvpA9PhnSDFtKdjhL0 1160 days, 6 hours, 57 minutes ago
Wednesday, March 17, 2010 11:54:17 AM GMT Wednesday, March 17, 2010 12:14:57 AM GMT
T4MVC is a fantastic solution to avoid 'Magic Strings' in ASP.NET MVC.   Thanks to David Ebbo for this contribution which has made its way to MVCContrib.   Must keep T4 template open and save it once.This has been the only negative thing about the template.  I thought about writing an Add-In for VS to do this and even taked to David about doing it.  Well, his latest post has inspired me to write one.  I took my dot net less plug in and ripped nearly everything out of it, threw in about 5 lines of new ... (more)
category: Web Dev | clicked: 4 | comment | | source: blog.waynebrantley.com
tags: T4, T4MVC, MVC 2, MVC, ASP.NET
4
Shouts

DotNetRocks - Show #533 - Phil Haack Introduces MVC 2

published 1159 days, 19 hours, 18 minutes ago posted by mithumithu 1160 days, 16 hours, 40 minutes ago
Wednesday, March 17, 2010 11:54:17 AM GMT Tuesday, March 16, 2010 2:32:24 PM GMT
Haack is back! This time, to announce ASP.NET Model View Controller v2.0 (more)
category: Podcast | clicked: 1 | comment | | source: www.dotnetrocks.com
tags: DotNetRocks, Controller v2.0, Phil Haack, ASP .NET, MVC 2
7
Shouts

HerdingCode - Episode 75: Barry Dorrans on Developer Security

published 1168 days, 18 hours, 44 minutes ago posted by mithumithu 1170 days, 13 hours, 22 minutes ago
Monday, March 08, 2010 12:28:22 PM GMT Saturday, March 06, 2010 5:50:39 PM GMT
This week on Herding Code, Barry Dorrans educates, entertains, insults and scares us with his expert commentary on application security, threat modeling, analysis tools and common attacks. You’ve been waiting for this show. I just know it. Listen in as Barry talks security, pimps his new book, and comments on his new position at Microsoft, book burnings, guns, money, proper pronunciation and Jon’s bald head. Scott K shares that public facing applications and services seem to get the least attention ... (more)
category: Podcast | clicked: 1 | 2 comments | | source: herdingcode.com
tags: RIA, Silverlight, WebForms, Security, .NET Framework, OAuth, cat.net, OpenID, Flash, SQL, XSS, WPL, FxCop, HerdingCode, WRAP, MVC 2, SDL, Cardspace, MVC, OWASP, ASP.NET
Previous 1 2 Next