Professional ASP.NET MVC 4

Size: px
Start display at page:

Download "Professional ASP.NET MVC 4"

Transcription

1 Professional ASP.NET MVC 4 Galloway, J ISBN-13: Table of Contents FOREWORD xxvii INTRODUCTION xxix CHAPTER 1: GETTING STARTED 1 A Quick Introduction to ASP.NET MVC 1 How ASP.NET MVC Fits in with ASP.NET 2 The MVC Pattern 2 MVC as Applied to Web Frameworks 3 The Road to MVC 4 3 ASP.NET MVC 1 Overview 4 ASP.NET MVC 2 Overview 4 ASP.NET MVC 3 Overview 5 MVC 4 Overview 10 ASP.NET Web API 10 Enhancements to Default Project Templates 11 Mobile Project Template using jquery Mobile 13 Display Modes 14 Bundling and Minifi cation 14 Included Open Source Libraries 15 Miscellaneous Features 15 Open Source Release 17 Creating an MVC 4 Application 17 Software Requirements for ASP.NET MVC 4 17 Installing ASP.NET MVC 4 18 Installing the MVC 4 Development Components 18 Installing MVC 4 on a Server 18 Creating an ASP.NET MVC 4 Application 19 The New ASP.NET MVC 4 Dialog 20 Application Templates 20 View Engines 22 Testing 22 The MVC Application Structure 24 ASP.NET MVC and Conventions 27 Convention over Confi guration 28

2 Conventions Simplify Communication 29 Summary 29 CHAPTER 2: CONTROLLERS 31 The Controller s Role 31 A Sample Application: The MVC Music Store 34 Controller Basics 36 A Simple Example: The Home Controller 37 Writing Your First Controller 40 Creating the New Controller 40 Writing Your Action Methods 42 A Few Quick Observations 43 Parameters in Controller Actions 43 Summary 46 CHAPTER 3: VIEWS 47 The Purpose of Views 48 Specifying a View 49 ViewData and ViewBag 51 Strongly Typed Views 52 View Models 54 Adding a View 54 Understanding the Add View Dialog Options 55 The Razor View Engine 57 What Is Razor? 57 Code Expressions 59 HTML Encoding 61 Code Blocks 62 Razor Syntax Samples 63 Implicit Code Expression 63 Explicit Code Expression 63 Unencoded Code Expression 64 Code Block 64 Combining Text and Markup 64 Mixing Code and Plain Text 65 Escaping the Code Delimiter 65 Server-Side Comment 65 Calling a Generic Method 66 Layouts 66 ViewStart 69 Specifying a Partial View 69

3 Summary 70 CHAPTER 4: MODELS 71 Modeling the Music Store 72 Scaff olding a Store Manager 74 What Is Scaff olding? 74 Empty Controller 75 Controller with Empty Read/Write Actions 75 API Controller with Empty Read/Write Actions 75 Controller with Read/Write Actions and Views, Using Entity Framework 75 Scaff olding and the Entity Framework 76 Code First Conventions 77 The DbContext Class 77 Executing the Scaff olding Template 78 The Data Context 79 The StoreManagerController 79 The Views 81 Executing the Scaff olded Code 82 Creating Databases with the Entity Framework 82 Using Database Initializers 83 Seeding a Database 84 Editing an Album 86 Building a Resource to Edit an Album 86 Models and View Models Redux 88 The Edit View 88 Responding to the Edit POST Request 89 The Edit Happy Path 90 The Edit Sad Path 90 Model Binding 91 The DefaultModelBinder 91 Explicit Model Binding 92 Summary 94 CHAPTER 5: FORMS AND HTML HELPERS 95 Using Forms 95 The Action and the Method 96 To GET or to POST? 97 Searching for Music with a Search Form 97 Searching for Music by Calculating the Action Attribute Value 99 HTML Helpers 100 Automatic Encoding 100

4 Making Helpers Do Your Bidding 101 Inside HTML Helpers 102 Setting Up the Album Edit Form 102 Html.BeginForm 102 Html.ValidationSummary 103 Adding Inputs 103 Html.TextBox and Html.TextArea 104 Html.Label 105 Html.DropDownList and Html.ListBox 105 Html.ValidationMessage 107 Helpers, Models, and View Data 107 Strongly Typed Helpers 109 Helpers and Model Metadata 110 Templated Helpers 111 Helpers and ModelState 112 Other Input Helpers 112 Html.Hidden 112 Html.Password 112 Html.RadioButton 113 Html.CheckBox 113 Rendering Helpers 113 Html.ActionLink and Html.RouteLink 114 URL Helpers 114 Html.Partial and Html.RenderPartial 115 Html.Action and Html.RenderAction 116 Passing Values to RenderAction 117 Cooperating with the ActionName Attribute 117 Summary 118 CHAPTER 6: DATA ANNOTATIONS AND VALIDATION 119 Annotating Orders for Validation 120 Using Validation Annotations 122 Required 122 StringLength 122 RegularExpression 123 Range 123 Validation Attributes from System.Web.Mvc 124 Custom Error Messages and Localization 125 Looking behind the Annotation Curtain 125

5 Validation and Model Binding 126 Validation and Model State 126 Controller Actions and Validation Errors 127 Custom Validation Logic 128 Custom Annotations 129 IValidatableObject 132 Display and Edit Annotations 133 Display 133 Scaff oldcolumn 134 DisplayFormat 134 ReadOnly 134 DataType 135 UIHint 135 HiddenInput 135 Summary 135 CHAPTER 7: MEMBERSHIP, AUTHORIZATION, AND SECURITY 137 Using the Authorize Attribute to Require Login 139 Securing Controller Actions 140 How the AuthorizeAttribute Works with Forms Authentication and the AccountController 143 Windows Authentication in the Intranet Application Template 145 Securing Entire Controllers 146 Securing Your Entire Application Using a Global Authorization Filter 147 Using the Authorize Attribute to Require Role Membership 148 Extending Roles and Membership 149 External Login via OAuth and OpenID 150 Registering External Login Providers 150 Configuring OpenID Providers 152 Configuring OAuth Providers 155 Security Implications of External Logins 155 Trusted External Login Providers 155 Require SSL for Login 156 Understanding the Security Vectors in a Web Application 157 Threat: Cross-Site Scripting 157 Threat Summary 157 Passive Injection 157 Active Injection 160 Preventing XSS 162 Threat: Cross-Site Request Forgery 167

