[dba-VB] SCRUM/WPF - Buttons Styling Exerc izes

Salakhetdinov Shamil mcp2004 at mail.ru
Mon Jun 1 09:22:34 CDT 2009


Hi Gustav,

No, I didn't try to use deploy wizard - I assumed that SilverLight apps deployment should be as easy as ASP.NET apps - using XCOPY to copy files on prepared ASP.NET app folder - SilverLight app AFAIS is an ASP.NET app starting SilverLight control and feeding it with .xap file's location. 

I could be wrong with my assumption that SilverLight apps can be deployed using XCOPY. Maybe there should be some special processing of SilverLight app's .xap file on server side, which is currently missing on my ISP site? I will try to consult with SilverLight docs/my ISP or we can find solutions here together?

Robert, did you try to deploy SilverLight applications manually?

Thank you.

--
Shamil


-----Original Message-----
From: "Gustav Brock" <Gustav at cactus.dk>
To: <dba-vb at databaseadvisors.com>
Date: Mon, 01 Jun 2009 15:16:57 +0200
Subject: Re: [dba-VB] SCRUM/WPF - Buttons Styling Exerc izes

> Hi Shamil
> 
> Have you tried using the deplay wizard of VS?
> 
> /gustav
> 
> 
> >>> Salakhetdinov Shamil <mcp2004 at mail.ru> 01-06-2009 00:25 >>>
> Hi Robert at All,
> 
> I have made sample SilverLight application and I have got it installed (by XCOPY) here:
> 
> http://shamils-4.hosting.parking.ru/sl 
> 
> It works well when running locally in debug mode under VS2008 SP1 but it does not show anything in SilverLight when running from the above link.
> 
> What could be wrong?
> 
> Thank you.
> 
> --
> Shamil
> 
> P.S. Here is the main code of the above sample application:
> 
> http://shamils-4.hosting.parking.ru/sl 
> 
> Page1.xaml
> ========
> 
> <UserControl x:Class="SLA1.Page"
>     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
>     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
>     Width="400" Height="300">
>     <Grid x:Name="LayoutRoot" Background="White">
>         <Grid.RowDefinitions>
>             <RowDefinition Height="50"></RowDefinition>
>             <RowDefinition Height="50"></RowDefinition>
>             <RowDefinition  Height="50"></RowDefinition>
>             <RowDefinition  Height="50"></RowDefinition>
>             <RowDefinition  Height="50*"></RowDefinition>
>         </Grid.RowDefinitions>
>         <Grid.ColumnDefinitions>
>             <ColumnDefinition Width="200"></ColumnDefinition>
>             <ColumnDefinition Width="60*"></ColumnDefinition>
>         </Grid.ColumnDefinitions>
> 
>         <TextBlock Margin="10" VerticalAlignment="Center"  HorizontalAlignment="Right" Grid.Row="1" Grid.Column="0">User Name:</TextBlock>
>         <TextBox x:Name="txtUserName" Height="30"  Width="100"  HorizontalAlignment="Left" Grid.Row="1" Grid.Column="1" Text="guest"></TextBox>
>         <TextBlock Margin="10" HorizontalAlignment="Right" VerticalAlignment="Center"  Grid.Row="2" Grid.Column="0">Password:</TextBlock>
>         <TextBox x:Name="txtPassword" Height="30"  Width="100"  HorizontalAlignment="Left" Grid.Row="2" Grid.Column="1" Text="test"></TextBox>
>         <Button  Click="Button_Click" Content="OK" Height="30"  Width="100"  HorizontalAlignment="Left" Grid.Row="3" Grid.Column="1"></Button>
> 
>     </Grid>
> </UserControl>
> 
> 
> Page1.xaml.cs
> ==========
> using System;
> using System.Collections.Generic;
> using System.Linq;
> using System.Net;
> using System.Windows;
> using System.Windows.Controls;
> using System.Windows.Documents;
> using System.Windows.Input;
> using System.Windows.Media;
> using System.Windows.Media.Animation;
> using System.Windows.Shapes;
> 
> namespace SLA1
> {
>     public partial class Page : UserControl
>     {
>         public Page()
>         {
>             InitializeComponent();
>         }
> 
>         private void Button_Click(object sender, RoutedEventArgs e)
>         {
>             if (txtUserName.Text != "guest" || txtPassword.Text != "test")
>                 MessageBox.Show("Invalid UserName or Password");
>             else
>                 MessageBox.Show("Hello, World!");  
>         }
>     }
> }
> 
> 
> -----Original Message-----
> From: Robert Stewart <robert at webedb.com>
> To: dba-vb at databaseadvisors.com 
> Date: Sun, 31 May 2009 12:56:07 -0500
> Subject: Re: [dba-VB] SCRUM/WPF - Buttons Styling Exercizes
> 
> > I will be starting to work on a Silverlight application at the end of June.
> > I am currently working on converting an Access application into WPF
> > using the entity framework.
> > 
> > I just created a VM with WIndows 7 RC and VS 2010 Beta 1. I will
> > be using them to do some presentations at the user group that I teach.
> > Database and GUI Design.
> > 
> > There are currently 3 of us working in WPF. One is developing a pipe
> > yard inventory and shipping application in WPF. The other has developed
> > oil well information programs in WPF and is working another one now.
> > I am working a an application that manages social service agencies
> > that supply people with food, clothes, and other services.
> 
> 
> _______________________________________________
> dba-VB mailing list
> dba-VB at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/dba-vb
> http://www.databaseadvisors.com
> 




More information about the dba-VB mailing list