|
03
12
|
ASP.NET MVC: Securing Your Controller Actions
|
Many people on the forums want to know how to best protect Actions on their Controller using Forms Authentication. The MVC Team has done a nice job introducing Filters (using Attributes) to this latest drop of MVC, and in this post I'll show you how to create a filter that can handle security. ...
|
|
|
|
01
25
|
Ramble: ASP.NET MVC Is A Geek Chisel
|
Scott Hanselman and I were on the phone the other day talking about Community stuff surrounding MVC and certain ideas we had. The next thing ya know we're waving our phone arms and waxxing poetic as we try to phrase what we think the "MVC Story" is. We each have our thoughts and Scott wrote his up here...
|
|
|
|
01
14
|
SubSonic And MVC: Introducing Makai
|
One of my main responsibilities at Microsoft is to help build out the developer love around ASP.NET and ASP.NET MVC using SubSonic and other contributions (like the MVC Toolkit). I've been having a lot of fun working on SubSonic over the last year and some, and it gets more and more fun as the new MVC...
|
|
|
|
01
07
|
ASP.NET MVC: Using UserControls Usefully
|
This post is in response to a forum user, who is wondering how to properly use a ViewUserControl: I'm sorry if this is a really silly question, but I'm having a hard time grokking what the right usage of a ViewUserControl looks like. Does one invoke the RenderView from a controller? If so, where is the...
|
|
|
|
12
28
|
ASP.NET MVC: Using Helper Classes And Services
|
This question has come up many times in the forums: I have an application that needs functionality X, but I need it everywhere - including my Master Page. Where should I put this stuff? This kind of issue is pretty common using MVC, where logic is piped along some clearly defined paths. Often, however...
|
|
|
|
12
19
|
... In Which We Discuss HTML-Encoding
|
Having a great discussion over on the ASP.NET MVC forums about Html-Encoding and what should be done about it. All-in-all it's a pretty good post and is rapidly making me see what working for Microsoft is all about :). Specifically the discussion centers around HTML-Encoding and when it should be dealt...
|
|
|
|
12
14
|
ASP.NET MVC: Choosing Your Data Access Method
|
I've been asked a lot over the last few weeks this question: Should I use SubSonic, LinqToSql, or NHibernate? And I think it's probably a good idea to go over these things in a post - so here goes... Which To Choose? If you've decided to use ORM (Object-Relational Mapping), then you...
|
|
|
|
12
13
|
It's Haack Season
|
Phil's a Forum Hound ( with some great hair I might add - it does that Becks faux-hawk thing), and I'm getting cheesed off about it. He and I are in a bit of a competition up at the ASP.NET MVC Forums to see who can answer the most questions. They have yet to get around to adding me to the MS Group ...
|
|
|
|
12
10
|
ASP.NET MVC: PagedList<T>
|
In some of his demos, ScottGu used a method that we didn't include in the MVCToolkit called "PagedList<T>", which basically pages a Linq query. I'm hoping to include this in the next drop of the Toolkit, but until then, I have the code for you :). Just drop this into a code file on your site, the...
|
|
|
|
12
10
|
ASP.NET MVC Is Here (CTP)
|
The bits: Download ASP.NET 3.5 Extensions (includes MVC) The Toolkit (contains the UI Helpers - you'll want this too) Download here . Learn about it: ASP.NET MVC Framework ASP.NET MVC Framework (Part 1) ASP.NET MVC Framework (Part 2): URL Routing ASP.NET MVC Framework (Part 3): Passing ViewData from...
|
|
|
|
12
06
|
ASP.NET MVC: Using RESTful Architecture
|
There's a lot of information out there on how to do specific things with ASP.NET MVC, but not much in the way of architectural approaches that you can use to leverage the new MVC option. Indeed, there are many ways to set your application up using MVC, but one of them (in my mind) has some added benefits...
|
|
|
|
12
05
|
ASP.NET MVC Preview: Using The MVC UI Helpers
|
For the last month or so I've been working on the MVC UI Helpers (aka the MVC Toolkit) that will help developers work with HTML in their Views. These helper methods are primarily Extension Methods, and are designed to encapsulate UI code in much the same way that Server Controls do with Web Forms. It...
|
|
|
|
11
05
|
SubSonic: MVC Preview Video
|
I went and bought myself a Camtasia license for the new version 5.0 that's coming out and WOW did I geek out . There's a whole ton of fun you can have, and a lot of time to be wasted with this thing :). I started out doing a normal webcast with me droning on and on - but it seemed a bit silly to get...
|
|
|
|
10
25
|
How MVC, jQuery, and SubSonic Will Make You Smile
|
As I continue to work with the new MVC bits with respect to SubSonic, I keep smacking my forehead (and there's a lot to smack) at how much simpler things can be if I stop overthinking them. Getting to know toolsets like jQuery and SubSonic can offer many of these moments. Bundle that with the new MVC...
|
|
|