Sign in
Life as a Developer Evangelist
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Tags
AJAX
Application Design
ASP.NET
Azure
Entity Framework
Events
IIS
JQuery
MVC
SEO
Silverlight
WCF
Browse by Tags
MSDN Blogs
>
Life as a Developer Evangelist
>
All Tags
>
mvc
Tagged Content List
Blog Post:
Quick Tips About ASP.NET MVC – Using AJAX 4 DataViews
Nuno Silva _MS_
In the last quick tip about MVC , we created an AJAX-enabled Partial View that used JQuery to get the data from an action method that returned JSON. After fetching the data, we used JQuery again to add rows to a pre-existing table as a way to render our information. In the end, the view looked like...
on
19 Feb 2010
Blog Post:
Quick Tips About ASP.NET MVC – AJAX-Enabled Partial Views
Nuno Silva _MS_
In the last post , we successfully implemented a webpart framework that renders simple static Views and allows the user to change the layout. However, one must wonder what needs to be done to make our web parts richer. At the moment, I’m not passing any data to these webparts so they simply render...
on
17 Feb 2010
Blog Post:
Quick Tips About ASP.NET MVC – WebPart Framework
Nuno Silva _MS_
In the small poll I made , one of the users suggested implementing a Dashboard/WebPart framework in MVC as a good subject for a quick tip. Obviously, implementing this kind of framework is hard work so I chose to use the KISS (Keep It Simple Stupid) principle on it. What I implemented here is a very...
on
16 Feb 2010
Blog Post:
Quick Tips About ASP.NET MVC - Building a Bulletproof Edit View - Part 3 - Custom Validation and Safe ways to update your model
Nuno Silva _MS_
In the last post of this series we implemented a way of handling the one-to-many relationship between the Author and the Community entities, allowing the user to specify which community an Author belongs to. Previously , you saw me adding both client-side and server-side validation to my Edit view...
on
12 Feb 2010
Blog Post:
ASP.NET MVC - Great post about handling one-to-many and many-to-many relationships
Nuno Silva _MS_
In the previous Quick Tip , we handled a one-to-many relationship between two entities, by allowing users to update the association in an Edit View. We did do it on the easy side, however, since in our example, one Author only has one Community assigned. If we were creating an Edit view for the Community...
on
10 Feb 2010
Blog Post:
Quick Tips About ASP.NET MVC - Building a Bulletproof Edit View - Part 2 - Handling associations
Nuno Silva _MS_
Continuing where we left off , and before we add some custom validation to our model, let’s try to clean up things a bit. If we take a look at the current form, we notice two things: First, we have some fields here that the user shouldn’t be allowed to change. One is the ID, which is an internal...
on
10 Feb 2010
Blog Post:
Quick Tips About ASP.NET MVC - Building a Bulletproof Edit View - Part 1
Nuno Silva _MS_
Ok, so this one is not really a “Quick” tip. It’s a bit long, so I’m dividing it into two posts to make it a bit more readable. The objective is to build a solid Edit view with both client and server-side validation of data, as well as showing you how to avoid some common pitfalls I see being frequently...
on
10 Feb 2010
Blog Post:
ASP.NET MVC - Very nice utilization of Editor Templates for editing DateTime fields
Nuno Silva _MS_
Following the " Quick Tips About ASP.NET MVC - Editor Templates ", I found this great example of using an Editor Template to render a JQuery date picker. http://geekswithblogs.net/michelotti/archive/2010/02/05/mvc-2-editor-template-with-datetime.aspx I'm trying to find the time to post more quick...
on
10 Feb 2010
Blog Post:
Quick Tips About ASP.NET MVC - What would you like to see?
Nuno Silva _MS_
The "Quick Tips About ASP.NET MVC" series of posts is getting a lot of attention and I've been receiving a lot of feedback about it, which is not only very rewarding, but also surpasses what I could have foreseen. I do have a few more tips coming out soon, but I thought it would be interesting to...
on
9 Feb 2010
Blog Post:
Quick Tips About ASP.NET MVC – Editor Templates
Nuno Silva _MS_
In the last quick tip , I showed off how you can use the UIHint data annotation to specify a custom template for rendering of a particular field. An important part of that mechanism is the DisplayFor strongly-typed html helper that was introduced in ASP.NET MVC 2. As mentioned before, we can also...
on
8 Feb 2010
Blog Post:
Quick Tips About ASP.NET MVC – UI Helpers and Templates
Nuno Silva _MS_
One very interesting addition to MVC 2 is the power to assign templates to fields in your classes and make the rendering suit your needs. The advantage is that, if you need to display the same field in several views, you can benefit from a one-stop place where you can customize its display and have all...
on
8 Feb 2010
Blog Post:
ASP.NET MVC Quick Tips – Can I change the templates?
Nuno Silva _MS_
So, you’re using ASP.NET MVC and having a blast (at least I hope you are). If you are anything like me (and most developers), your design skills are pretty much non-existent. That’s why there are designers working in most web applications. But anyway, if they keep complaining about the structure of...
on
4 Feb 2010
Blog Post:
ASP.NET MVC Quick Tips – Pass data to your master page
Nuno Silva _MS_
While I was preparing another demo, I ran into an interesting problem that hadn’t occurred to me before. I was building a sample e-commerce site and thought it would be nice to always display the category list on the left hand side of every page. The first way I could think of was always passing that...
on
4 Feb 2010
Blog Post:
ASP.NET MVC Quick Tips – How do I pass data to a view?
Nuno Silva _MS_
In the last “Quick Tip” we talked about the model and we pretty much reached the conclusion that it can be anything. After all, as long as the View that we pass the model to can interpret it and render it, it’s all good. In any case, there are two simple ways of passing data to a view: · ViewData...
on
4 Feb 2010
Blog Post:
ASP.NET MVC Quick Tips – What should my Model be?
Nuno Silva _MS_
This question is interesting, and it is actually a bunch of questions bunched up together. It took me a while to figure out why I was getting so many questions around this topic but I finally figured it out. Most of the sessions around MVC and even most of the samples you find online are built over...
on
4 Feb 2010
Blog Post:
ASP.NET MVC Quick Tips – let’s get this rolling
Nuno Silva _MS_
Lately, I’ve been having a lot of conversations about ASP.NET MVC. I’ve been following this technology for quite some time and delivered a couple of technical sessions around it that were very appreciated by the audiences. Unfortunately, usually being limited to one hour talks, I don’t have enough...
on
4 Feb 2010
Page 1 of 1 (16 items)