6 Threat Summary 167 Preventing CSRF Attacks 169 Threat: Cookie Stealing 171 Threat Summary 171 Preventing Cookie Theft with HttpOnly 172 Threat: Over-Posting 172 Threat Summary 173 Preventing Over-Posting with the Bind Attribute 174 Threat: Open Redirection 175 Threat Summary 175 Protecting Your ASP.NET MVC 1 and MVC 2 Applications 179 Taking Additional Actions When an Open Redirect Attempt Is Detected 182 Open Redirection Summary 183 Proper Error Reporting and the Stack Trace 183 Using Confi guration Transforms 184 Using Retail Deployment Confi guration in Production 185 Using a Dedicated Error Logging System 185 Security Recap and Helpful Resources 185 Summary 187 CHAPTER 8: AJAX 189 jquery 190 jquery Features 190 The jquery Function 190 jquery Selectors 192 jquery Events 192 jquery and Ajax 193 Unobtrusive JavaScript 193 Using jquery 194 Custom Scripts 195 Placing Scripts in Sections 195 The Rest of the Scripts 196 Ajax Helpers 196 Ajax ActionLinks 197 HTML 5 Attributes 199 Ajax Forms 200 Client Validation 202 jquery Validation 202 Custom Validation 203 IClientValidatable 204

7 Custom Validation Script Code 205 Beyond Helpers 207 jquery UI 208 Autocomplete with jquery UI 209 Adding the Behavior 210 Building the Data Source 210 JSON and Client-Side Templates 212 Adding Templates 212 Modifying the Search Form 213 Getting JSON 214 jquery.ajax for Maximum Flexibility 216 Improving Ajax Performance 217 Using Content Delivery Networks 217 Script Optimizations 217 Bundling and Minifi cation 218 Summary 219 CHAPTER 9: ROUTING 221 Uniform Resource Locators 222 Introduction to Routing 223 Comparing Routing to URL Rewriting 223 Defining Routes 224 Route URLs 224 Route Values 226 Route Defaults 227 Route Constraints 230 Named Routes 231 MVC Areas 233 Area Route Registration 233 Area Route Confl icts 234 Catch-All Parameter 234 Multiple URL Parameters in a Segment 235 StopRoutingHandler and IgnoreRoute 236 Debugging Routes 237 Under the Hood: How Routes Generate URLs 239 High-Level View of URL Generation 239 A Detailed Look at URL Generation 240 Ambient Route Values 242 Overfl ow Parameters 244 More Examples of URL Generation with the Route Class 244

8 Under the Hood: How Routes Tie Your URL to an Action 245 The High-Level Request Routing Pipeline 246 RouteData 246 Custom Route Constraints 246 Using Routing with Web Forms 247 Summary 248 CHAPTER 10: NUGET 249 Introduction to NuGet 249 Installing NuGet 250 Adding a Library as a Package 252 Finding Packages 252 Installing a Package 254 Updating a Package 256 Recent Packages 257 Package Restore 257 Using the Package Manager Console 259 Creating Packages 262 Packaging a Project 262 Packaging a Folder 263 NuSpec File 263 Metadata 264 Dependencies 266 Specifying Files to Include 267 Tools 268 Framework and Profi le Targeting 271 Prerelease Packages 272 Publishing Packages 272 Publishing to NuGet.org 273 Using NuGet.exe 274 Using the Package Explorer 275 Summary 278 CHAPTER 11: ASP.NET WEB API 279 Defining ASP.NET Web API 280 Getting Started with Web API 280 Writing an API Controller 281 Examining the Sample ValuesController 282 Async by Design: IHttpController 283 Incoming Action Parameters 284 Action Return Values, Errors, and Asynchrony 284

9 Configuring Web API 285 Configuration in Web-Hosted Web API 286 Configuration in Self-Hosted Web API 286 Configuration in Third-Party Hosts 287 Adding Routes to Your Web API 287 Binding Parameters 288 Filtering Requests 290 Enabling Dependency Injection 291 Exploring APIs Programmatically 292 Tracing the Application 293 Web API Example: ProductsController 293 Summary 296 CHAPTER 12: DEPENDENCY INJECTION 297 Software Design Patterns 297 Design Pattern: Inversion of Control 298 Design Pattern: Service Locator 300 Strongly Typed Service Locator 300 Weakly Typed Service Locator 301 The Pros and Cons of Service Locators 304 Design Pattern: Dependency Injection 304 Constructor Injection 304 Property Injection 305 Dependency Injection Containers 306 Dependency Resolution in MVC 307 Singly Registered Services in MVC 308 Multiply Registered Services in MVC 309 Arbitrary Objects in MVC 311 Creating Controllers 311 Creating Views 312 Dependency Resolution in Web API 313 Singly Registered Services in Web API 314 Multiply Registered Services in Web API 315 Arbitrary Objects in Web API 316 Dependency Resolvers in MVC vs. Web API 316 Summary 316 CHAPTER 13: UNIT TESTING 317 The Meaning of Unit Testing and Test-Driven Development 318 Defining Unit Testing 318 Testing Small Pieces of Code 318

10 Testing in Isolation 318 Testing Only Public Endpoints 319 Automated Results 319 Unit Testing as a Quality Activity 319 Defining Test-Driven Development 320 The Red/Green Cycle 320 Refactoring 321 Structuring Tests with Arrange, Act, Assert 321 The Single Assertion Rule 322 Creating a Unit Test Project 322 Examining the Default Unit Tests 323 Test Only the Code You Write 327 Tips and Tricks for Unit Testing ASP.NET MVC Applications 328 Testing Controllers 328 Keeping Business Logic out of Your Controllers 328 Passing Service Dependencies via Constructor 329 Favoring Action Results over HttpContext Manipulation 330 Favoring Action Parameters over UpdateModel 331 Using Action Filters for Orthogonal Activities 332 Testing Routes 333 Testing Calls to IgnoreRoute 333 Testing Calls to MapRoute 334 Testing Unmatched Routes 335 Testing Validators 335 Summary 339 CHAPTER 14: EXTENDING MVC 341 Extending Models 342 Turning Request Data into Models 342 Exposing Request Data with Value Providers 342 Creating Models with Model Binders 343 Describing Models with Metadata 348 Validating Models 350 Extending Views 354 Customizing View Engines 354 Writing HTML Helpers 356 Writing Razor Helpers 357 Extending Controllers 358 Selecting Actions 358 Choosing Action Names with Name Selectors 358

