DotNetShoutout - Stories tagged with MVC
7
Shouts

MVC Entity Framework Tutorials Published - ASP.NET and Web Tools Developer Content Team

published 769 days, 2 hours, 52 minutes ago posted by iftekharahmedamitiftekharahmedamit 769 days, 19 hours, 54 minutes ago
Sunday, April 17, 2011 12:05:53 PM GMT Saturday, April 16, 2011 7:03:42 PM GMT
The third series of Entity Framework tutorials, Getting Started with the Entity Framework Using ASP.NET MVC, has been published on the ASP.NET site. The tutorials create a sample application similar to the one that the two Web Forms series (Getting Started with the Entity Framework and Continuing with the Entity Framework) create. You can download a Visual Studio project that is a finished version of the series. Besides using MVC rather than Web Forms, this series is also different in that it uses the C... (more)
category: Web Dev | clicked: 4 | 1 comment | | source: blogs.msdn.com
tags: EF, Entity Framework, MVC
2
Shouts

How to pass data from controllers to views in ASP.NET MVC ? (Tutorial No: 2)

posted by dotnetfundadotnetfunda 771 days, 9 hours, 35 minutes ago
Friday, April 15, 2011 5:23:00 AM GMT
In the previous ASP.NET MVC tutorial we saw how we can create a simple ASP.NET MVC web application. In case you have missed the same do refer ASP.NET MVC tutorials. In this session we will see how we can pass data from controller to views using view data. (more)
category: Web Dev | clicked: 0 | comment | | source: www.dotnetfunda.com
tags: MVC
8
Shouts

Customizing ASP.NET MVC’s Required Property Validation Messages - Davy Brion

published 779 days, 2 hours, 26 minutes ago posted by iftekharahmedamitiftekharahmedamit 781 days, 17 hours, 50 minutes ago
Thursday, April 07, 2011 12:32:18 PM GMT Monday, April 04, 2011 9:08:25 PM GMT
I recently got convention-based localization of display labels working with ASP.NET MVC, and this week, i wanted to get something similar working for required field validation messages. ASP.NET MVC3 shows a default validation message when a required field is not filled in, unless you specify a resource provider and the name of the resource key when you put the Required attribute on a property. Just like with the display value of labels, i wanted a convention based approach for this. I wanted ASP.NET M... (more)
category: Web Dev | clicked: 2 | 1 comment | | source: davybrion.com
tags: ASP.NET MVC, Validation, MVC, ASP.NET
8
Shouts

Scaffolding Actions and Unit Tests with MvcScaffolding - Steve Sanderson’s blog

published 786 days, 17 hours, 51 minutes ago posted by iftekharahmedamitiftekharahmedamit 787 days, 6 hours, 30 minutes ago
Wednesday, March 30, 2011 9:07:17 PM GMT Wednesday, March 30, 2011 8:28:04 AM GMT
This blog post is part of a series about the MvcScaffolding NuGet package:Introduction: Scaffold your ASP.NET MVC 3 project with the MvcScaffolding packageStandard usage: Typical use cases and optionsOne-to-Many RelationshipsThis post: Scaffolding Actions and Unit TestsComing soon: Customizing the T4 templates* Coming soon: Creating entirely new scaffolders with custom PowerShell logic* * Yes, I know those last two have been long delayed. There have been some changes to the extensibility mechanism and ... (more)
category: Web Dev | clicked: 1 | 1 comment | | source: blog.stevensanderson.com
tags: ASP.NET MVC 3, Unit Tests, MVC, ASP.NET
9
Shouts

Modifying the default code generation/scaffolding templates in ASP.NET MVC - Scott Hanselman

published 784 days, 16 hours, 35 minutes ago posted by iftekharahmedamitiftekharahmedamit 787 days, 16 hours, 4 minutes ago
Friday, April 01, 2011 10:22:51 PM GMT Tuesday, March 29, 2011 10:53:44 PM GMT
One of the things people like the most about my ASP.NE MVC 2 Ninja Black Belt Tips video, besides the Bill Cosby sweater, is the tip where I show how to modify the default CodeTemplates that are used in Code Generation in ASP.NET MVC (either version). Eilon mentioned it on an internal mailing list this week so I thought it'd be worth surfacing again in case you haven't heard of this, Dear Reader. Soon, we'll see even more powerful, flexible, and fun ways to customize your own Scaffolding in ASP.NET MVC... (more)
category: Web Dev | clicked: 5 | 1 comment | | source: www.hanselman.com
tags: ASP.NET MVC 3, ASP.NET MVC, ASP.NET MVC 2, MVC, ASP.NET
7
Shouts

