Tag: MVC
All the articles with the tag "MVC".
-
ASP.Net MVC Membership Starter Kit
Yesterday, I read a cool blog post from Troy Goode about his new CodePlex project MvcMembership. I also noticed his call for help, so I decided to dedicate some of my evening hours to his project. Almost every (ASP.NET) website is using some form of authentication, in most cases based on ASP.NET membership. With this in mind, Troy started an ASP.NET MVC version of this. The current release version provides a sample application containing some membership functionality: FormsAuthenticationController featuring: Login action & view Logout action User List action & view
-
ASP.NET MVC Framework out on CodePlex
This morning, I was browsing the new projects page on CodePlex and noticed something nice! The ASP.NET MVC team already rumoured around making the ASP.NET MVC framework source code available on CodePlex, but here it is: the ASP.NET MVC project on CodePlex. The CodePlex project does not allow people to make their own contributions, but you can easily look under the hood or fix bugs for your production environment. How cool is that! Happy coding!
-
ASP.NET MVC - Testing issues Q and A
When playing around with the ASP.NET MVC framework and automated tests using Rhino Mocks, you will probably find yourself close to throwing your computer trough the nearest window. Here are some common issues and answers: A: When testing a controller action which expects Request.Form to be a NameValueCollection, a NullReferenceException is thrown… This is due to the fact that Request.Form is null. Use Scott’s helper classes for Rhino Mocks and add the following extension method:
-
March 18 ASP.NET MVC links
Too busy this week to write large blog posts myself… Luckily other people do write interesting things on ASP.NET MVC! ASP.NET MVC Route tester Test your routes by simply browsing to a specific URL and checking the output of this tool. The ASP.NET MVC request lifecycle Description of the ASP.NET MVC request lifecycle from request to response. ASP.NET MVC Membership manager (in German) Membership manager for the ASP.NET MVC framework including the necessary management controllers. ASP.NET MVC on Mono Tutorial on how to enable ASP.NET MVC on Mono. Define ASP.NET MVC routes in web.config
-
Heroes happen here - Microsoft TechDays 2008 in Belgium
Just to inform you: together with a numer of colleagues from Dolmen, I’ll be attending the Microsoft TechDays 2008 in Ghent, Belgium on 12 and 13 March 2008. Want to spot me, Joris, Jeroen, Danny, … and meet in person? Search for one of the guys in a Dolmen shirt! Update 17/03/2008: Jeroen posted an overview of the inspiring sessions on his blog.
-
ASP.NET MVC framework - Security
Some posts ago, I started playing with the ASP.NET MVC framework. In an example I’m creating, I’m trying to add Forms-based security. “Classic” ASP.NET offers a nice and easy way to set security on different pages in a web application, trough Web.config. In the example I’m building, I wanted to allow access to “/Entry/Delete/” only to users with the role “Administrator”. So I gave the following snip a try:
-
ASP.NET MVC Framework - Basic sample application
You might have noticed that I’m quite enhousiast about the new ASP.NET MVC framework. Basically, this new ASP.NET MVC framework is an alternative to standard ASP.NET webforms, with some advantages: No more postbacks or viewstate, no more page lifecycle trouble: all communication is done using a REST pattern Separation of concerns: no more pages containing cluttered business logic inside view logic (MVC) Testable model and controller: you can now create uinit tests which communicate with your model as if a user is browsing your website