11 Filtering Actions with Method Selectors 358 Action Filters 359 Authorization Filters 360 Action and Result Filters 360 Exception Filters 361 Providing Custom Results 361 Summary 363 CHAPTER 15: ADVANCED TOPICS 365 Mobile Support 365 Adaptive Rendering 366 The Viewport Meta Tag 368 Adaptive Styles Using CSS Media Queries 368 Display Modes 370 Layout and Partial View Support 371 Custom Display Modes 371 Mobile Site Template 372 Advanced Razor 373 Templated Razor Delegates 373 View Compilation 374 Advanced View Engines 376 Confi guring a View Engine 377 Finding a View 377 The View Itself 378 Alternative View Engines 380 New View Engine or New ActionResult? 381 Advanced Scaff olding 381 Customizing T4 Code Templates 382 The MvcScaff olding NuGet Package 383 Updated Add Controller Dialog Options 383 Using the Repository Template 384 Adding Scaff olders 386 Additional Resources 386 Advanced Routing 386 RouteMagic 387 Editable Routes 387 Advanced Templates 391 The Default Templates 392 MVC Futures and Template Definitions 392 Template Selection 395

12 Custom Templates 396 Advanced Controllers 397 Defining the Controller: The IController Interface 397 The ControllerBase Abstract Base Class 398 The Controller Class and Actions 399 Action Methods 401 The ActionResult 401 Action Result Helper Methods 402 Action Result Types 404 Implicit Action Results 408 Action Invoker 410 How an Action Is Mapped to a Method 410 Invoking Actions 414 Using Asynchronous Controller Actions 414 Choosing Synchronous versus Asynchronous Pipelines 416 Writing Asynchronous Action Methods 416 Performing Multiple Parallel Operations 417 MVC 2 and 3 Using AsyncController 419 Summary 421 CHAPTER 16: REAL-WORLD ASP.NET MVC: BUILDING THE NUGET.ORG WEBSITE 423 May the Source Be with You 424 WebActivator 425 ASP.NET Dynamic Data 426 Exception Logging 430 Profiling 431 Data Access 434 EF Code-Based Migrations 434 Membership 436 Other Useful NuGet Packages 438 T4MVC 438 WebBackgrounder 438 Lucene.NET 439 AnglicanGeek.MarkdownMailer 439 Ninject 440 Summary 440 INDEX 443

Course Outline. Developing Web Applications with ASP.Net MVC 5. Course Description: Pre-requisites: Course Content:

Course Outline. Developing Web Applications with ASP.Net MVC 5. Course Description: Pre-requisites: Course Content: Developing Web Applications with ASP.Net MVC 5 Course Description: The Model View Controller Framework in ASP.NET provides a new way to develop Web applications for the Microsoft.NET platform. Differing

More information

PROFESSIONAL ASP.NET MVC 4

PROFESSIONAL ASP.NET MVC 4 PROFESSIONAL ASP.NET MVC 4 FOREWORD...............................................................xxvii INTRODUCTION............................................................ xxix CHAPTER 1 Getting Started..................................................1

More information

Babu Madhav Institute of information technology 2016

Babu Madhav Institute of information technology 2016 Course Code: 060010602 Course Name: Web Development using ASP.NET MVC Unit 1 Short Questions 1. What is an ASP.NET MVC? 2. Write use of FilterConfiguration.cs file. 3. Define: 1) Model 2) View 3) Controller

More information

Course Outline. ASP.NET MVC 5 Development Training Course ASPNETMVC5: 5 days Instructor Led. About this Course

Course Outline. ASP.NET MVC 5 Development Training Course ASPNETMVC5: 5 days Instructor Led. About this Course ASP.NET MVC 5 Development Training Course ASPNETMVC5: 5 days Instructor Led About this Course ASP.NET MVC 5 is Microsoft's last MVC release based on both the.net Framework or.net Core 1.0 for building

More information

PROFESSIONAL ASP.NET MVC 5

PROFESSIONAL ASP.NET MVC 5 PROFESSIONAL ASP.NET MVC 5 FOREWORD...................................................... xxvii INTRODUCTION................................................... xxix CHAPTER 1 Getting Started..........................................

More information

5 Years Integrated M.Sc. (IT) 6th Semester Web Development using ASP.NET MVC Practical List 2016

5 Years Integrated M.Sc. (IT) 6th Semester Web Development using ASP.NET MVC Practical List 2016 Practical No: 1 Enrollment No: Name: Practical Problem (a) Create MVC 4 application which takes value from browser URL. Application should display following output based on input no : Ex. No = 1234 o/p

More information

Java COURSE CURRICULUM C/C++ JAVA (CORE/ADVANCE/SPRING/STRUTS/HIBERNATE)

Java COURSE CURRICULUM C/C++ JAVA (CORE/ADVANCE/SPRING/STRUTS/HIBERNATE) C/C++ JAVA (CORE/ADVANCE/SPRING/STRUTS/HIBERNATE) MICROSOFT -.NET SHAREPOINT DEVELOPMENT / ADMIN PHP / PHP++ / PHP FRAMEWORK / PYTHON DIGITAL MARKETING / WEB DESIGN / GRAPHIC DESIGN SOFTWARE QUALITY TESTING

More information

Pro ASP.NET MVC 2 Framework

Pro ASP.NET MVC 2 Framework Pro ASP.NET MVC 2 Framework Second Edition Steven Sanderson Apress TIB/UB Hannover 89 133 297 713 Contents at a Glance Contents About the Author About the Technical Reviewers Acknowledgments Introduction

More information

Index. Bower, 133, 352 bower.json file, 376 Bundling files, 157