Comparing MVC 3 Helpers: Using Extension Methods and Declarative Razor @helper Syntax - Jon Galloway

published 788 days, 4 minutes ago posted by iftekharahmedamitiftekharahmedamit 790 days, 3 hours, 27 minutes ago
Tuesday, March 29, 2011 2:53:38 PM GMT Sunday, March 27, 2011 11:31:08 AM GMT
HTML Helpers provide a clean way to encapsulate view code so you can keep your views simple and markup focused. There are lots of built in HTML Helpers in the System.Web.Mvc.HtmlHelper class, but one of the best features is that you can easily create your own helpers. While you've been able to create your own helpers since MVC 1 using extension methods, the Razor view engine gives you a new option to create helpers usi... (more)
category: Web Dev | clicked: 12 | 1 comment | | source: weblogs.asp.net
tags: ASP.NET MVC 3, ASP.NET MVC, Extension Methods, Razor Syntax, MVC 3, Helpers, MVC, ASP.NET
7
Shouts

Using EntityFramework with ASP.NET MVC 3 - Rob Conery

published 792 days, 7 hours, 38 minutes ago posted by iftekharahmedamitiftekharahmedamit 795 days, 8 minutes ago
Friday, March 25, 2011 7:20:06 AM GMT Tuesday, March 22, 2011 2:49:53 PM GMT
Using EntityFramework with ASP.NET MVC 3 A few people have asked about a comment I made on my last post: I might suggest (in this case) creating an ActionFilter and wrapping the Action in a transaction. It’s transparent, it’s fun… and all the kids are doing it. … and it got me thinking. All of the MSDN samples that I’ve seen which talk about using EF or LinqToSql with ASP.NET MVC almost always show the context being created inside an action or being passed in via a repository. This doesn’t have to ... (more)
category: Web Dev | clicked: 17 | comment | | source: wekeroad.com
tags: ASP.NET MVC 3, ASP.NET MVC, entityframework, MVC, ASP.NET
7
Shouts

Convention Based Localization With ASP.NET MVC - Davy Brion's Blog

published 792 days, 7 hours, 38 minutes ago posted by iftekharahmedamitiftekharahmedamit 795 days, 13 hours, 8 minutes ago
Friday, March 25, 2011 7:20:06 AM GMT Tuesday, March 22, 2011 1:49:45 AM GMT
A feature of ASP.NET MVC that i really like is that when you use the LabelFor extension method in a strongly-typed view, the LabelFor implementation will try to retrieve and use metadata for the property you're creating a label for. For instance: @Html.LabelFor(m => m.SomeProperty) This will generate an HTML label for the SomeProperty property of your model. If you need localized views, you can annotate the property in your model like this: [Display(ResourceType = typeof(Resources), Name = "Res... (more)
category: Web Dev | clicked: 11 | comment | | source: davybrion.com
tags: ASP.NET MVC, Localization, MVC, ASP.NET
8
Shouts

OAuth 2.0 for MVC, Two Legged Implementation

published 795 days, 17 hours, 51 minutes ago posted by tduponttdupont 798 days, 22 hours, 48 minutes ago
Monday, March 21, 2011 9:07:32 PM GMT Friday, March 18, 2011 4:09:52 PM GMT
Do you Want to use OAuth 2.0 in your MVC web application? This open source project will help get you started wth a two legged implementation. (more)
category: Web Dev | clicked: 63 | 1 comment | | source: community.codesmithtools.com
tags: OAuth, MVC
8
Shouts

Creating a MVC 3 Application with Razor and Unobtrusive JavaScript - The Official Microsoft ASP.NET Site

published 797 days, 11 hours, 30 minutes ago posted by iftekharahmedamitiftekharahmedamit 798 days, 23 hours, 48 minutes ago
Sunday, March 20, 2011 3:27:49 AM GMT Friday, March 18, 2011 3:09:35 PM GMT
The User List sample web application demonstrates how simple it is to create ASP.NET MVC 3 applications using the Razor view engine. The sample application shows how to use the new Razor view engine with ASP.NET MVC version 3 and Visual Studio 2010 to create a fictional User List website that includes functionality such as creating, displaying, editing, and deleting users. This tutorial describes the steps that were taken in order to build the User List sample ASP.NET MVC 3 application. A Visual Stu... (more)
category: Web Dev | clicked: 9 | comment | | source: www.asp.net
tags: ASP.NET MVC 3, ASP.NET MVC, MVC 3, JavaScript, Razor, MVC, ASP.NET
11
Shouts

