Category: Video
-
Learning Video on LINQ to SQL Class
Source Code using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication9 { class Program { static void Main(string[] args) { StudentDemoDataContext context = new StudentDemoDataContext(); #region Reterive //Reteriving all the Records foreach (var r in context.Students) { Console.WriteLine(r.Name + r.Subject); } #endregion #region Insert Student std = new Student { RollNumber = “8”, Name…
-
Video on consuming WCF Data Service (OData) in Windows 7 Phone Application
MainPage.Xaml <phoneNavigation:PhoneApplicationPage x:Class=“ConsumingODATA.MainPage” xmlns=“http://schemas.microsoft.com/winfx/2006/xaml/presentation” xmlns:x=“http://schemas.microsoft.com/winfx/2006/xaml” xmlns:phoneNavigation=“clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Navigation” xmlns:d=“http://schemas.microsoft.com/expression/blend/2008” xmlns:mc=“http://schemas.openxmlformats.org/markup-compatibility/2006” mc:Ignorable=“d” d:DesignWidth=“480” d:DesignHeight=“800” FontFamily=“{StaticResource PhoneFontFamilyNormal}” FontSize=“{StaticResource PhoneFontSizeNormal}” Foreground=“{StaticResource PhoneForegroundBrush}”> <Grid x:Name=“LayoutRoot” Background=“{StaticResource PhoneBackgroundBrush}”> <Grid.RowDefinitions> <RowDefinition Height=“Auto”/> <RowDefinition Height=“*”/> </Grid.RowDefinitions> <!–TitleGrid is the name of the application and page title–> <Grid x:Name=“TitleGrid” Grid.Row=“0”> <TextBlock Text=“Windows 7 Phone” x:Name=“textBlockPageTitle” Style=“{StaticResource PhoneTextPageTitle1Style}”/> <TextBlock Text=“ODATA” x:Name=“textBlockListTitle” Style=“{StaticResource PhoneTextPageTitle2Style}”/> </Grid> <!–ContentGrid is…
-
Video on Picture Gallery for Windows 7 Phone using WCF REST Service
IService1.cs 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Runtime.Serialization; 5 using System.ServiceModel; 6 using System.ServiceModel.Web; 7 using System.Text; 8 using System.IO; 9 10 namespace PictureService2 11 { 12 13 [ServiceContract] 14 public interface IService1 15 { 16 [OperationContract] 17 [WebGet(UriTemplate=”/GetFiles”)] 18 List<string> GetFilesName(); 19 20 21 [OperationContract] 22 [WebGet(UriTemplate=”/GetImage/{imageName}”)] 23 Stream…
-
Video on fixing WCF Data Service Client library for Windows7 phone
I have made this video referring link of tim heuer http://timh.me/bAfFvh Download ODATA Client library from below link , http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=b251b247-70ca-4887-bab6-dccdec192f8d Download WP7fix power script from below link http://storage.timheuer.com/wp7ctpfix.ps1