Saturday, August 07, 2010 from Glav
When playing with the latest ASP.NET MVC 3 Preview 1 bits, some people have mentioned their dislike of the .cshtml extension used for the “razor” view engine that comes with ASP.NET MVC 3 and also WebMatrix. Well there are a number of ways you can change this. For the purposes of learning and tinkering, I decided to try and register a new view engine using the new Dependency Injection support within ASP.NET MVC 3. So, in the Global.asax.cs file I did this: protected void...
Saturday, August 07, 2010 from (Kila Morton)
Don't you just wish that when you port your applications from ASP.NET MVC 1 to ASP.NET MVC 2 and beyond that things just worked? If it did, I guess it would put some of us out of work. It is always nice to know that thanks to these updates and the technologies we employ to make our lives easier, we ...
Friday, August 06, 2010 from Stuart Leeks
In the last two posts (here and here) we added client-side validation support for the ValidatePasswordLengthAttribute that is part of the default ASP.NET MVC project template. In this post we will look at another of the validators in ...
Thursday, August 05, 2010 from Andre
The Challenge Recently I was challenged with the task of connecting a web application to Twitter and sending out a tweet. This article will focus on the connection to Twitter, saving the talk about sending out a tweet for another article. Having used TweetSharp last year, I thought I would check for ...
Thursday, August 05, 2010 from jzablocki
With all the recent attention given to the Razor view engine, I thought it would be interesting to see if I could prototype an even less intrusive syntax for a view engine. In other words… From WebForms: 1 2 3 4
Thursday, August 05, 2010 from Boyan Mihaylov
I think everyone knows about Dependency Injection (DI) and how important it is when it comes to building low-coupled components. There are many IoC (Inversion of Control) containers. The most popular are Spring.NET CastleWindsor StructureMap Ninject Unity Autofac Each of them has its own pros and co ...
Wednesday, August 04, 2010 from bleroy
Before I joined Microsoft seven years ago, I had spent a couple of years building a Web CMS. It wasn’t open-source unfortunately but the experience convinced me that most public-facing web sites would shortly use some form of CMS. I also forged strong opinions about the right level of component granularity that a CMS must implement. For the last year and a half, I have been fortunate enough to work with a talented small team within ASP.NET and with a growing community from all around the world...
Monday, August 02, 2010 from Malcolm Sheridan
A huge reason why I love ASP.NET MVC is its flexibility and it is extensible. I recently came across a topic on the forums on how to restrict certain HTTP requests when using ASP.NET MVC. This is a perfect scenario to create your own ...
Monday, August 02, 2010 from Haacked
In ASP.NET MVC 3 Preview 1, we introduced some syntactic sugar for creating and accessing view data using new dynamic properties. Sugar, it’s not just for breakfast. Within a controller action, the ViewModel property of Controller allows setting and accessing view data via property accessors that ar ...
Monday, August 02, 2010 from rachel
What is WebMatrix? WebMatrix is a free, lightweight Web development stack that makes it easy to build web sites that can grow with you, from installation to product deployment & maintenance. Developers can take advantage of mastering fundamental concepts of building apps for the web by using WebMatr ...
Sunday, August 01, 2010 from noreply@blogger.com (Anoop Madhusudanan)
In my last post, I introduced XamlAsyncController, a POC implementation that shows how to render Xaml controls from ASP.NET MVC. I've modified the code a bit more, so that now you pass some ViewModel objects during the rendering process ...
Saturday, July 31, 2010 from Paul
A bunch of people have been posting answers to David Burela’s ‘ What is your preferred technology stack?’ question and I thought I’d join in. At work we’re just finishing up on a smallish project that uses this stack: ASP.NET MVC 2.0 If you’re developing web applications on Microsoft’s stack, the We ...
Saturday, July 31, 2010 from Manfred
In an ASP.NET application if you want to manipulate the HTML code after it has been rendered but before it is being sent back to the client, you can use a custom filter to intercept that stream and modify it according to your needs. One scenario is injecting elements that in turn can be used by the ...
Thursday, July 29, 2010 from Damian
Paul Stovell started something with his Ultimate Lib Folder post, David Burela picked up the meme and has run with it so I thought I'd join in. I've recently started a new personal project, these are always a fun way to get your hands on some new tools to experiment. So here goes. ASP.NET MVC. In my ...
Thursday, July 29, 2010 from jeloff
MVC 3 Preview 1 was released earlier this week. It’s packed with new features such as dependency injection, global filters and new tooling to support multiple view engines, including the new Razor view engine for C# (see the end of this post for a list of related posts). Support for Visual Basic will be included in a future release of MVC. For now, our focus has been on getting as much of the C# support completed, including new project types, item templates and T4 files. In this post I...