MSDN Magazine: RIA Frameworks - Building Data-Centric Web Apps with ASP.NET MVC and Ext JS - Juan Carlos Olamendy

published 798 days, 23 hours, 44 minutes ago posted by iftekharahmedamitiftekharahmedamit 799 days, 21 hours, 10 minutes ago
Friday, March 18, 2011 3:14:29 PM GMT Thursday, March 17, 2011 5:48:31 PM GMT
A rich Internet application (RIA) combines the usability of a desktop app with the flexibility of Web-based deployment and revision. There are two key approaches to building RIAs. First, there are browser plug-ins that host execution environments such as Flash, Java and Silverlight. Second, there are JavaScript-based extension libraries such as Dojo, Ext JS, jQuery, MooTools, Prototype and YUI. Each approach has its advantages and disadvantages. JavaScript libraries are a popular choice for building RIA... (more)
category: Web Dev | clicked: 50 | comment | | source: msdn.microsoft.com
tags: ASP.NET MVC, YUI, Prototype, mooTools, Ext JS, JavaScript, jQuery, Dojo, MSDN Magazine, MVC, ASP.NET
4
Shouts

HTML5-MVC application using VS2010 SP1 - IBloggable - implemented

published 802 days, 2 hours, 36 minutes ago posted by iftekharahmedamitiftekharahmedamit 804 days, 4 hours, 38 minutes ago
Tuesday, March 15, 2011 12:22:04 PM GMT Sunday, March 13, 2011 10:20:22 AM GMT
This is my first attempt at creating HTML5 pages. VS 2010 allows working with HTML5 now (you just need to make a small change after installing SP1). So my Razor view is now a HTML5 page. I call this application - 5Commerce – (an over-simplified) HTML5 ECommerce site. So here’s the flow of the application:home page renders user enters first and last name, chooses a product and the quantity can enter additional instructions for the order place the order user is then taken to another page showing the order... (more)
category: Web Dev | clicked: 13 | 1 comment | | source: weblogs.asp.net
tags: Visual Studio 2010 SP1, VS2010 SP1, Visual Studio 2010 Service Pack 1, MVC, html5
7
Shouts

SessionLess Controllers in ASP.NET MVC 3 - SessionState Attribute - David Hayden

published 808 days, 11 minutes ago posted by iftekharahmedamitiftekharahmedamit 808 days, 22 hours, 37 minutes ago
Wednesday, March 09, 2011 2:46:54 PM GMT Tuesday, March 08, 2011 4:21:03 PM GMT
One of the new features in ASP.NET MVC 3 is the [SessionState] Attribute that can be decorated on controllers. Using the attribute, you can completely turn on or off session state, adjust it to readonly, or make it required using a SessionStateBehavior Enum with the following choices:Default - The default ASP.NET logic is used to determi... (more)
category: Web Dev | clicked: 35 | comment | | source: davidhayden.com
tags: ASP.NET MVC 3, ASP.NET MVC, Controllers, MVC, ASP.NET
8
Shouts

Using a custom build of MVC 3 - David Ebbo

published 808 days, 22 hours, 47 minutes ago posted by iftekharahmedamitiftekharahmedamit 809 days, 17 hours, 59 minutes ago
Tuesday, March 08, 2011 4:11:34 PM GMT Monday, March 07, 2011 8:58:38 PM GMT
Disclaimer: running a custom build of MVC 3 is not recommended in most scenarios. Please run against the official MVC 3 bits unless you really cannot. Be aware that using custom builds will make it harder to use 3rd party libraries built against the official bits (you’ll need to rebuild those libraries). One nice thing about ASP.NET MVC is that you can get the full sources on CodePlex and compile them yourself. Once you copy the sources locally, you can open the WebRuntime solution in VS 2010 and build... (more)
category: Web Dev | clicked: 1 | comment | | source: blog.davidebbo.com
tags: ASP.NET MVC 3, ASP.NET MVC, MVC 3, MVC, ASP.NET
7
Shouts

Razor Engine v2.x

