Friday, October 24, 2008 -
A few months back I got to talking to J Sawyer who is a Developer Evangelist in the Texas area about the work I've been doing with the MVC Storefront. Before I worked at Microsoft, J was my "main man" with the Commerce Starter Kit - the very first Open Source project I ever worked on.
During the course of the conversation J asked me if I had any plans to do any "WebForm-y" stuff; and I said "no" since this was supposed to be an ASP.NET MVC project. But then I started thinking...
ASP.NET 3.0 doesn't have any Starter Kits out there (that I know of) and it's time we had one :). If I've done my job right - J should be able to take the back-end goodness (Services, Data Access, Unit Tests, etc) and put them behind an ASP.NET WebForms site. And he did!
And thus CSK 3.0 is born.
But wait! There's more!
Part of J's job at Microsoft will be to support this new project - something that I think is really, really groovy. More time, more love, more awesomeness :).
In addition to the work he's done to get the site rolled to WebForms - J's also created a DynamicData admin site! I've been wanting to do just that for a long time - and I think this is a perfect synthesis of how MVC, DynamicData, and ASP.NET WebForms can all play happily in the same sandbox.
I sat down with J and talked about this and some other things - so have a look-see!
Watch it here. (15 minutes, 16 Mb)
I really like what I've seen so far and also the WebForms version. In today's climate with PCI compliance issues, are you going to think about applying Payment Application Best Practices (PABP)?
The payment card industry is coming down hard on developers and web hosts to make sure their e-commerce applications comply. It's a pain, but necessary.
What are your thoughts about this?
Thanks.
Just looking through your code there, and I noticed you call something like this.GetFriendlyName(); from your view to get a nicer name for the logged in user.
Any reason for doing that rather than doing a Html.RenderAction
public ActionResult ShowLoginControl(string username)
{
ViewData["NickName"] = GetFriendlyName(username);
return View("_summary");
}
It would achieve much the same and push the data rather than pull it from the view, wouldn't it?
and Phoenix comes to mind. ;-)
I really like what I've seen so far and also the WebForms version. In today's climate with PCI compliance issues, are you going to think about applying Payment Application Best Practices (PABP)?
The payment card industry is coming down hard on developers and web hosts to make sure their e-commerce applications comply. It's a pain, but necessary.
What are your thoughts about this?
Thanks.
and Phoenix comes to mind… ;-)
Just looking through your code there, and I noticed you call something like this.GetFriendlyName(); from your view to get a nicer name for the logged in user.
Any reason for doing that rather than doing a Html.RenderAction<PersonalizationController>( c => c.ShowLoginControl(Page.User.Identity.Name)); in your Site.Master, and in that action in the controller maybe doing something like this:
public ActionResult ShowLoginControl(string username)
{
ViewData["NickName"] = GetFriendlyName(username);
return View("_summary");
}
It would achieve much the same and push the data rather than pull it from the view, wouldn't it?