1) ItemsSource: it point to collection which has all the objects that will be shown in the list

Size: px
Start display at page:

Download "1) ItemsSource: it point to collection which has all the objects that will be shown in the list"

Transcription

1 How to bind XML file as collection of object in Silverlight using WCF service Introduction: Binding to a single object is straight forward, but practically we are more interested in binding to a collection object say like, all employee in a table. Dependency property supports the single value binding, so binding to collection of object had to be dealt with little more sophistication. Any control which support list of items is derived from items control so to support collection binding, itemscontrol class defines some properties. What are these properties? 1) ItemsSource: it point to collection which has all the objects that will be shown in the list 2) ItemTemplate: it provides the datatemplate that will be used to create the visual appearance of each item. 3) ItemsPanel: It provides a template that will be used create the layout container that holds all the items in the list. 4) DisplayMem berpath: it identifies the property that will be used to create the display text for each item. Ok, so let us create a sample project to demonstrate binding of collection object. Step 1: Create a Silverlight application project let s say CollectionBindingByService Step2: Add an xml file for data storage to CollectionBindingByService.Web project and name is store.xml.

2 Step 3: I have inserted some data into it with data nodes like below ; <Products> <ProductID>355</ProductID> <CategoryID>16</CategoryID> <ModelNumber>RU007</ModelNumber> <ModelName>Rain Racer 2000</ModelName> <ProductImage>image.gif</ProductImage> <UnitCost> </UnitCost> <Description>Looks like an ordinary bumbershoot, but don't be fooled! Simply place Rain Racer's tip on the ground and press the release latch. Within seconds, this ordinary rain umbrella converts into a two-wheeled gaspowered mini-scooter. Goes from 0 to 60 in 7.5 seconds - even in a driving rain! Comes in black, blue, and candy-apple red.</description> <CategoryID1>16</CategoryID1> <CategoryName>Travel</CategoryName> </Products> Step 4: Add a WCF service svc file. Name is StoreDb.svc Step 5: Now add a class say Product.cs where we wil define our property.

3 Below is code of our product class with variables and property declared. note we have inherited our class with INotifyPropertyChanged [DataContract()] public class Product : INotifyPropertyChanged private bool haschanges = false; public bool HasChanges get return haschanges; set haschanges = value; private string modelnumber; [DataMember()] public string ModelNumber get return modelnumber; set modelnumber = value; OnPropertyChanged(new PropertyChangedEventArgs("ModelNumber")); private string modelname; [DataMember()] public string ModelName get return modelname; set modelname = value; OnPropertyChanged(new PropertyChangedEventArgs("ModelName")); private double unitcost; [DataMember()] public double UnitCost get return unitcost; set unitcost = value; OnPropertyChanged(new PropertyChangedEventArgs("UnitCost")); private string description; [DataMember()] public string Description

4 get return description; set description = value; OnPropertyChanged(new PropertyChangedEventArgs("Description")); private string categoryname; [DataMember()] public string CategoryName get return categoryname; set categoryname = value; private string productimagepath; [DataMember()] public string ProductImagePath get return productimagepath; set productimagepath = value; public Product(string modelnumber, string modelname, double unitcost, string description) ModelNumber = modelnumber; ModelName = modelname; UnitCost = unitcost; Description = description; public Product(string modelnumber, string modelname, double unitcost, string description, string productimagepath) : this(modelnumber, modelname, unitcost, description) ProductImagePath = productimagepath; public Product(string modelnumber, string modelname, double unitcost, string description, string categoryname, string productimagepath) : this(modelnumber, modelname, unitcost, description) CategoryName = categoryname; ProductImagePath = productimagepath; public Product() public override string ToString()