published 808 days, 22 hours, 47 minutes ago posted by http://morder.myopenid.com/http://morder.myopenid.com/ 809 days, 22 hours, 31 minutes ago
Tuesday, March 08, 2011 4:11:34 PM GMT Monday, March 07, 2011 4:26:39 PM GMT
The RazorEngine was developed primarily by Matthew Abbott at fidelitydesign.net. The project originally started here but Matthew took it to a whole new level and made it full of awesome. With that little into I’m going to get into what the Razor Engine can do for you. (more)
category: Architecture | clicked: 1 | comment | | source: buildstarted.com
tags: C#, Razor, MVC
6
Shouts

Installing NuGet on VS2010 (first blood) - Peter Kellner

published 809 days, 20 hours, 26 minutes ago posted by DustinDustin 810 days, 14 hours, 58 minutes ago
Monday, March 07, 2011 6:31:51 PM GMT Monday, March 07, 2011 12:00:08 AM GMT
So, here are the steps necessary to install NuGet on my windows laptop computer. I’ve got vs2010 (not sp1) installed, I’ve disabled both Resharper and .net Reflector just to be safe. First step, is to go to the NuGet.org web site and click on Install. (more)
category: Web Dev | clicked: 1 | 1 comment | | source: peterkellner.net
tags: ASP.NET 4.0, VS2010, MVC, ASP.NET, NuGet
5
Shouts

Dean Hume - Asp.net MVC HTML5 Toolkit - Latest Updates

published 819 days, 16 hours, 3 minutes ago posted by deanomachinodeanomachino 821 days, 5 hours, 31 minutes ago
Friday, February 25, 2011 10:54:52 PM GMT Thursday, February 24, 2011 9:27:29 AM GMT
Asp.net MVC HTML5 Toolkit - Latest Updates HTML5 has some fantastic features available to us, and I've tried to add as many of those features as I can to this toolkit. For more information on some of the features available to HTML5 form fields, please take a look at this article. I've added quite a few updates to the latest release of the ASP.net HTML5 Toolkit. If you haven't worked with the MVC Html5 toolkit before, please take a look at the following post.Video & Audio Support has been added ... (more)
category: Web Dev | clicked: 1 | comment | | source: deanhume.com
tags: Dean Hume, CodePlex, MVC HTML5 Toolkit, MVC, html5
9
Shouts

Global Exception Handling in MVC3

published 824 days, 16 hours, 53 minutes ago posted by tduponttdupont 829 days, 21 hours, 30 minutes ago
Sunday, February 20, 2011 10:04:43 PM GMT Tuesday, February 15, 2011 5:27:46 PM GMT
In MVC3 a GlobalFilterCollection has been added to the Application_Start. This allows you to register filters that will be applied to all controller actions in a single location. Also, MVC3 web applications now add an instance of HandleErrorAttribute to these GlobalFilters by default. This means that errors in the MVC pipeline will now be automatically handled by these attributes and never fire the HttpApplication's OnError event... (more)
category: Web Dev | clicked: 78 | 2 comments | | source: tinyurl.com
tags: Exception Handling, MVC 3, MVC
7
Shouts

Dean Hume - MVC 3 and Remote Validation

published 833 days, 12 hours, 50 minutes ago posted by deanomachinodeanomachino 835 days, 5 hours, 53 minutes ago
Saturday, February 12, 2011 2:08:32 AM GMT Thursday, February 10, 2011 9:05:25 AM GMT
MVC 3 and Remote Validation I must admit, I've been a bit of a slow starter when it comes to Asp.net MVC 3. I am an avid fan of MVC 2 and haven't really taken the time to look at MVC 3 until now. Wow - I am impressed though! There are a load of new features that have been added and the product just feels like it is getting better and better. While I was browsing the Asp.net MVC 3 Home page and reading through the feature list, one of the things that caught my eye was the new Remote Validation su... (more)
category: Web Dev | clicked: 5 | comment | | source: deanhume.com
tags: MVC3, remote validation, MVC
3
Shouts

Built-in Unit Test for ASP.NET MVC 3 in Visual Studio 2010 Part 2

published 840 days, 18 hours, 12 minutes ago posted by sonukapoorsonukapoor 841 days, 9 hours, 30 minutes ago
Friday, February 04, 2011 8:45:57 PM GMT Friday, February 04, 2011 5:27:48 AM GMT
In this article, we will delve into unit testing controllers in ASP.NET MVC, especially in terms of ASP.NET MVC 3 related concerns. (more)
category: Web Dev | clicked: 0 | comment | | source: dotnetslackers.com
tags: MVC, ASP.NET
Previous 1 2 3 4 5 6 7 8 9 10 ... 13 14 Next