Results 1 to 2 of 2

Thread: Silverlight with MVC - Getting started

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2000
    Location
    Dunmow,Essex,England
    Posts
    898

    Silverlight with MVC - Getting started

    HI All,

    I'm using VS2010. I have created a Silverlight project and selected to use the MVC Framework. I also selected to create a test project. The Solution also generated TestPage.aspx and TestPage.html in the route.

    I have added a data model and added a reference to this in my HomeController.cs Of the main project. How can I set my Index.aspx page in the Views\Home directory as the start up. simply right clicking and setting as startup isn't good enough as I get a 404 error.

  2. #2
    Frenzied Member MattP's Avatar
    Join Date
    Dec 2008
    Location
    WY
    Posts
    1,227

    Re: Silverlight with MVC - Getting started

    Here's a pretty good article by Tim Heuer on the subject.

    http://timheuer.com/blog/archive/200...spnet-mvc.aspx

    If you've got an existing MVC implementation in place and you want to change out Silverlight for the View I can see you doing this.

    If you're starting from scratch I'd suggest taking a serious look into MVVM. I've written a couple of posts here: www. vb dot net forums. com/mv/44126-mvvm-implementation-discussion.html (Real classy blanking out that as a postable link) with the implementation that I'm currently using. Hopefully you'll be able to use some of it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width