Creating Single Page Applications with ASP.NET & Angular JS

Slides:



Advertisements
Similar presentations
Dreamweaver Forms Overview. Forms – A Little Review Most user/webpage communication is one way, like this: Most user/webpage communication is one way,
Advertisements

Introduction to jQuery (for Drupal) Amit Asaravala “aasarava” on drupal.org.
Introduction to MVC Action Methods, Edit View, and a Search Feature NTPCUG Dr. Tom Perkins.
Developing HTML5 Application using MVVM pattern Pekka Ylenius.
Creating Single Page Applications with ASP.NET & Angular JS An introduction by Mitchel Sellers.
Database Updates Made Easy In WebFocus Using SQL And HTML Painter Sept 2011 Lender Processing Services 1.
Page 1 ISMT E-120 Introduction to Microsoft Access & Relational Databases The Influence of Software and Hardware Technologies on Business Productivity.
Form Handling, Validation and Functions. Form Handling Forms are a graphical user interfaces (GUIs) that enables the interaction between users and servers.
JavaScript & jQuery the missing manual Chapter 11
How a little code can help with support.. Chris Barba – Developer at Cimarex Energy Blog:
Adxstudio Portals Training
Overview of Previous Lesson(s) Over View  ASP.NET Pages  Modular in nature and divided into the core sections  Page directives  Code Section  Page.
ASP.Net Web Applications. Characteristics of a typical data driven web application Web Server HTML Graphics Active-X Java Applets HTTP Request ADO / JDBC.
SERVER web page repository WEB PAGE instructions stores information and instructions BROWSER retrieves web page and follows instructions Server Web Server.
Project Implementation for COSC 5050 Distributed Database Applications Lab3.
TUTORIAL 10: PROGRAMMING WITH JAVASCRIPT Session 3.
1 Data Bound Controls II Chapter Objectives You will be able to Use a Data Source control to get data from a SQL database and make it available.
AUTOMATION OF WEB-FORM CREATION - KINNERA ANGADI – MS FINAL DEFENSE GUIDANCE BY – DR. DANIEL ANDRESEN.
CO1552 Web Application Development HTML Forms, Events and an introduction to JavaScript.
LOGO FORMs in HTML CHAPTER 5 Eastern Mediterranean University School of Computing and Technology Department of Information Technology ITEC229 Client-Side.
WaveMaker Visual AJAX Studio 4.0 Training Basics: Building Your First Application Binding Basics.
PHP Form Introduction Getting User Information Text Input.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 9 Key Concepts 1 Copyright © Terry Felke-Morris.
HTML Forms. Slide 2 Forms (Introduction) The purpose of input forms Organizing forms with a and Using different element types to get user input A brief.
1 Chapter 20 – Data sources and datasets Outline How to create a data source How to use a data source How to use Query Builder to build a simple query.
Session 8: Working with Form iNET Academy Open Source Web Development.
BlackBerry Applications using Microsoft Visual Studio and Database Handling.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 9 Key Concepts 1 Copyright © Terry Felke-Morris.
® IBM Software Group © 2006 IBM Corporation JSF Rich Text Area Component This Learning Module describes the use of the JSF Rich Text Area component – for.
CS 4720 Model-View-Controller CS 4720 – Web & Mobile Systems.
Securing Angular Apps Brian Noyes
XPages Example: Generating Dynamic Editable Fields from a Document Collection Author: John Mackey Groupware Solutions Inc.
IoT: Windows 10 & Raspberry Pi By: Mitchel Sellers.
Document Object Model Nasrullah. DOM When a page is loaded,browser creates a Document Object Model of the Page.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved Address Book Application Introducing Database Programming.
Let’s demonstrate some KRAD Action Components Kuali University: Apply Now Lab 3: Actions Lab Objectives Understand how to setup an action that invokes.
JavaScript Events. Understanding Events Events add interactivity between the web page and the user Events add interactivity between the web page and the.
//liveVirtualacademy2011/ What’s New for ASP.NET 4.5 and Web Development in Visual Studio 11 Developer Preview Γιώργος Καπνιάς MVP, MCT, MCDP, MCDBA, MCTS,
ASP.NET Core* Shahed Chowdhuri Sr. Technical WakeUpAndCode.com A Quick Overview of ASP.NET Core * aka ASP.NET 5 before.
Visual Basic 2010 How to Program
Extra Course
Data Visualizer.
Objectives Design a form Create a form Create text fields
CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr
Forms Web Design Ms. Olifer.
AngularJS A Gentle Introduction John
Ajax Control Toolkit.
KnockoutJS -Pradeep Shet 31st August 2014.
CMPE 280 Web UI Design and Development November 7 Class Meeting
Not Sure how you Should React
Building Single Page Applications (SPAs) in SharePoint with JavaScript
The Cliff Notes Version
VCE Questions
HTML Forms and User Input
Integrating with the Windows Device Experience
MEAN stack L. Grewe.
Angular (JS): A Framework for Dynamic Web Pages
Should I Transition to .NET Core? Will it hurt?
Web Development & Design Foundations with H T M L 5
Forms, cont’d.
Video list editor BIS1523 – Lecture 24.
ASP.NET 4.0 State Management Improvements – Deep Dive
© 2016, Mike Murach & Associates, Inc.
To understand what arrays are and how to use them
ASP.NET Imran Rashid CTO at ManiWeber Technologies.
Introduction to HTML: Forms
PART 1.
05 | An Introduction to AngularJS
Murach's JavaScript and jQuery (3rd Ed.)
CMPE 280 Web UI Design and Development November 8 Class Meeting
Presentation transcript:

