Mvc 4
Upcoming SlideShare
Loading in...5
×
 

Mvc 4

on

  • 68 views

 

Statistics

Views

Total Views
68
Views on SlideShare
68
Embed Views
0

Actions

Likes
0
Downloads
1
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Mvc 4 Mvc 4 Presentation Transcript

  • - Biren Modi
  •  MVC Framework  MVC Project Templates
  • Previous Version In MVC 4.0 public class Products : AsyncController { public void IndexAsync() { WebClient wc1 = new WebClient(); AsyncManager.OutstandingOperations .Increment(); wc1.DownloadStringCompleted += (sender, e) => { AsyncManager.Parameters[“resul t"] = e.Result; AsyncManager.OutstandingOperat ions.Decrement(); }; wc1.DownloadStringAsync(new Uri("http://www.bing.com/")); } public ActionResult IndexCompleted(string result) { return View(); } } public class Products : Controller { public async Task<ActionResult> IndexAsync() { WebClient web = new WebClient(); string result = await web.DownloadStringAsync("www.bing.com/"); return View(); } }
  • public static void RegisterBundles(BundleCollection bundles) { BundleTable.EnableOptimizations = true; bundles.Add(new ScriptBundle("~/bundles/jquery").Include( "~/Scripts/jquery-{version}.js")); bundles.Add(new StyleBundle ("~/Content/css").Include("~/Content/site.css")); bundles.Add(new StyleBundle("~/Content/themes/base/css").Include( "~/Content/themes/base/jquery.ui.core.css", "~/Content/themes/base/jquery.ui.theme.css")); }
  •  Enabling Logins from Facebook and Other Sites Using OAuth and OpenID  App_Start folder and separate classes ◦ Routing ◦ Bundling ◦ Filters ◦ etc..  Display Modes ◦ Desktop ◦ Mobile  Azure SDK  Database Migrations
  •  ASP.NET Web API  Mobile Project Template  Enhancements to Default Project Templates  Empty Project Template