Using PostSharp with ASP.Net MVC

Tagged Under : , , , ,

I’ve been diving into some new .Net frameworks and libraries lately and thought I should share some of the cool stuff I’ve learned. I’m going to share what I’ve learned while using PostSharp with the new ASP.Net MVC framework.

I have already posted a few things about the new MVC framework so I won’t explain why Im excited for it. But, I havent talked about PostSharp so lets go over that really quick. First, you NEED to watch this video. It goes over exactly what I am using PostSharp for and shows off its power in just a few minutes. Next, you need to read up on what Aspect Oriented Programming means. The wiki article is pretty complex though. What you need to take away from it is how it helps programmers ’separate concerns’, modularize your code, easily apply ‘aspects/modules’ to various parts of your code and avoid maintenance problems. Another good link is http://www.postsharp.org/aop.net/.

Let’s talk about the sample project now.

Read the rest of this entry »

ASP.Net MVC Preview 3

Tagged Under : ,

I just learned that the ASP.Net team has released their 3rd preview of the new MVC Framework. Things just keep getting better and better!

http://weblogs.asp.net/scottgu/archive/2008/05/27/asp-net-mvc-preview-3-release.aspx

If you’re the kind of person that likes to just dive into code to learn new things then I highly recommend that you check out the open-source twitter clone called Yonkly. The source was just made available here and was written using the ASP.Net MVC framework. I’m playing with the code right now!

http://www.emadibrahim.com/2008/05/29/yonkly-source-code/