Creating Single Page Applications with ASP.NET & Angular JS An introduction by Mitchel Sellers

About Your Speaker Mitchel Sellers CEO/Director of Development @ IowaComputerGurus, Inc. Microsoft C# MVP/DNN MVP Contact Info Blog: www.mitchelsellers.com Email: msellers@iowacomputergurus.com Twitter: @mitchelsellers LinkedIn: www.linkedin.com/in/mitchelsellers

About this Session A high level overview Progressively walking through examples ASP.NET MVC Project available for download Focused on AngularJS/MVC not backend DB

Why? Other Options? Speed development of UI elements Support binding & testing on the UI layer Other Options KnockoutJS Backbone Ember

Angular The Basics Change HTML Node Add reference to Angular JS <html ng> Add reference to Angular JS <script src=“//ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.min.js” ></script> Add a binding to an input element <input type=“text” placeholder=“Enter your Name” ng-model=“yourName” Display the value using a simple expression {{yourName}}

Working with the Basics What can you do with just the basics? Tie fields together Update other elements Practice working inside of ASP.NET Demos!

Understanding Expressions Expressions – Output of data {{firstName}} – simple output {{yourName + “ “ + firstName}} – Simple string manipution {{ names[1]}} – Arrays work normally (Will get to this)

Understanding Directives Directives – Additions/Extensions ng-app – Applied to an element to make it the “owner” of an app ng-init – Initialization process (not often used) ng-init=“firstName=‘John’” ng-model – Binds a HTML control to application data ng-repeat – For repeating elements ng-controller – Defines the relationship to the controller (Business process) ng-submit – Intercept form submission ng-click – Intercept click event (links) ng-disabled – Disable when conditional is true

Deep Dive: ng-repeat Basic structure With Sorting With Filtering ng-repeat=“myItem in Items” Will display the list as the list is With Sorting ng-repeat=“myItem in items | orderBy:orderControl” Will display the list, but sort using the attribute identified by orderControl from the model With Filtering ng-repeat=“myItem in items | filter:filterQuery” Will display the list, but filter using the supplied query If filter query is a text string, ANY match will show Can limit more using different names <input ng-model=“filterQuery.ColumnName” /> to limit to a column <input ng-model=“filterQuery.$” /> for anything

Shopping List Demo Load values from ASP.NET MVC when loading the page Give users a “Save” button All SPA based otherwise.

Additional Learning https://angularjs.org/ http://www.w3schools.com/angular/default.asp http://www.angularjshub.com/