5 return ModelName + " (" + ModelNumber + ")"; public event PropertyChangedEventHandler PropertyChanged; public void OnPropertyChanged(PropertyChangedEventArgs e) if (PropertyChanged!= null) PropertyChanged(this, e); Step 6: Open StoreDb.svc.cs and write code to read XML data store and here now we will define our service contract. [ServiceContract] [AspNetCompatibilityRequirements(RequirementsMode=AspNetCompatibilityRequirem entsmode.allowed)] public class StoreDb We have created our servcie contract with AspNet compability requirement mode to Allowed. Now we need to create operation contract i.e. methods. Before that in svc page contructor, we will load XML file into our dataset,like below; DataSet ds = new DataSet(); public StoreDb() ds.readxml(httpcontext.current.server.mappath("store.xml"); Now we will create a method which will return product detail when any product id is provided by cleint. [OperationContract] public Product GetProduct(int ID) DataRow productrow = ds.tables["products"].select("productid = " + ID.ToString())[0]; Product product = new Product((string)productRow["ModelNumber"], (string)productrow["modelname"], Convert.ToDouble(productRow["UnitCost"]), (string)productrow["description"], (string)productrow["categoryname"], (string)productrow["productimage"]); return product;

6 Now we will create a method which will return product detail for all products. [OperationContract()] public List<Product> GetProducts() List<Product> products = new List<Product>(); foreach (DataRow productrow in ds.tables["products"].rows) products.add(new Product((string)productRow["ModelNumber"], (string)productrow["modelname"], Convert.ToDouble(productRow["UnitCost"]), (string)productrow["description"], (string)productrow["categoryname"], (string)productrow["productimage"])); return products; Step 7: build CollectionBindingByService.Web and open web.config file, you will see visual studio has wcf hadautomatically configured it. <system.servicemodel> <behaviors> <servicebehaviors> <behavior name="storedbbehavior"> <servicemetadata httpgetenabled="true"/> <servicedebug includeexceptiondetailinfaults="false"/> </behavior> </servicebehaviors> </behaviors> <servicehostingenvironment aspnetcompatibilityenabled="true"/> <services> <service behaviorconfiguration="storedbbehavior" name="storedb"> <endpoint address="" binding="basichttpbinding" contract="storedb"/> <endpoint address="mex" binding="mexhttpbinding" contract="imetadataexchange"/> </service> </services> </system.servicemodel> Step 8: Now Set CollectionBindingByService.Web as start up project and press F5. Come to CollectionBindingByService project and click to add service reference.

7 Step 9: Come back to CollectionBindingByService project and add a user control,name is ProductFromService.xaml Now here we wil create a XAML interface to display data by accessing wcf service.

8 When you look into XAML for this, notice the code for listbox <ListBox x:name="lstproduct" Margin="5" DisplayMemberPath="ModelName" SelectionChanged="lstProduct_SelectionChanged"></ListBox> Here I have used DisplayMemberPath,which create the display text for each item.

9 You can see in this interface we have a listbox for displaying all product names. Three buttons for getting product details, adding and deleting them as well. We have option to fetch product detail by providing product id. Step 10: Lets write code for GetProduct, which wil fetch all product name in listbox. Now Open ProductFromService.xmal.cs and add this namespace using CollectionBindingByService.ProductService; At first we need to create a observable collection object. private ObservableCollection<Product> products = new ObservableCollection<Product>(); private void btngetproduct_click(object sender, RoutedEventArgs e) EndpointAddress address = new EndpointAddress(" + HtmlPage.Document.DocumentUri.Port + "/CollectionBindingByService.Web/StoreDb.svc"); StoreDbClient client = new StoreDbClient(new BasicHttpBinding(), address); client.getproductscompleted += new EventHandler<GetProductsCompletedEventArgs>(client_GetProductsCompleted); client.getproductsasync(); void client_getproductscompleted(object sender, GetProductsCompletedEventArgs e) try products.clear(); foreach (Product product in e.result) products.add(product); lstproduct.itemssource = products; catch lblerror.text = "Failed to contact service.";

10 When the user clicks the Get Products button, the event-handling code calls the GetProducts () method asynchronously: When the product list is received from the web service, the code stores the collection as a member variable in the page class for easier access elsewhere in your code. The code then sets that collection as the ItemsSource for the list: Step 11: Set CollectionBindingByService.Web as start up project and Press F5, and click on get product, you will see below like result. Step 12: Click on any product item, you will notice that textboxes get populated respectively. Here we are using datacontext of higest layout control, i.e. grid here, to bind the data. For textboxes we have just used binding expression like below; Text="Binding Description, Mode=TwoWay">

11 private void lstproduct_selectionchanged(object sender, SelectionChangedEventArgs e) gridproductdetails.datacontext = lstproduct.selecteditem; Step 13: Now let us test for Product ID, say 365. Here we are calling GetProductID operation contract.

12 Step 14: Now let us try to add any item. It is quite simple, we need to create an object of class product and then add it into listbox. See the code below; private void btnadd_click(object sender, RoutedEventArgs e) Product p = new Product(); p.modelname = "New Product"; products.add(p); lstproduct.selecteditem = p; lstproduct.updatelayout(); lstproduct.scrollintoview(p);

13 Step 15: Now let us try to delete any item. private void btndelete_click(object sender, RoutedEventArgs e) products.remove((product)lstproduct.selecteditem); Here we are removing that selected product from product observable object. Cool, isn t. So we saw how to display, add and delete collection items. Hope you enjoyed reading. Cheers

Generation of a simple web-application in the Microsoft Visual Studio 2008 with the use of Silverlight Viewer for Reporting Services 2008

Generation of a simple web-application in the Microsoft Visual Studio 2008 with the use of Silverlight Viewer for Reporting Services 2008 Generation of a simple web-application in the Microsoft Visual Studio 2008 with the use of Silverlight Viewer for Reporting Services 2008 Prerequisites.NET Framework 3.5 SP1/4.0 Silverlight v3 Silverlight

More information

Weather forecast ( part 1 )

Weather forecast ( part 1 ) Weather forecast ( part 1 ) I will create a small application that offers the weather forecast for a certain city in the USA. I will consume two webservices for this. The first service will give me an

More information

Introduction to Data Templates and Value Converters in Silverlight

Introduction to Data Templates and Value Converters in Silverlight Introduction to Data Templates and Value Converters in Silverlight An overview of Data Templates and Value Converters by JeremyBytes.com Overview Business applications are all about data, and laying out

More information

WCF-Service-Endpoint. WCF Endpoint Components

WCF-Service-Endpoint. WCF Endpoint Components WCF-Service-Endpoint The endpoint is the fusion of the address, contract and binding. Every endpoint must have all three elements and the host exposes the endpoint. WCF Service is a program that exposes

More information

Azure Logic Apps Connector for JMS

Azure Logic Apps Connector for JMS Azure Logic Apps Connector for JMS Create a Custom Azure Logic App Connector using the JNBridge JMS Adapter for.net Introduction An Azure Logic App is a cloud service that automates and orchestrates tasks,

More information

Lecture # 6 Engr. Ali Javed 11th March, 2014

Lecture # 6 Engr. Ali Javed 11th March, 2014 Lecture # 6 Engr. Ali Javed 11 th March, 2014 Instructor s Information Instructor: Engr. Ali Javed Assistant Professor Department of Software Engineering U.E.T Taxila Email: ali.javed@uettaxila.edu.pk

More information

NetAdvantage Reporting Release Notes

NetAdvantage Reporting Release Notes NetAdvantage Reporting 2012.1 Release Notes Use NetAdvantage Reporting, the industry's first WPF and Silverlight-based design-time and rendering reporting tool, to create elegant and easy-to-design reports

More information

Hands-On Lab. Developing Identity-Driven Silverlight Applications. Lab version: 1.0.0

Hands-On Lab. Developing Identity-Driven Silverlight Applications. Lab version: 1.0.0 Hands-On Lab Developing Identity-Driven Silverlight Applications Lab version: 1.0.0 Last updated: 1/21/2011 CONTENTS OVERVIEW... 3 EXERCISE 1: SINGLE SIGN ON, CLAIMS-DRIVEN EXPERIENCE AND SERVICE AUTHORIZATION

More information

WPF and MVVM Study Guides

WPF and MVVM Study Guides 1. Introduction to WPF WPF and MVVM Study Guides https://msdn.microsoft.com/en-us/library/mt149842.aspx 2. Walkthrough: My First WPF Desktop Application https://msdn.microsoft.com/en-us/library/ms752299(v=vs.110).aspx

More information

Yes, this is still a listbox!

Yes, this is still a listbox! Yes, this is still a listbox! Step 1: create a new project I use the beta 2 of Visual Studio 2008 ( codename Orcas ) and Expression Blend 2.0 September preview for this tutorial. You can download the beta2

More information

WCF - WAS HOSTING. Click Start Menu Control Panel Programs and Features, and click "Turn Windows Components On or Off" in the left pane.

WCF - WAS HOSTING. Click Start Menu Control Panel Programs and Features, and click Turn Windows Components On or Off in the left pane. http://www.tutorialspoint.com/wcf/wcf_was_hosting.htm WCF - WAS HOSTING Copyright tutorialspoint.com To understand the concept of WAS hosting, we need to comprehend how a system is configured and how a

More information

HELIX MEDIA LIBRARY BLACKBOARD BUILDING BLOCK

HELIX MEDIA LIBRARY BLACKBOARD BUILDING BLOCK HELIX MEDIA LIBRARY BLACKBOARD BUILDING BLOCK Revision Date March 2013 The following guide explains how to install the Helix Media Library Blackboard Building Block which allows access to content in the

More information

Create your first RESTful service with WCF 3.5

Create your first RESTful service with WCF 3.5 Create your first RESTful service with WCF 3.5 What is REST: REST is a term coined by Roy Fielding in his Ph.D. dissertation to describe an architecture style of networked systems. REST is an acronym standing

More information

Getting Started with Banjos4Hire

Getting Started with Banjos4Hire Getting Started with Banjos4Hire Rob Miles Department of Computer Science Data Objects There are a number of objects that you will need to keep track of in the program Banjo Customer Rental You can use

More information

This tutorial is designed for software developers who want to learn how to develop quality applications with clean structure of code.

This tutorial is designed for software developers who want to learn how to develop quality applications with clean structure of code. About the Tutorial Every good developer wants and tries to create the most sophisticated applications to delight their users. Most of the times, developers achieve this on the first release of the application.

More information

Hands-On Lab. Part 1: Introduction to the AppFabric Service Bus. Lab version: Last updated: 11/16/2010. Page 1

Hands-On Lab. Part 1: Introduction to the AppFabric Service Bus. Lab version: Last updated: 11/16/2010. Page 1 Hands-On Lab Part 1: Introduction to the AppFabric Service Bus Lab version: 2.0.0 Last updated: 11/16/2010 Page 1 CONTENTS OVERVIEW... 3 GETTING STARTED: CREATING A SERVICE PROJECT... 6 Task 1 Creating

More information

Windows Communication Foundation Using C#

Windows Communication Foundation Using C# Windows Communication Foundation Using C# Student Guide Revision 4.2 Object Innovations Course 4153 Windows Communication Foundation Using C# Rev. 4.2 Student Guide Information in this document is subject

More information

Weather forecast ( part 2 )

Weather forecast ( part 2 ) Weather forecast ( part 2 ) In the first part of this tutorial, I have consumed two webservices and tested them in a Silverlight project. In the second part, I will create a user interface and use some

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

EXAM TS:Windows Communication Found Dev w/ms.net Frmwk 4 (C# and VB) Buy Full Product.

EXAM TS:Windows Communication Found Dev w/ms.net Frmwk 4 (C# and VB) Buy Full Product. Microsoft EXAM - 70-513 TS:Windows Communication Found Dev w/ms.net Frmwk 4 (C# and VB) Buy Full Product http://www.examskey.com/70-513.html Examskey Microsoft 70-513 exam demo product is here for you

More information

Learn to Love Lambdas

Learn to Love Lambdas Learn to Love Lambdas An overview of Lambda Expressions by JeremyBytes.com Overview Lambda expressions can be confusing the first time you walk up to them. But once you get to know them, you ll see that

More information

Windows Communication Foundation Using C#

Windows Communication Foundation Using C# Windows Communication Foundation Using C# Student Guide Revision 2.1 Object Innovations Course 4153 Windows Communication Foundation Using C# Student Guide Information in this document is subject to change

More information

CHAPTER 1: INTRODUCING C# 3

CHAPTER 1: INTRODUCING C# 3 INTRODUCTION xix PART I: THE OOP LANGUAGE CHAPTER 1: INTRODUCING C# 3 What Is the.net Framework? 4 What s in the.net Framework? 4 Writing Applications Using the.net Framework 5 What Is C#? 8 Applications

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

WCF Services in Nutshell

WCF Services in Nutshell WCF Services in Nutshell Based on the original slides of Michael Arnwine: WCF using Service Oriented Architecture (SOA) and Restful Service What is WCF Windows Communication Foundation (WCF) is an SDK

More information

MOODLE MODULE HELIX MEDIA LIBRARY

MOODLE MODULE HELIX MEDIA LIBRARY MOODLE MODULE HELIX MEDIA LIBRARY Revision Date May 2012 The following guide explains how to install the Moodle module which allows access to content in the Helix Media Library through the API. Pre-requisite

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

CertifyMe. CertifyMe

CertifyMe. CertifyMe CertifyMe Number: 70-569 Passing Score: 800 Time Limit: 120 min File Version: 8.0 http://www.gratisexam.com/ CertifyMe 70-569 Exam A QUESTION 1 You are creating a distributed application by using Microsoft.NET

More information

RadPDFViewer For Silverlight and WPF

RadPDFViewer For Silverlight and WPF RadPDFViewer For Silverlight and WPF This tutorial will introduce the RadPDFViewer control, part of the Telerik suite of XAML controls Setting Up The Project To begin, open Visual Studio and click on the

More information

Workspace Desktop Edition Developer's Guide. Customize Views and Regions

Workspace Desktop Edition Developer's Guide. Customize Views and Regions Workspace Desktop Edition Developer's Guide Customize Views and Regions 11/27/2017 Customize Views and Regions Purpose: To provide information about customizable views and their regions. Contents 1 Customize

More information

ArcGIS Pro SDK for.net: Advanced User Interfaces in Add-ins. Wolfgang Kaiser

ArcGIS Pro SDK for.net: Advanced User Interfaces in Add-ins. Wolfgang Kaiser ArcGIS Pro SDK for.net: Advanced User Interfaces in Add-ins Wolfgang Kaiser Framework Elements - Recap Any Framework Element is an extensibility point - Controls (Button, Tool, and variants) - Hosted on

More information

var xdoc = XDocument.Load(inStream);

var xdoc = XDocument.Load(inStream); Gradebook Sample App Summary: The goal of this project is to demonstrate how to share code across project types by using a Portable Class Library between a traditional Windows* Desktop application and

More information

Microsoft Exam TS: Windows Applications Development with Microsoft.NET Framework 4 Version: 58.5 [ Total Questions: 228 ]

Microsoft Exam TS: Windows Applications Development with Microsoft.NET Framework 4 Version: 58.5 [ Total Questions: 228 ] s@lm@n Microsoft Exam 70-511 TS: Windows Applications Development with Microsoft.NET Framework 4 Version: 58.5 [ Total Questions: 228 ] Topic 1, C# Question No : 1 - (Topic 1) You use Microsoft.NET Framework

More information

Windows Communication Foundation

Windows Communication Foundation Windows Communication Foundation Creating a WCF Service Application and Configure this with IIS Server Comparing Web Services to WCF WCF Vs Remoting Regards Kapil Dhawan connect2kapil@gmail.com .Net Version

More information

SharpShooter Reports.Web Getting Started for WCF

SharpShooter Reports.Web Getting Started for WCF SharpShooter Reports.Web Getting Started for WCF Last modified on: September 5, 2011 Table of Content System Requirements... 3 Introduction... 3 Creation of a Web application... 3 Step 1. Creation of a

More information

10267 Introduction to Web Development with Microsoft Visual Studio 2010

10267 Introduction to Web Development with Microsoft Visual Studio 2010 10267 Introduction to Web Development with Microsoft Visual Studio 2010 Course Number: 10267A Category: Visual Studio 2010 Duration: 5 days Course Description This five-day instructor-led course provides

More information

Accurate study guides, High passing rate! IT TEST BOOK QUESTION & ANSWER. Ittestbook provides update free of charge in one year!

Accurate study guides, High passing rate! IT TEST BOOK QUESTION & ANSWER. Ittestbook provides update free of charge in one year! IT TEST BOOK QUESTION & ANSWER Ittestbook provides update free of charge in one year! Accurate study guides, High passing rate! Exam : 070-506 Title : TS: Microsoft Silverlight 4, Development Version :

More information

EXAM TS:Windows Apps Dev w/microsoft.net Framework 4((C# and VB) Buy Full Product.

EXAM TS:Windows Apps Dev w/microsoft.net Framework 4((C# and VB) Buy Full Product. Microsoft EXAM - 70-511 TS:Windows Apps Dev w/microsoft.net Framework 4((C# and VB) Buy Full Product http://www.examskey.com/70-511.html Examskey Microsoft 70-511 exam demo product is here for you to test

More information

ALPHAPRIMETECH 112 New South Road, Hicksville, NY 11801

ALPHAPRIMETECH 112 New South Road, Hicksville, NY 11801 ALPHAPRIMETECH 112 New South Road, Hicksville, NY 11801 Course Curriculum COMPUTER SYSTEM ANALYST-.NET C# Introduction to.net Framework.NET Framework OverView CLR,CLS MSIL Assemblies NameSpaces.NET Languages

More information

2310C VB - Developing Web Applications Using Microsoft Visual Studio 2008 Course Number: 2310C Course Length: 5 Days

2310C VB - Developing Web Applications Using Microsoft Visual Studio 2008 Course Number: 2310C Course Length: 5 Days 2310C VB - Developing Web Applications Using Microsoft Visual Studio 2008 Course Number: 2310C Course Length: 5 Days Certification Exam This course will help you prepare for the following Microsoft Certified

More information

Nebraska - eforms. Tips and Tricks

Nebraska - eforms. Tips and Tricks Nebraska - eforms Tips and Tricks 1) Nebraska eforms is an ASP.Net 4.0 - Silverlight 4 web application created for industry users to submit required regulatory forms electronically. You must have.net Framework

More information

Microsoft ASP.NET Whole Course Syllabus upto Developer Module (Including all three module Primary.NET + Advance Course Techniques+ Developer Tricks)

Microsoft ASP.NET Whole Course Syllabus upto Developer Module (Including all three module Primary.NET + Advance Course Techniques+ Developer Tricks) Microsoft ASP.NET Whole Course Syllabus upto Developer Module (Including all three module Primary.NET + Advance Course Techniques+ Developer Tricks) Introduction of.net Framework CLR (Common Language Run

More information

Getting Started with the Bullhorn SOAP API and C#/.NET

Getting Started with the Bullhorn SOAP API and C#/.NET Getting Started with the Bullhorn SOAP API and C#/.NET Introduction This tutorial is for developers who develop custom applications that use the Bullhorn SOAP API and C#. You develop a sample application

More information

Web Services DELMIA Apriso 2017 Implementation Guide

Web Services DELMIA Apriso 2017 Implementation Guide Web Services DELMIA Apriso 2017 Implementation Guide 2016 Dassault Systèmes. Apriso, 3DEXPERIENCE, the Compass logo and the 3DS logo, CATIA, SOLIDWORKS, ENOVIA, DELMIA, SIMULIA, GEOVIA, EXALEAD, 3D VIA,

More information

Getting Started. DevForce and Report Sharp-Shooter Silverlight Bundle. Software Prerequisites

Getting Started. DevForce and Report Sharp-Shooter Silverlight Bundle. Software Prerequisites DevForce and Report Sharp-Shooter Silverlight Bundle Getting Started This document walks you through the process of adding reporting capabilities to a DevForce Silverlight application, using PerpetuumSoft

More information

Exam sell. Higher Quality Better Service! Certified IT practice exam authority.

Exam sell. Higher Quality Better Service! Certified IT practice exam authority. Higher Quality Better Service! Exam sell Certified IT practice exam authority Accurate study guides, High passing rate! Exam Sell provides update free of charge in one year! http://www.examsell.com Exam

More information

Name of Experiment: Country Database

Name of Experiment: Country Database Name of Experiment: Country Database Exp No: DB2 Background: Student should have basic knowledge of C#. Summary: Database Management is one of the key factors in any Mobile application development framework.

More information

C# Language. CSE 409 Advanced Internet Technology

C# Language. CSE 409 Advanced Internet Technology C# Language Today You will learn Building a basic class Value Types and Reference Types Understanding Namespaces and Assemblies Advanced Class Programming CSE 409 Advanced Internet Technology Building

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

Activating AspxCodeGen 4.0

Activating AspxCodeGen 4.0 Activating AspxCodeGen 4.0 The first time you open AspxCodeGen 4 Professional Plus edition you will be presented with an activation form as shown in Figure 1. You will not be shown the activation form

More information

Getting Started with WCF

Getting Started with WCF Getting Started with WCF Contents 1. WCF and SOA essentials 2. WCF architecture 3. Service hosting and communication 2 1. WCF and SOA essentials What is WCF? WCF versions What is a service? SOA (service-oriented

More information

BUSINESS DEVELOPMENT SUITE MOBILE INSTALLATION GUIDE. Version 14R2

BUSINESS DEVELOPMENT SUITE MOBILE INSTALLATION GUIDE. Version 14R2 BUSINESS DEVELOPMENT SUITE MOBILE INSTALLATION GUIDE Version 14R2 COPYRIGHT INFORMATION 2015 Thomson Reuters Elite. All rights reserved. Proprietary and confidential information of Thomson Reuters Elite.

More information

Transport (http) Encoding (XML) Standard Structure (SOAP) Description (WSDL) Discovery (UDDI - platform independent XML)

Transport (http) Encoding (XML) Standard Structure (SOAP) Description (WSDL) Discovery (UDDI - platform independent XML) System Programming and Design Concepts Year 3 Tutorial 08 1. Explain what is meant by a Web service. Web service is a application logic that is accessible using Internet standards. A SOA framework. SOA

More information

LVL08 Black Belt Silverlight Business Data Validation

LVL08 Black Belt Silverlight Business Data Validation LVL08 Black Belt Silverlight Business Data Validation Brian Noyes Chief Architect, IDesign Inc (www.idesign.net) brian.noyes@idesign.net, @briannnoyes About Brian Chief Architect IDesign Inc. (www.idesign.net)

More information

Document for Consuming Web-Service In.NET & JAVA

Document for Consuming Web-Service In.NET & JAVA Document for Consuming Web-Service In.NET & JAVA Delhi e-governance Society, Department of Information Technology, Government of Delhi 9 th Level B Wing Delhi Secretariat 1 Background: Ministry of Electronics

More information

Refcard #111 Getting Started with Windows Communication Foundation 4.0

Refcard #111 Getting Started with Windows Communication Foundation 4.0 Sign In / Join MENU Refcard # Getting Started with Windows Communication Foundation.0 The Standard in.net Messaging by Scott Seely Gets you up to speed with WCF and covers configuration, contracts, bindings,

More information

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.)

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.) 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 Language (IL) Just- In-

More information

Exam Name: TS: Windows Applications Development with Microsoft.NET Framework 4

Exam Name: TS: Windows Applications Development with Microsoft.NET Framework 4 Vendor: Microsoft Exam Code: 70-511 Exam Name: TS: Windows Applications Development with Microsoft.NET Framework 4 Version: DEMO CSHARP QUESTION 1 You use Microsoft.NET Framework 4 to create a Windows

More information

CHAPTER 1: VISUAL STUDIO

CHAPTER 1: VISUAL STUDIO INTRODUCTION xxxi PART I: LANGUAGE CONSTRUCTS AND ENVIRONMENT CHAPTER 1: VISUAL STUDIO 2012 3 Visual Studio 2012 4 Visual Basic Keywords and Syntax 5 Console Applications 10 Creating a Project from a Project

More information

COPYRIGHTED MATERIAL. Contents. Part I: C# Fundamentals 1. Chapter 1: The.NET Framework 3. Chapter 2: Getting Started with Visual Studio

COPYRIGHTED MATERIAL. Contents. Part I: C# Fundamentals 1. Chapter 1: The.NET Framework 3. Chapter 2: Getting Started with Visual Studio Introduction XXV Part I: C# Fundamentals 1 Chapter 1: The.NET Framework 3 What s the.net Framework? 3 Common Language Runtime 3.NET Framework Class Library 4 Assemblies and the Microsoft Intermediate Language

More information

Authorization and authentication. Jakub Dominik Adam Szymczak Adam Świątek Łukasz Tomczak

Authorization and authentication. Jakub Dominik Adam Szymczak Adam Świątek Łukasz Tomczak Authorization and authentication Jakub Dominik Adam Szymczak Adam Świątek Łukasz Tomczak Authorization and authentication Security systems 2 Authorization and authentication WHY?! - security vulnerability

More information

DE-2310 Developing Web Applications Using Microsoft Visual Studio 2008 SP1

DE-2310 Developing Web Applications Using Microsoft Visual Studio 2008 SP1 DE-2310 Developing Web Applications Using Microsoft Visual Studio 2008 SP1 Summary Duration 5 Days Audience Developers Level 100 Technology Microsoft Visual Studio 2008 Delivery Method Instructor-led (Classroom)

More information

DE Introduction to Web Development with Microsoft Visual Studio 2010

DE Introduction to Web Development with Microsoft Visual Studio 2010 DE-10267 Introduction to Web Development with Microsoft Visual Studio 2010 Summary Duration 5 Days Audience Developers Level 100 Technology Microsoft Visual Studio 2010 Delivery Method Instructor-led (Classroom)

More information

--Microsoft-- --Windows Phone--

--Microsoft-- --Windows Phone-- --Microsoft-- --Windows Phone-- Microsoft Windows Phone Course 10553A: Fundamentals of XAML and Microsoft Expression Blend Course Outline Module 1: Binding in XAML This module familiarizes the students

More information

Introduction to Programming Microsoft.NET Framework Applications with Microsoft Visual Studio 2005 (C#)

Introduction to Programming Microsoft.NET Framework Applications with Microsoft Visual Studio 2005 (C#) Introduction to Programming Microsoft.NET Framework Applications with Microsoft Visual Studio 2005 (C#) Course Number: 4994A Length: 3 Day(s) Certification Exam There are no exams associated with this

More information

WCF Guidance for Mobile Developers

WCF Guidance for Mobile Developers Contents The State of Windows Mobile Today... 4 Windows Mobile Devices... 5 Pocket PCs (Windows Mobile 6 Professional/Classic)... 5 Smartphones... 6.NET Compact Framework... 6 Remote Communications with

More information

Week 6: First XAML Control Exercise

Week 6: First XAML Control Exercise BCIS 4650 Week 6: First XAML Control Exercise The controls you will use are: Blank App (Universal Windows), which contains a Grid control by default StackPanel (acts as a container for CheckBoxes and RadioButtons)

More information

Creation of the application based on the DevForce Silverlight by IdeaBlade with the use of Report Sharp-Shooter for Silverlight by Perpetuum Software.

Creation of the application based on the DevForce Silverlight by IdeaBlade with the use of Report Sharp-Shooter for Silverlight by Perpetuum Software. Creation of the application based on the DevForce Silverlight by IdeaBlade with the use of Report Sharp-Shooter for Silverlight by Perpetuum Software. Getting Started Table of Contents: Preface 2 Product

More information

ITCertMaster. Safe, simple and fast. 100% Pass guarantee! IT Certification Guaranteed, The Easy Way!

ITCertMaster.  Safe, simple and fast. 100% Pass guarantee! IT Certification Guaranteed, The Easy Way! ITCertMaster Safe, simple and fast. 100% Pass guarantee! http://www.itcertmaster.com IT Certification Guaranteed, The Easy Way! Exam : 70-503-Csharp Title : TS: MS.NET Frmwrk 3.5, Wndws Commun Fndtion

More information

Services and Windows Communication Foundation - WCF

Services and Windows Communication Foundation - WCF Services and Windows Communication Foundation - WCF Configuration Use 1 IIS Hosting Very similar to a XML Web Service (ASMX file) Its a resource in an IIS web application IIS can host services with Bindings

More information

Hands-On Lab. Building Applications in Silverlight 4 Module 6: Printing the Schedule. Printing the Schedule

Hands-On Lab. Building Applications in Silverlight 4 Module 6: Printing the Schedule. Printing the Schedule Hands-On Lab Building Applications in Silverlight 4 Module 6: 1 P a g e Contents Introduction... 3 Exercise 1: on One Page... 4 Create the Printing ViewModel and View... 4 Hook up the Print Button... 7

More information

Chapter 12: How to Create and Use Classes

Chapter 12: How to Create and Use Classes CIS 260 C# Chapter 12: How to Create and Use Classes 1. An Introduction to Classes 1.1. How classes can be used to structure an application A class is a template to define objects with their properties

More information

sharpcorner.com/uploadfile/37db1d/4958/default.aspx?articleid=cb0b291c-52ae-4b80-a95c- 438d76fa1145

sharpcorner.com/uploadfile/37db1d/4958/default.aspx?articleid=cb0b291c-52ae-4b80-a95c- 438d76fa1145 Navigation in Silverlight -3 1. Introduction: In previous article we learn to navigate to another Silverlight page without using navigation framework, which is new feature in Silverlight 3. Read it Here:

More information

Introduction to Web Development with Microsoft Visual Studio 2010

Introduction to Web Development with Microsoft Visual Studio 2010 Introduction to Web Development with Microsoft Visual Studio 2010 Course 10267; 5 Days, Instructor-led Course Description This five-day instructor-led course provides knowledge and skills on developing

More information

Developing Web Applications Using Microsoft Visual Studio 2008 SP1

Developing Web Applications Using Microsoft Visual Studio 2008 SP1 Developing Web s Using Microsoft Visual Studio 2008 SP1 Introduction This five day instructor led course provides knowledge and skills on developing Web applications by using Microsoft Visual Studio 2008

More information

.NET, C#, and ASP.NET p. 1 What Is.NET? p. 2 The Common Language Runtime p. 2 Introducing C# p. 3 Introducing ASP.NET p. 4 Getting Started p.

.NET, C#, and ASP.NET p. 1 What Is.NET? p. 2 The Common Language Runtime p. 2 Introducing C# p. 3 Introducing ASP.NET p. 4 Getting Started p. Introduction p. xix.net, C#, and ASP.NET p. 1 What Is.NET? p. 2 The Common Language Runtime p. 2 Introducing C# p. 3 Introducing ASP.NET p. 4 Getting Started p. 5 Installing Internet Information Server

More information

C# Programming: From Problem Analysis to Program Design. Fourth Edition

C# Programming: From Problem Analysis to Program Design. Fourth Edition C# Programming: From Problem Analysis to Program Design Fourth Edition Preface xxi INTRODUCTION TO COMPUTING AND PROGRAMMING 1 History of Computers 2 System and Application Software 4 System Software 4

More information

Introduction to Microsoft.NET Framework Programming using VS 2005 (C#)

Introduction to Microsoft.NET Framework Programming using VS 2005 (C#) Introduction to Microsoft.NET Framework Programming using VS 2005 (C#) Course Length: 5 Days Course Overview This instructor-led course teaches introductory-level developers who are not familiar with the

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

70-503CSHARP. MS.NET Framework 3.5, Windows Communication Foundation Application Developer Exam.

70-503CSHARP. MS.NET Framework 3.5, Windows Communication Foundation Application Developer Exam. Microsoft 70-503CSHARP MS.NET Framework 3.5, Windows Communication Foundation Application Developer Exam TYPE: DEMO http://www.examskey.com/70-503csharp.html Examskey Microsoft70-503CSHARP exam demo product

More information

Pro XAML with C# From Design to Deployment on WPF, Windows Store, and Windows Phone. Buddy James. Lori Lalonde

Pro XAML with C# From Design to Deployment on WPF, Windows Store, and Windows Phone. Buddy James. Lori Lalonde Pro XAML with C# From Design to Deployment on WPF, Windows Store, and Windows Phone Buddy James Lori Lalonde Contents J About the Authors About the Technical Reviewer Acknowledgments Introduction xiii

More information

Course Syllabus C # Course Title. Who should attend? Course Description

Course Syllabus C # Course Title. Who should attend? Course Description Course Title C # Course Description C # is an elegant and type-safe object-oriented language that enables developers to build a variety of secure and robust applications that run on the.net Framework.

More information

Cello How-To Guide. Configuring and Consuming CelloSaaS WCF Services

Cello How-To Guide. Configuring and Consuming CelloSaaS WCF Services Cello How-To Guide Configuring and Consuming CelloSaaS WCF Services Contents 1 Introduction... 3 2 Windows Communication Foundation (WCF) service... 4 2.1 Hosting CelloSaaS WCF service... 4 2.2 How to

More information

Beginning Silverlight 5 in C #

Beginning Silverlight 5 in C # Table of Contents: Chapter 1. Welcome to Silverlight 5 1.1 The Evolution of the User interface 1.2 Rich Internet Application Solutions 1.3 What is Silverlight? 1.4 Benefits of Silverlight 1.4.1 Cross-Platform/Cross-Browser

More information

Road Map for Essential Studio 2010 Volume 1

Road Map for Essential Studio 2010 Volume 1 Road Map for Essential Studio 2010 Volume 1 Essential Studio User Interface Edition... 4 Essential Grid... 4 Essential Grid ASP.NET... 4 Essential Grid ASP.NET MVC... 4 Essential Grid Windows Forms...

More information

Learn to Love Lambdas

Learn to Love Lambdas Learn to Love Lambdas An overview of Lambda Expressions by JeremyBytes.com Overview Lambda expressions can be confusing the first time you walk up to them. But once you get to know them, you ll see that

More information

Silverlight for Windows Phone Toolkit in Depth. Silverlight for Windows Phone Toolkit. In Depth. by Boryana Miloshevska.

Silverlight for Windows Phone Toolkit in Depth. Silverlight for Windows Phone Toolkit. In Depth. by Boryana Miloshevska. Silverlight for Windows Phone Toolkit In Depth by Boryana Miloshevska 2 About the Author Boryana Miloshevska is a software developer with more than 6 years of professional experience with.net technologies.

More information

Microsoft Exam

Microsoft Exam Volume: 228 Questions Question No : 1 You use Microsoft.NET Framework 4 to create a Windows Forms application. You add a new class named Customer to the application. You select the Customer class to create

More information

Server Installation Manual

Server Installation Manual Sitecore Adaptive Print Studio Adaptive Print Studio 1.3 - Server Installation Manual, July 1, 2013 Adaptive Print Studio 1.3 Server Installation Manual Installing Adaptive Print Studio Page 2 Table of

More information

Server Installation Manual

Server Installation Manual Sitecore Adaptive Print Studio Adaptive Print Studio 1.3 - Server Installation Manual, July 1, 2013 Adaptive Print Studio 1.3 Server Installation Manual Installing Adaptive Print Studio Page 1 Page 2 Table

More information

OpenLM SOAP API implementation spec

OpenLM SOAP API implementation spec OpenLM SOAP API implementation 1 OpenLM SOAP API implementation spec Abstract Solution Infrastructure General Implementation Steps Example Implementation Steps Defining a Request object Defining a Response

More information

COURSE OUTLINE: OD10267A Introduction to Web Development with Microsoft Visual Studio 2010

COURSE OUTLINE: OD10267A Introduction to Web Development with Microsoft Visual Studio 2010 Course Name OD10267A Introduction to Web Development with Microsoft Visual Studio 2010 Course Duration 2 Days Course Structure Online Course Overview This course provides knowledge and skills on developing

More information

CS3240 Human-Computer Interaction Lab Sheet Lab Session 3 Designer & Developer Collaboration

CS3240 Human-Computer Interaction Lab Sheet Lab Session 3 Designer & Developer Collaboration CS3240 Human-Computer Interaction Lab Sheet Lab Session 3 Designer & Developer Collaboration Page 1 Overview In this lab, users will get themselves familarise with fact that Expression Blend uses the identical

More information

Mobile Computing Xamarin Data Binding MVVM Pattern

Mobile Computing Xamarin Data Binding MVVM Pattern Xamarin Data Binding MVVM Pattern APM@FEUP 1 Data Binding In simple apps Get and set properties of controls is done explicitly in the code behind entry1.text = Hello, world! ; For complex or big apps This

More information

IRESS Depth - Web Services Version 4 Walkthrough Visual Basic 2008 sample to retrieve IRESS Depth information

IRESS Depth - Web Services Version 4 Walkthrough Visual Basic 2008 sample to retrieve IRESS Depth information IRESS Depth - Web Services Version 4 Walkthrough Visual Basic 2008 sample to retrieve IRESS Depth information The purpose of this walkthrough is to build the following Windows Forms Application that will

More information

for imis and etouches

for imis and etouches for imis and etouches Release Notes Version 7.1 510 Thornall Street, Suite 310 Edison, NJ 08837 Tel: 732-548-6100 www.csystemstemsglobal.com New York Toronto London Contents About Version 7.1 3 imis Version

More information

User Filter State. Chapter 11. Overview of User Filter State. The PDSAUserFilterState Class

User Filter State. Chapter 11. Overview of User Filter State. The PDSAUserFilterState Class Chapter 11 User Filter State When users visit a search page (or an add, edit and delete page with a set of search filters above the grid), each user will enter search criteria, drill down on a search result

More information

IOS Plus Trade - Web Services Version 4 Walkthrough

IOS Plus Trade - Web Services Version 4 Walkthrough IOS Plus Trade - Web Services Version 4 Walkthrough Visual Basic 2008 sample to retrieve IOS Plus Trade information The purpose of this walkthrough is to build the following Windows Forms Application that

More information

Introduction to Microsoft.NET Programming Using Microsoft Visual Studio 2008 (C#) Course Overview. Prerequisites. Audience.

Introduction to Microsoft.NET Programming Using Microsoft Visual Studio 2008 (C#) Course Overview. Prerequisites. Audience. Introduction to Microsoft.NET Programming Using Microsoft Visual Studio 2008 (C#) Course Number: 6368A Course Length: 1 Day Course Overview This instructor-led course provides an introduction to developing

More information

Data Representation CHAPTER 3. Background The Windows Communication Foundation provides a IN THIS CHAPTER. Background.

Data Representation CHAPTER 3. Background The Windows Communication Foundation provides a IN THIS CHAPTER. Background. 04_0672328771_ch03.qxd 5/3/06 12:56 PM Page 69 CHAPTER 3 Data Representation IN THIS CHAPTER Background XmlSerializer and XmlFormatter The XML Fetish Background The Windows Communication Foundation provides

More information