Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

ASP.NET MVC 6 (now with integrated Web API!)

Download

Right click “Save as…”

  • MP3 (Audio only)
  • MP4 (iPhone, Android)
  • High Quality MP4 (iPad, PC, Xbox)
  • Mid Quality MP4 (Windows Phone, HTML5, iPhone)

ASP.NET MVC and ASP.NET Web API in ASP.NET vNext are becoming one singular framework: ASP.NET MVC 6. Join Daniel Roth as he shows how to create great ASP.NET web apps that serve both pages and services. First we'll see how to build OData v4 compliant services using ASP.NET Web API 2.2 and the new attribute routing features available in ASP.NET MVC 5.2. Then we'll take a look at how ASP.NET MVC and Web API are being combined into a single framework, ASP.NET MVC 6, for handling all of your Web UI and services. We'll learn how to use ASP.NET MVC and Web APIs in ASP.NET vNext to support connected applications for browsers, Windows Phone, Windows Store and more!

 

Follow the Discussion

  • :)

  • ASP.NET MVC is the best MVC framework, Keep up the excellent work, to makes it better!

  • L.S.C. Jorge Apodacalicjapodaca MCSD in Web Apps

    Hi Daniel, can you share us the PowerPoint presentation of this session please ...

  • Hi

    One thing I would like to see improved is support for multilingual websites. The curent way to go is using resx files which is outdated and not at all convenient for a website.

    I would like the new MVC version to include somekind of a database driven language support meaning database should be used instead of resx, giving the users the ability to edit the text.

     

  • Yeah resx is nice but something better would be cool.

    Maybe building on something like what i started here http://visualstudiogallery.msdn.microsoft.com/8b008710-a354-4503-b70d-784493114d5d

    It basically just scaffolds resx files into a c# proxy class to provide intellisense anywhere one likes. Not much work would be needed to hook that into a database with caching and all. Hey, even EF just hitting a key/value table probably could do the trick too ..but something consistent and well build into the framework would be a nice welcome !

  • mahdiamerimahdiameri

    Hello is very very good

  • In the whole 60 minutes I did not see how the data is retrieve and bind to the UI.

  • Seems to have great potential :D

  • Jan KratochvílJan​Kratochvil Jan Kratochvil

    Great pace of talk, really fun to watch ;).

  • Is the "edit -> save -> refresh" process going to be sped up in the future? In a video simple string change causes 6-9 seconds wait when refreshing the application in the browser. That is a lot comparing to node or php.

  • MiguelMiguel

    i notice the use of chrome as a default browser in his presentation. does it means IE is not longer being used as primary browser even in Microsoft?
    I think, Microsoft is rushing to produce software tools without a proper solid direction. Looks like they are just reacting to the market.....

  • haydozhaydoz

    Miguel, you serious? Nice way to focus on the most irrelevant point of the session.

    MVC6 is still a year away - I am not sure why you say they are rushing to produce tools with no direction. What I see is a more transparent development path.

    Personally, I'm a massive fan of the direction MS are going.

  • Hi all,

    IActionResultHelper has been changed to ContentResult,

    Code on this video was:

            public TestController(IActionResultHelper helper)
            {
                Result = helper;
            }
    
            public IActionResultHelper Result { get; set; }
    
            public IActionResult MvcAction()
            {
                return Result.Content // ("MvcAction", null, null);
            }
    

    Now in CTP2 is:

            public TestController(ContentResult helper)
            {
                Result = helper;
            }
    
            public ContentResult Result { get; set; }
    
            public IActionResult MvcAction()
            {
                return Result.?????? // ("MvcAction", null, null);
            }
    

    What is a new code for "Result.Content"?

    Thanks

  • mpristasmpristas

    @jsiahaan: As IActionResult is helper for creating ActionResults I suppose Result property is of type ActionResult which is also a parent class for ContentResult. So returning ContentResult should be ok.

    I haven't test it, It's only how I expect it to work

  • Vijay ArockiasamyVijay Arockiasamy

    Is there a way to get the Presentation and Source code used in this video.Please help.

  • @mpristas:This is the answer:

            public TestController(ContentResult helper)
            {
                Result = helper;
            }
    
            public ContentResult Result { get; set; }
    
            public ActionResult MvcAction()
            {
                return new ContentResult
                {
                    Content = "MvcAction Content"
                };
            }

    Thanks

Remove this comment

Remove this thread

close

Comment on this Session

Already have a Channel 9 account? Please sign in