Index. Bower, 133, 352 bower.json file, 376 Bundling files, 157 Index A Action results. See Controllers Actions. See Controllers Application model, 986 action constraints, 1000 Areas. See Routing Arrow functions. See Lambda expressions ASP.NET Core MVC (see Model View

More information

Building Effective ASP.NET MVC 5.x Web Applications using Visual Studio 2013

Building Effective ASP.NET MVC 5.x Web Applications using Visual Studio 2013 coursemonster.com/au Building Effective ASP.NET MVC 5.x Web Applications using Visual Studio 2013 Overview The course takes existing.net developers and provides them with the necessary skills to develop

More information

PROFESSIONAL ASP.NET MVC 3

PROFESSIONAL ASP.NET MVC 3 PROFESSIONAL ASP.NET MVC 3 FOREWORD............................................................... xxiii INTRODUCTION............................................................ xxv CHAPTER 1 Getting Started..................................................1

More information

Introducing Models. Data model: represent classes that iteract with a database. Data models are set of

Introducing Models. Data model: represent classes that iteract with a database. Data models are set of Models 1 Objectives Define and describe models Explain how to create a model Describe how to pass model data from controllers to view Explain how to create strongly typed models Explain the role of the

More information

CHAPTER 1: GETTING STARTED WITH ASP.NET 4 1

CHAPTER 1: GETTING STARTED WITH ASP.NET 4 1 FOREWORD INTRODUCTION xxv xxvii CHAPTER 1: GETTING STARTED WITH ASP.NET 4 1 Microsoft Visual Web Developer 2 Getting Visual Web Developer 3 Installing Visual Web Developer Express 3 Creating Your First

More information

Developing ASP.NET MVC Web Applications (486)

Developing ASP.NET MVC Web Applications (486) Developing ASP.NET MVC Web Applications (486) Design the application architecture Plan the application layers Plan data access; plan for separation of concerns, appropriate use of models, views, controllers,

More information

20486-Developing ASP.NET MVC 4 Web Applications

20486-Developing ASP.NET MVC 4 Web Applications Course Outline 20486-Developing ASP.NET MVC 4 Web Applications Duration: 5 days (30 hours) Target Audience: This course is intended for professional web developers who use Microsoft Visual Studio in an

More information

IN PRACTICE. Daniele Bochicchio Stefano Mostarda Marco De Sanctis. Includes 106 practical techniques MANNING

IN PRACTICE. Daniele Bochicchio Stefano Mostarda Marco De Sanctis. Includes 106 practical techniques MANNING IN PRACTICE Daniele Bochicchio Stefano Mostarda Marco De Sanctis Includes 106 practical techniques MANNING contents preface xv acknowledgments xvii about this book xix about the authors xxiii about the

More information

COURSE 20486B: DEVELOPING ASP.NET MVC 4 WEB APPLICATIONS

COURSE 20486B: DEVELOPING ASP.NET MVC 4 WEB APPLICATIONS ABOUT THIS COURSE In this course, students will learn to develop advanced ASP.NET MVC applications using.net Framework 4.5 tools and technologies. The focus will be on coding activities that enhance the

More information

Course 20486B: Developing ASP.NET MVC 4 Web Applications

Course 20486B: Developing ASP.NET MVC 4 Web Applications Course 20486B: Developing ASP.NET MVC 4 Web Applications Overview In this course, students will learn to develop advanced ASP.NET MVC applications using.net Framework 4.5 tools and technologies. The focus

More information

20486: Developing ASP.NET MVC 4 Web Applications

20486: Developing ASP.NET MVC 4 Web Applications 20486: Developing ASP.NET MVC 4 Web Applications Length: 5 days Audience: Developers Level: 300 OVERVIEW In this course, students will learn to develop advanced ASP.NET MVC applications using.net Framework

More information

10264A CS: Developing Web Applications with Microsoft Visual Studio 2010

10264A CS: Developing Web Applications with Microsoft Visual Studio 2010 10264A CS: Developing Web Applications with Microsoft Visual Studio 2010 Course Number: 10264A Course Length: 5 Days Course Overview In this course, students will learn to develop advanced ASP.NET MVC

More information

Developing ASP.NET MVC 4 Web Applications

Developing ASP.NET MVC 4 Web Applications Developing ASP.NET MVC 4 Web Applications Duration: 5 Days Course Code: 20486B About this course In this course, students will learn to develop advanced ASP.NET MVC applications using.net Framework 4.5

More information

20486: Developing ASP.NET MVC 4 Web Applications (5 Days)

20486: Developing ASP.NET MVC 4 Web Applications (5 Days) www.peaklearningllc.com 20486: Developing ASP.NET MVC 4 Web Applications (5 Days) About this Course In this course, students will learn to develop advanced ASP.NET MVC applications using.net Framework

More information

Visual Studio Course Developing ASP.NET MVC 5 Web Applications

Visual Studio Course Developing ASP.NET MVC 5 Web Applications Visual Studio Course - 20486 Developing ASP.NET MVC 5 Web Applications Length 5 days Prerequisites Before attending this course, students must have: In this course, students will learn to develop advanced

More information

Developing ASP.NET MVC 5 Web Applications. Course Outline

Developing ASP.NET MVC 5 Web Applications. Course Outline Developing ASP.NET MVC 5 Web Applications Course Outline Module 1: Exploring ASP.NET MVC 5 The goal of this module is to outline to the students the components of the Microsoft Web Technologies stack,

More information

70-486: Developing ASP.NET MVC Web Applications

70-486: Developing ASP.NET MVC Web Applications 70-486: Developing ASP.NET MVC Web Applications Candidates for this exam are professional developers who use Microsoft Visual Studio 20120157 and Microsoft.NET FrameworkASP.NET to design and develop web

More information

ASP.NET MVC Training

ASP.NET MVC Training TRELLISSOFT ASP.NET MVC Training About This Course: Audience(s): Developers Technology: Visual Studio Duration: 6 days (48 Hours) Language(s): English Overview In this course, students will learn to develop

More information

Developing ASP.NET MVC 4 Web Applications

Developing ASP.NET MVC 4 Web Applications Developing ASP.NET MVC 4 Web Applications Course 20486B; 5 days, Instructor-led Course Description In this course, students will learn to develop advanced ASP.NET MVC applications using.net Framework 4.5

More information

Developing ASP.Net MVC 4 Web Application

Developing ASP.Net MVC 4 Web Application Developing ASP.Net MVC 4 Web Application About this Course In this course, students will learn to develop advanced ASP.NET MVC applications using.net Framework 4.5 tools and technologies. The focus will

More information

Apex TG India Pvt. Ltd.

Apex TG India Pvt. Ltd. (Core C# Programming Constructs) Introduction of.net Framework 4.5 FEATURES OF DOTNET 4.5 CLR,CLS,CTS, MSIL COMPILER WITH TYPES ASSEMBLY WITH TYPES Basic Concepts DECISION CONSTRUCTS LOOPING SWITCH OPERATOR

More information

Index. Lee Naylor 2016 L. Naylor, ASP.NET MVC with Entity Framework and CSS, DOI /

Index. Lee Naylor 2016 L. Naylor, ASP.NET MVC with Entity Framework and CSS, DOI / Index A AccountController class, 327, 329 Register() method, 251 252, 280 282 AddCssClass() method, 382 386 Adding a Controller and Views, 16 20, 434 437 Animation property, 483 app.createperowincontext()

More information

COPYRIGHTED MATERIAL

COPYRIGHTED MATERIAL COPYRIGHTED MATERIAL INDEX Numbers & Symbols @ sign, 64 66 @@ sign, 66 {} (curly braces), 68 ~ (tilde), 55, 132 3A (Arrange, Act, Assert), 411 412 A About method, HomeController, 53 About.cshtml file,

More information

Developing ASP.NET MVC 5 Web Applications

Developing ASP.NET MVC 5 Web Applications 20486C - Version: 1 23 February 2018 Developing ASP.NET MVC 5 Web Developing ASP.NET MVC 5 Web 20486C - Version: 1 5 days Course Description: In this course, students will learn to develop advanced ASP.NET

More information

CodingFactory. Learn.NET MVC with WCF & Angular. This syllabus is cover all the basic to. Angular. Table of Contents

CodingFactory. Learn.NET MVC with WCF & Angular. This syllabus is cover all the basic to. Angular. Table of Contents Learn.NET MVC with WCF & Angular This syllabus is cover all the basic to advance topics of MVC,WCF,ORM & Angular Table of Contents 1. Module1.NET Basic... 2. Module2 ORM... 3. Module3 SOA,REST... 4. Module4

More information

Developing ASP.NET MVC 5 Web Applications

Developing ASP.NET MVC 5 Web Applications Developing ASP.NET MVC 5 Web Applications Course 20486C; 5 days, Instructor-led Course Description In this course, students will learn to develop advanced ASP.NET MVC applications using.net Framework tools

More information

10267A CS: Developing Web Applications Using Microsoft Visual Studio 2010

10267A CS: Developing Web Applications Using Microsoft Visual Studio 2010 10267A CS: Developing Web Applications Using Microsoft Visual Studio 2010 Course Overview This instructor-led course provides knowledge and skills on developing Web applications by using Microsoft Visual

More information

Grading Rubric Homework 1

Grading Rubric Homework 1 Grading Rubric Homework 1 Used Git, has many commits, over time, wrote appropriate commit comments, set up Git correctly with git config Cloning repository results in a working site, no broken links, no

More information

20486 Developing ASP.NET MVC 5 Web Applications

20486 Developing ASP.NET MVC 5 Web Applications Course Overview In this course, students will learn to develop advanced ASP.NET MVC applications using.net Framework tools and technologies. The focus will be on coding activities that enhance the performance

More information

ASP.NET MVC 5. Nemanja Kojic, MScEE

ASP.NET MVC 5. Nemanja Kojic, MScEE ASP.NET MVC 5 Nemanja Kojic, MScEE 1 What is MVC? Model-View-Controller (MVC) Standard Architectural Pattern Separation of concerns: model, view, controller 2 of 114 ASP.NET MVC Framework An alternative

More information

DEVELOPING WEB AZURE AND WEB SERVICES MICROSOFT WINDOWS AZURE

DEVELOPING WEB AZURE AND WEB SERVICES MICROSOFT WINDOWS AZURE 70-487 DEVELOPING WEB AZURE AND WEB SERVICES MICROSOFT WINDOWS AZURE ACCESSING DATA(20 TO 25%) 1) Choose data access technologies a) Choose a technology (ADO.NET, Entity Framework, WCF Data Services, Azure

More information

Developing ASP.NET MVC 4 Web Applications

Developing ASP.NET MVC 4 Web Applications Developing ASP.NET MVC 4 Web Applications Código del curso: 20486 Duración: 5 días Acerca de este curso In this course, students will learn to develop advanced ASP.NET MVC applications using.net Framework

More information

Advance Dotnet ( 2 Month )

Advance Dotnet ( 2 Month ) Advance Dotnet ( 2 Month ) Course Content Introduction WCF Using.Net 4.0 Service Oriented Architecture Three Basic Layers First Principle Communication and Integration Integration Styles Legacy Applications

More information

Microsoft Developing ASP.NET MVC 4 Web Applications

Microsoft Developing ASP.NET MVC 4 Web Applications 1800 ULEARN (853 276) www.ddls.com.au Microsoft 20486 - Developing ASP.NET MVC 4 Web Applications Length 5 days Price $4290.00 (inc GST) Version C Overview In this course, students will learn to develop

More information

20486C: Developing ASP.NET MVC 5 Web Applications

20486C: Developing ASP.NET MVC 5 Web Applications 20486C: Developing ASP.NET MVC 5 Web Course Details Course Code: Duration: Notes: 20486C 5 days This course syllabus should be used to determine whether the course is appropriate for the students, based

More information

Programming Fundamentals of Web Applications

Programming Fundamentals of Web Applications Programming Fundamentals of Web Applications Course 10958B; 5 days, Instructor-led Course Description This five-day instructor-led course provides the knowledge and skills to develop web applications by

More information

DEVELOPING WEB APPLICATIONS WITH MICROSOFT VISUAL STUDIO Course: 10264A; Duration: 5 Days; Instructor-led

DEVELOPING WEB APPLICATIONS WITH MICROSOFT VISUAL STUDIO Course: 10264A; Duration: 5 Days; Instructor-led CENTER OF KNOWLEDGE, PATH TO SUCCESS Website: DEVELOPING WEB APPLICATIONS WITH MICROSOFT VISUAL STUDIO 2010 Course: 10264A; Duration: 5 Days; Instructor-led WHAT YOU WILL LEARN In this course, students

More information

Comprehensive AngularJS Programming (5 Days)

Comprehensive AngularJS Programming (5 Days) www.peaklearningllc.com S103 Comprehensive AngularJS Programming (5 Days) The AngularJS framework augments applications with the "model-view-controller" pattern which makes applications easier to develop

More information

SHAREPOINT DEVELOPMENT FOR 2016/2013

SHAREPOINT DEVELOPMENT FOR 2016/2013 SHAREPOINT DEVELOPMENT FOR 2016/2013 Course Code: AUDIENCE: FORMAT: LENGTH: SP16-310-GSA (CP GSA2016) Professional Developers Instructor-led training with hands-on labs 5 Days COURSE INCLUDES: 5-days of

More information

Full Stack Web Developer

Full Stack Web Developer Full Stack Web Developer Course Contents: Introduction to Web Development HTML5 and CSS3 Introduction to HTML5 Why HTML5 Benefits Of HTML5 over HTML HTML 5 for Making Dynamic Page HTML5 for making Graphics

More information

Advanced WCF 4.0 .NET. Web Services. Contents for.net Professionals. Learn new and stay updated. Design Patterns, OOPS Principles, WCF, WPF, MVC &LINQ

Advanced WCF 4.0 .NET. Web Services. Contents for.net Professionals. Learn new and stay updated. Design Patterns, OOPS Principles, WCF, WPF, MVC &LINQ Serialization PLINQ WPF LINQ SOA Design Patterns Web Services 4.0.NET Reflection Reflection WCF MVC Microsoft Visual Studio 2010 Advanced Contents for.net Professionals Learn new and stay updated Design

More information

1: ASP.NET AND JQUERY

1: ASP.NET AND JQUERY INTRODUCTION xxix CHAPTER 1: ASP.NET AND JQUERY 1 Understanding Web Forms 2 View State 3 web.confi g Transformations 4 Simplified web.confi g 5 New ASP.NET Web Forms Templates 5 ASP.NET MVC 8 Versions

More information

Introduction to PHP. Handling Html Form With Php. Decisions and loop. Function. String. Array

Introduction to PHP. Handling Html Form With Php. Decisions and loop. Function. String. Array Introduction to PHP Evaluation of Php Basic Syntax Defining variable and constant Php Data type Operator and Expression Handling Html Form With Php Capturing Form Data Dealing with Multi-value filed Generating

More information

ASP.NET Web Forms Programming Using Visual Basic.NET

ASP.NET Web Forms Programming Using Visual Basic.NET ASP.NET Web Forms Programming Using Visual Basic.NET Duration: 35 hours Price: $750 Delivery Option: Attend training via an on-demand, self-paced platform paired with personal instructor facilitation.

More information

Oracle Fusion Middleware 11g: Build Applications with ADF Accel

Oracle Fusion Middleware 11g: Build Applications with ADF Accel Oracle University Contact Us: +352.4911.3329 Oracle Fusion Middleware 11g: Build Applications with ADF Accel Duration: 5 Days What you will learn This is a bundled course comprising of Oracle Fusion Middleware

More information

"Charting the Course... Comprehensive Angular. Course Summary

Charting the Course... Comprehensive Angular. Course Summary Description Course Summary Angular is a powerful client-side JavaScript framework from Google that supports simple, maintainable, responsive, and modular applications. It uses modern web platform capabilities

More information

Java SE7 Fundamentals

Java SE7 Fundamentals Java SE7 Fundamentals Introducing the Java Technology Relating Java with other languages Showing how to download, install, and configure the Java environment on a Windows system. Describing the various

More information

The Great SharePoint 2016/2013 Adventure for Developers

The Great SharePoint 2016/2013 Adventure for Developers The Great SharePoint 2016/2013 Adventure for Developers Developing for SharePoint 2016/2013 On-premises Course Code Audience Format Length Course Description Student Prerequisites GSA2016 Professional

More information

INTRO TO ASP.NET MVC JAY HARRIS.NET DEVELOPER

INTRO TO ASP.NET MVC JAY HARRIS.NET DEVELOPER INTRO TO JAY HARRIS.NET DEVELOPER WHAT IS MVC? It is a powerful and elegant means of separating concerns There is no universally unique MVC pattern. MVC is a concept rather than a solid programming framework.

More information

Contents. xvii xix xxiil. xxvii

Contents. xvii xix xxiil. xxvii Contents FOREWORD INTRODUCTION INDUSTRY ANALYSIS PREFACE ACKNOWLEDGMENTS BIOGRAPHY XV xvii xix xxiil XXV xxvii PART I CHAPTER 1 INTRODUCTION TO MOBILE SECURITY DEVELOPMENT Understanding Secure Web Development

More information

Working with Controllers

Working with Controllers Controller 1 Objectives 2 Define and describe controllers Describe how to work with action methods Explain how to invoke action methods Explain routing requests Describe URL patterns Working with Controllers

More information

Diploma in Microsoft.NET

Diploma in Microsoft.NET Course Duration For Microsoft.NET Training Course : 12 Weeks (Weekday Batches) Objective For Microsoft.NET Training Course : To Become a.net Programming Professional To Enable Students to Improve Placeability

More information

Web 2.0 and AJAX Security. OWASP Montgomery. August 21 st, 2007

Web 2.0 and AJAX Security. OWASP Montgomery. August 21 st, 2007 Web 2.0 and AJAX Security OWASP Montgomery August 21 st, 2007 Overview Introduction Definition of Web 2.0 Basics of AJAX Attack Vectors for AJAX Applications AJAX and Application Security Conclusions 1

More information

ASP.NET- Enterprise Applications

ASP.NET- Enterprise Applications COURSE SYLLABUS ASP.NET- Enterprise Applications Industrial Training (3 MONTHS) PH: 0481 2411122, 09495112288 E-Mail: info@faithinfosys.com Marette Tower Near No.1 Pvt. Bus Stand Vazhoor Road Changanacherry-01

More information

Chrome Extension Security Architecture

Chrome Extension Security Architecture Chrome Extension Security Architecture Presenter: Jienan Liu Network, Intelligence & security Lab outline Chrome extension introduction Threats towards extension Chrome extension s security architecture

More information

PHP & PHP++ Curriculum

PHP & PHP++ Curriculum PHP & PHP++ Curriculum CORE PHP How PHP Works The php.ini File Basic PHP Syntax PHP Tags PHP Statements and Whitespace Comments PHP Functions Variables Variable Types Variable Names (Identifiers) Type

More information

MVC :: Understanding Views, View Data, and HTML Helpers

MVC :: Understanding Views, View Data, and HTML Helpers MVC :: Understanding Views, View Data, and HTML Helpers The purpose of this tutorial is to provide you with a brief introduction to ASP.NET MVC views, view data, and HTML Helpers. By the end of this tutorial,

More information

Syllabus of Dont net C#

Syllabus of Dont net C# Syllabus of Dont net C# 1. What is.net? 2. Why do we require Framework/IDE 3. Fundamentals of.net Framework 4..Net Architecture 5. How to create first Console application 6. Statements, Expressions, operators

More information

This tutorial is designed for software programmers who would like to learn the basics of ASP.NET Core from scratch.

This tutorial is designed for software programmers who would like to learn the basics of ASP.NET Core from scratch. About the Tutorial is the new web framework from Microsoft. is the framework you want to use for web development with.net. At the end this tutorial, you will have everything you need to start using and

More information

Full Stack Web Developer Nanodegree Syllabus

Full Stack Web Developer Nanodegree Syllabus Full Stack Web Developer Nanodegree Syllabus Build Complex Web Applications Before You Start Thank you for your interest in the Full Stack Web Developer Nanodegree! In order to succeed in this program,

More information

.NET-6Weeks Project Based Training

.NET-6Weeks Project Based Training .NET-6Weeks Project Based Training Core Topics 1. C# 2. MS.Net 3. ASP.NET 4. 1 Project MS.NET MS.NET Framework The.NET Framework - an Overview Architecture of.net Framework Types of Applications which

More information

Bringing Together One ASP.NET

Bringing Together One ASP.NET Bringing Together One ASP.NET Overview ASP.NET is a framework for building Web sites, apps and services using specialized technologies such as MVC, Web API and others. With the expansion ASP.NET has seen

More information

CHAPTER 1: WHAT S NEW IN SHAREPOINT

CHAPTER 1: WHAT S NEW IN SHAREPOINT INTRODUCTION xxix CHAPTER 1: WHAT S NEW IN SHAREPOINT 2013 1 Installation Changes 2 System Requirements 2 The Installation Process 2 Upgrading from SharePoint 2010 3 Patching 3 Central Administration 4

More information

Mix It Up: Visual Studio 2010 and ASP.NET 4.0. Singapore 25 March 2009

Mix It Up: Visual Studio 2010 and ASP.NET 4.0. Singapore 25 March 2009 Mix It Up: Visual Studio 2010 and ASP.NET 4.0 Singapore 25 March 2009 Mar Mix-It-Up: Visual Studio 2010 and ASP.NET 4.0 Mix 01: Future of Web Development with Visual Studio 2010 and ASP.NET 4.0 by Maung

More information

Evaluation Guide for ASP.NET Web CMS and Experience Platforms

Evaluation Guide for ASP.NET Web CMS and Experience Platforms Evaluation Guide for ASP.NET Web CMS and Experience Platforms CONTENTS Introduction....................... 1 4 Key Differences...2 Architecture:...2 Development Model...3 Content:...4 Database:...4 Bonus:

More information

Course 20488A: Developing Microsoft SharePoint Server 2013 Core Solutions

Course 20488A: Developing Microsoft SharePoint Server 2013 Core Solutions Course 20488A: Developing SharePoint Server 2013 Core Solutions Delivery Method: Instructor-led (classroom) Duration: 5 Days Level: 300 COURSE OVERVIEW About this Course In this course, students learn

More information

Pro Business Applications with Silverlight 4

Pro Business Applications with Silverlight 4 Pro Business Applications with Silverlight 4 Chris Anderson Apress* Contents at a Glance Contents About the Author Acknowledgments iv v xix xx a Chapter 1: Introduction 1 Who This Book Is For 1 About This

More information

Hands On, Instructor-Led IT Courses Across Colorado

Hands On, Instructor-Led IT Courses Across Colorado Hands On, Instructor-Led IT Courses Across Colorado Offering instructor-led courses in: Java, Java EE and OOAD SQL Programming and SQL Server UNIX, Linux Administration.NET Programming Web Programming

More information

Full Stack boot camp

Full Stack boot camp Name Full Stack boot camp Duration (Hours) JavaScript Programming 56 Git 8 Front End Development Basics 24 Typescript 8 React Basics 40 E2E Testing 8 Build & Setup 8 Advanced JavaScript 48 NodeJS 24 Building

More information

An Introduction to JavaScript & Bootstrap Basic concept used in responsive website development Form Validation Creating templates

An Introduction to JavaScript & Bootstrap Basic concept used in responsive website development Form Validation Creating templates PHP Course Contents An Introduction to HTML & CSS Basic Html concept used in website development Creating templates An Introduction to JavaScript & Bootstrap Basic concept used in responsive website development

More information

Acknowledgments... xix

Acknowledgments... xix CONTENTS IN DETAIL PREFACE xvii Acknowledgments... xix 1 SECURITY IN THE WORLD OF WEB APPLICATIONS 1 Information Security in a Nutshell... 1 Flirting with Formal Solutions... 2 Enter Risk Management...

More information

70-487: Developing Windows Azure and Web Services

70-487: Developing Windows Azure and Web Services 70-487: Developing Windows Azure and Web Services Candidates for this certification are professional developers that use Visual Studio 2015112017 11 and the Microsoft.NET Core Framework 4.5 to design and

More information

Web basics: HTTP cookies

Web basics: HTTP cookies Web basics: HTTP cookies Myrto Arapinis School of Informatics University of Edinburgh February 11, 2016 1 / 27 How is state managed in HTTP sessions HTTP is stateless: when a client sends a request, the

More information

DOT NET Syllabus (6 Months)

DOT NET Syllabus (6 Months) DOT NET Syllabus (6 Months) THE COMMON LANGUAGE RUNTIME (C.L.R.) CLR Architecture and Services The.Net Intermediate Language (IL) Just- In- Time Compilation and CLS Disassembling.Net Application to IL

More information

JAVA COURSES. Empowering Innovation. DN InfoTech Pvt. Ltd. H-151, Sector 63, Noida, UP

JAVA COURSES. Empowering Innovation. DN InfoTech Pvt. Ltd. H-151, Sector 63, Noida, UP 2013 Empowering Innovation DN InfoTech Pvt. Ltd. H-151, Sector 63, Noida, UP contact@dninfotech.com www.dninfotech.com 1 JAVA 500: Core JAVA Java Programming Overview Applications Compiler Class Libraries

More information

Full Stack Web Developer

Full Stack Web Developer Full Stack Web Developer S.NO Technologies 1 HTML5 &CSS3 2 JavaScript, Object Oriented JavaScript& jquery 3 PHP&MYSQL Objective: Understand the importance of the web as a medium of communication. Understand

More information

EVALUATION COPY. Unauthorized reproduction or distribution is prohibitied ASP.NET MVC USING C#

EVALUATION COPY. Unauthorized reproduction or distribution is prohibitied ASP.NET MVC USING C# ASP.NET MVC USING C# ASP.NET MVC Using C# Rev. 4.8 Student Guide Information in this document is subject to change without notice. Companies, names and data used in examples herein are fictitious unless

More information

COURSE OUTLINE MOC 20480: PROGRAMMING IN HTML5 WITH JAVASCRIPT AND CSS3

COURSE OUTLINE MOC 20480: PROGRAMMING IN HTML5 WITH JAVASCRIPT AND CSS3 COURSE OUTLINE MOC 20480: PROGRAMMING IN HTML5 WITH JAVASCRIPT AND CSS3 MODULE 1: OVERVIEW OF HTML AND CSS This module provides an overview of HTML and CSS, and describes how to use Visual Studio 2012

More information

How is state managed in HTTP sessions. Web basics: HTTP cookies. Hidden fields (2) The principle. Disadvantage of this approach

How is state managed in HTTP sessions. Web basics: HTTP cookies. Hidden fields (2) The principle. Disadvantage of this approach Web basics: HTTP cookies Myrto Arapinis School of Informatics University of Edinburgh March 30, 2015 How is state managed in HTTP sessions HTTP is stateless: when a client sends a request, the server sends

More information

.Net Job Assured Course (3 in 1)

.Net Job Assured Course (3 in 1) T&C Apply.Net Job Assured Course (3 in 1) From Quick pert Infotech Learning Process .Net Developer Learning Path to Crack Interviews Full Fledged Dot Net Developer (3 in 1 - Opens.Net, WebDesign & Database

More information

Java EE 6: Develop Web Applications with JSF

Java EE 6: Develop Web Applications with JSF Oracle University Contact Us: +966 1 1 2739 894 Java EE 6: Develop Web Applications with JSF Duration: 4 Days What you will learn JavaServer Faces technology, the server-side component framework designed

More information

DOT NET SYLLABUS FOR 6 MONTHS

DOT NET SYLLABUS FOR 6 MONTHS DOT NET SYLLABUS FOR 6 MONTHS INTRODUCTION TO.NET Domain of.net D.N.A. Architecture One Tier Two Tier Three Tier N-Tier THE COMMON LANGUAGE RUNTIME (C.L.R.) CLR Architecture and Services The.Net Intermediate

More information

CS50 Quiz Review. November 13, 2017

CS50 Quiz Review. November 13, 2017 CS50 Quiz Review November 13, 2017 Info http://docs.cs50.net/2017/fall/quiz/about.html 48-hour window in which to take the quiz. You should require much less than that; expect an appropriately-scaled down

More information

Developing Microsoft SharePoint Server 2013 Core Solutions

Developing Microsoft SharePoint Server 2013 Core Solutions Developing Microsoft SharePoint Server 2013 Core Solutions 20488B; 5 days, Instructor-led Course Description In this course, students learn core skills that are common to almost all SharePoint development

More information

Open Source Library Developer & IT Pro

Open Source Library Developer & IT Pro Open Source Library Developer & IT Pro Databases LEV 5 00:00:00 NoSQL/MongoDB: Buildout to Going Live INT 5 02:15:11 NoSQL/MongoDB: Implementation of AngularJS INT 2 00:59:55 NoSQL: What is NoSQL INT 4

More information

55249: Developing with the SharePoint Framework Duration: 05 days

55249: Developing with the SharePoint Framework Duration: 05 days Let s Reach For Excellence! TAN DUC INFORMATION TECHNOLOGY SCHOOL JSC Address: 103 Pasteur, Dist.1, HCMC Tel: 08 38245819; 38239761 Email: traincert@tdt-tanduc.com Website: www.tdt-tanduc.com; www.tanducits.com

More information

THE GREAT SHAREPOINT ADVENTURE 2016

THE GREAT SHAREPOINT ADVENTURE 2016 Education and Support for SharePoint, Office 365 and Azure www.combined-knowledge.com COURSE OUTLINE THE GREAT SHAREPOINT ADVENTURE 2016 Course Code GSA2016 Length 5 Days About this course The Great SharePoint

More information

COURSE 20488B: DEVELOPING MICROSOFT SHAREPOINT SERVER 2013 CORE SOLUTIONS

COURSE 20488B: DEVELOPING MICROSOFT SHAREPOINT SERVER 2013 CORE SOLUTIONS Page 1 of 10 ABOUT THIS COURSE In this course, students learn core skills that are common to almost all SharePoint development activities. These include working with the server-side and client-side object

More information

CIS 4360 Secure Computer Systems XSS

CIS 4360 Secure Computer Systems XSS CIS 4360 Secure Computer Systems XSS Professor Qiang Zeng Spring 2017 Some slides are adapted from the web pages by Kallin and Valbuena Previous Class Two important criteria to evaluate an Intrusion Detection

More information

Index. Bootstrap framework ASP.NET MVC project set-up, default template, 223

Index. Bootstrap framework ASP.NET MVC project set-up, default template, 223 Index A Accordion-style navigation expanding/shrinking navigation, 77 markup, 75 76 menu option, 75 nav element, 76 77 overflow function, 77 responsive design, 73 74 transition effect, 77 ASP.NET MVC custom

More information

CodeValue. C ollege. Prerequisites: Basic knowledge of web development and especially JavaScript.

CodeValue. C ollege. Prerequisites: Basic knowledge of web development and especially JavaScript. Course Syllabuses Introduction to AngularJS Length: 3 days Prerequisites: Basic knowledge of web development and especially JavaScript. Objectives: Students will learn to take advantage of AngularJS and

More information

F5 Big-IP Application Security Manager v11

F5 Big-IP Application Security Manager v11 F5 F5 Big-IP Application Security Manager v11 Code: ACBE F5-ASM Days: 4 Course Description: This four-day course gives networking professionals a functional understanding of the BIG- IP LTM v11 system

More information