Video Case Study: DevExpress In ASP.NET MVC Framework

ASP.NET Team Blog
17 February 2009

Video: Cody Shows DevExpress in ASP.NET MVC Framework Check out this video interview with Cody Skidmore. Cody has created an ASP.NET MVC website that uses DevExpress ASP.NET controls. In the video, you'll see:

  • Cody's ASP.NET MVC logging website
  • What DevExpress controls Cody used
  • Thoughts on ASP.NET MVC

Background

A few months ago, Cody asked me with great interest about DevExpress plans to support the upcoming ASP.NET MVC framework. At the time, we hadn't solidified our thoughts, but now we've announced that we'll support ASP.NET MVC in a future release.

However, Cody did some experimenting and figured out that with a few tweaks that you can get some DevExpress ASP.NET controls to work with ASP.NET MVC right away. So he build a website for his company, ARMTech Insurance. And he's been kind enough to share his website, project source code, thoughts and time to show you what's possible with Developer Express controls.

How?

Since DevExpress ASP.NET controls support callbacks, it wasn't difficult for Cody to get the controls working within ASP.NET MVC framework. Watch the video screencast to learn more.

ASP.NET MVC?

The Microsoft ASP.NET MVC framework is different than ASP.NET Web Forms. To learn more, watch some of the tutorial videos on the Microsoft ASP.NET MVC website.

Free Download

Cody has also been generous enough to share his ASP.NET MVC + DevExpress website. The file link below contains:

  • Full Visual Studio solution
  • SQL Express databases
  • Cody's presentation slides on ASP.NET MVC

Click link to download: DevExpressCaseStudyMVC

Feedback

Click the video image and watch the video. Then do me a favor and leave Cody some kind words for sharing with us all. Feel free to ask Cody any questions as he'll be watching this blog post.

17 comment(s)
CESAR F. QüEB
CESAR F. QüEB

Thank you Cody!

Really this source code and video are appreciated.

Cheers

18 February, 2009
Aaron Smith
Aaron Smith

This is awesome! Thanks Cody for sharing all this info!

18 February, 2009
Anonymous
Cody Skidmore

You're both welcome.  I'll update the source to soon.  The RTM release is eminent.

18 February, 2009
Mehul Harry (DevExpress)
Mehul Harry (DevExpress)

Cody has provided an updated version of the MVC Source code. Click the link in the blog post to download it.

2 March, 2009
Anonymous
Giang

XinLay

22 March, 2009
Trevor Westerdahl
Trevor Westerdahl

I hope full MVC support is a priority.

MVC is certainly one of the most successful ventures and seems to be gaining ground quckly... as a long-time DevExpress user, I want the marriage to work.

BTW: Thanks for the update, I haven't seen much released about MVC and these posts are the only insight we have.

15 April, 2009
Anonymous
Geoff Davis

Thanks Cody, Great video. I'll have a look at the source code soon. I'm really starting to like MVC :-)

28 April, 2009
Brian Boatright
Brian Boatright

This is a great demo and only took me a few minutes to install including restoring the db's. Thanks!

1 May, 2009
Anonymous
ilahi dinle

Thanks Cody for sharing all this info!

15 May, 2009
Anonymous
ilahi dinle

Thanks Cody for sharing all this info!

30 May, 2009
Cody Skidmore
Cody Skidmore

You're welcome guys.  When ASP.NET MVC 1.0  was released, I tweaked the source incorportating strict views and [accidentally] found a way to bind Webform controls by adding a Page_Load event inside the view page.

If you have questions, email me here:  cody at skidmore dot us.

Cody

4 June, 2009
Shuja Rehman
Shuja Rehman

Hi Cody. can you tell me how to use AspxScheduler with MS sql server 2005 in asp.net MVC?

Thanks

Shuja

15 June, 2009
Cody Skidmore
Cody Skidmore

Shuja Rehman,

Thanks for contacting me.  I'll see what I can work up for a sample project.

With Regards,

Cody Skidmore

15 June, 2009
Anonymous
ilahiler

thanks you very nice post

20 July, 2009
Anonymous
ilahi

THANKS

24 July, 2009
Yuri Makassiouk
Yuri Makassiouk

Thanks, this was inspired. However, I tried to repeat the achievement using the trial version of ASPxGridView v. 11.2, within an MVC 3 application, using VS 2010, without much success.

I managed to get the grid display the first page of the data, but not much else - paging doesn't work (pager displayed the links correctly though), filtering, sorting - on any of these actions the grid would display the "loading" gif and stay like that forever.

I downloaded the case study project (thanks for providing it), replaced the references to DevExpress assemblies with the ones I have on my system (trial 11.2), bypassed the login check and replaced the datasource for the LogView grid with some mockup ArrayList with strings. Then, I allowed the grid to autocreate the columns and deleted the statically defined columns. These were the only changes I made, and it showed the same behavior - loaded the data, but no interactivity.

Is it valid to assume something changed in the newer version which made this approach fail?

11 April, 2012
Mehul Harry (DevExpress)
Mehul Harry (DevExpress)

Yuri,

Please contact our support team here and they can help you:

www.devexpress.com/.../CreateIssue.aspx

Thanks.

11 April, 2012

Please login or register to post comments.