Showing posts with label Silverlight. Show all posts
Showing posts with label Silverlight. Show all posts

Thursday, August 26, 2010

Now use Silverlight for Windows Phone

Its a really good news for Silverlight enthusiast and who love to highly work with Silverlight. Now you can work with Silverlight for Windows Phone

It also supports core capabilities in managed .Net code with XAML one can do



  • High quality video streaming, codec etc.



  • zoom facility



  • vector method the most exciting feature

    It can also utilize the XNA framework for media also can access Xbox Live.

    As a developer you just need to develop a silverlight application and package it to Windows Phone fo ruse.
    Silverlight 1.0 Unleashed Professional Silverlight 4 Microsoft Silverlight 4 Step by Step (Step By Step (Microsoft))
    Here is the complete story : http://www.silverlight.net/getstarted/devices/windows-phone/

    If you are interested you can start from here with download : Silverlight for Windows Phone

    Also check mycity portal : A city of nature
  • Sunday, November 22, 2009

    Session : Basics of Silverlight

    Today, I had a Session on Basics of Silverlight

    Highlights



    Session is started after Chandershekhar's Speech on VS2010 and a Small session thereon.

    1. Start with the basics
    2. What is Silverlight?
    3. Why we use Silverlight?
    4. Framework and Architectural view of Silverlight?
    5. Sumed up with how to create a Simple Application.

    The attendees are very good, there are lot of questions in this session. Unfortunately, there was some problem with my Visual Studio so, was unable to present live Demo. We decided to present a demo in next coming sessions.


    We have shared all the presentation contents at : Hyderabad Techies.

    There are planned session in next coming days.

    You are invited to join!

    Sunday, May 31, 2009

    Silverlight 3 Planned to release

    As per Microsoft promise, Silverlight 3 is coming very soon. Finally, Silverlight 3 is ready to launch on July 10 including its Expression Blend Studio 3 family of designer tools.

    Silverlight 3 adds some fetures:

    1. 3D Support

    2. GPU acceleration

    3. H.264 video support

    4. Out-of-browser support


    out-of-browser support will allow Silverlight apps to run on Windows or Mac clients and provide users with online, offline or intermittently connected access to their Silverlight apps and content.

    Right now, Silverlight 3 beta version is available for download

    Sunday, May 3, 2009

    Defining and using styles in Silverlight

    Defining and using styles in Silverlight



    Lets take practical scenario for Styles in Silverlight.

    Silverlight allows re-useable styles to be created to avoid duplication:


    <Button x:Name="btnSubmit" FontFamily="Arial"
    FontWeight="Bold" Width="100" Height="25"
    Margin="10" />

    <Button x:Name="btnCancel" FontFamily="Arial"
    FontWeight="Bold" Width="100" Height="25"
    Margin="10" />

    We can also create Global Styles using app.xaml file


    <Application.Resources>
    <Style x:Key="ButtonStyle" TargetType="Button">
    <Setter Property="Width" Value="100" />
    </Style>
    </Application.Resources>


    Applying Styles to Controls:

    With the help of Style property we can apply the global style to the properties:

    <Button x:Name="btnSubmit" Content="Submit"
    Click="btnSubmit_Click"
    Style="{StaticResource ButtonStyle}" />

    Silverlight : DataGrid Control

    DataGrid

    DataGrids are fundamental UI controls. They radically simplify the task of displaying structured data to users by automatically handling the rendering of rows, columns, headers, and data navigation. Silverlight's data grid is no exception. While it is far from being a complete or "advanced" grid control by today's WinForms and ASP.NET standards, it does provide basic grid functionality.

    To use the DataGrid control, you must simply bind the Grid to a list of items (that implement IEnumerable) via the ItemSource property. In the simplest approach, the Grid will automatically generate columns based on the data you supply and even render "special" column types- like checkbox columns- based on your data types. You can, of course, take more control and manually define the columns that will be rendered in your grid by setting the AutoGenerateColumns property to false.

    We have to add following namespace to use DataGrid:
    xmlns:my="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data"


    <my:DataGrid x:Name="myDataGrid" AutoGenerateColumns="true" />

    Silverlight Top 8 Frequently Asked Questions

    Q. What is Silverlight Tool Kit?

    Ans: To create an application or game you need to design, code and give some extra feature to your output. 

    To do the above, you need some controls, IDE etc.

    Silverlight Tool kit is nothing but is a collection of Silverlight Tools, Components etc. It includes source code describing the all you need to develop an application.

    Please visit this link for more info:http://www.codeplex.com/Silverlight


    Q. Can I add more than one .xaml pages in silverlight application?

    Ans: Yes, you can have multiple .xaml files in a single project.

    In the App.xaml, in the method Application_Startup you can choose, which page you want to initially display.


    Q. How can I create image pieces/sub image?

    Ans: In straight way you can''t create a subimage from an existing image. Here you just clip an image, Clipping is just different from Cropping. In clipping, first you have to dictate which part of the images to draw and later you have to remove all but the desired part of the image. Silverlight does not support cropping.


    Q. How does Silverlight 2 differ from Adobe Flash?

    Ans: As I am from .Net background so in my views you can get C# / Vb.net compiled code but in Flash there is only action script.

    You can find difference in depth at : http://silverlight.net/forums/t/3015.aspx


    Q. How can I switch to Expression Blend from Visual Studio?

    Ans: Expression blend provide great extensibility for XAML files.To switch to Expression Blend, right-click on the XAML file and select Open in Expression Blend.


    Q. What happened when I press F5 within Visual Studio to run Silverlight application?

    Ans: When you run the Silverlight application within Visual Studio, a new folder created in the web-site project for silverlight solution and it happened only first time. The folder name is ClientBin and having package with XAP extension which contains compiled project.


    Q. Can you elaborate how to start a silverlight application with Visual Studio?

    Ans : You can find a fully described article from http://www.silverlightclub.com/resources/1858-silverlight-lets-start-building-applications.aspx.aspx

    In the following step(s) I am giving the ideas all about:

    1.Create a project:Here you just start your visual studio, Select your programming language [C#/VB], Choose Silverligh Template give the name and save it.

    2. Adding SIlverlight COntrols:One thing is happened here, controls cannot dragged onto the designer, you can draw/drag the controls on XAML page.

    (a) Naming to control:In this step just give the name to your silverligt control like for Button you can give name as : btnmySilverligtButton

    (b)Adding event handlers to Silverlight controls:Here you can give the event handlers like for click etc.

    (c)Testing Silverlight applications in Visual Studio:Now just press F5 and test your application


    Q. What is the best place to start Silverlight application?

    Ans: There is no hard and fast rule to start Silverlight application. Every developer can start as per his/her experience. like as per my case I always prefer Visual Studio. SO, in my view Visual Studio is the best place to start with Silverlight2 applications.Microsoft provides templates for creating Silverlight applications and libraries in C# and Visual Basic.

    Friday, April 17, 2009

    Silverlight Games Site - Silverlight Club

    Its a great day for me, on 01st April'2009 finally Silverlight Game Site launched.

    The main motive of Silverlight Club is to promote Microsoft Silverlight . Tony John is the Founder and Admin of the Site. I am taking as a Webmaster of the site.

    We are looking some good Silverlight Experts , also we are running a Contest on the Site for Silverlight Games.

    Wednesday, March 25, 2009

    MicroSoft Released - Silverlight 3- Beta

    MicroSoft Released - Silverlight 3- Beta

    MicroSoft Released its Silverlight3 beta in MIX [conference for designers and developers at Las Vegas].

    Its available for download at:

    1. MicroSOft Silverlight 3 SDK Beta 1
    2. MicroSoft Silverlight 3 Tools Beta 1 for Visual Studio 2008 SP1
    3. The MicroSoft 3 beta Runtime

    Monday, October 13, 2008

    Silverlight2.0 : releases on Monday

    Get ready for Silverlight2.0 release on Monday

    I got the news from one of my friend and want to share the same with you. MicroSoft decided to release Silverlight2.0 on Monday.

    I have not more for its:
      1. Features
      2. Working
      3. New implementations
      4. Flexibility etc.

    Only the idea is that its a great inventions in the new era.

    For more information pelase visit : http://news.cnet.com/8301-13860_3-10063722-56.html

    Sunday, August 10, 2008

    Moonlight : Handles Silverlight Application in Unix

    As you knew that Mono project provides the platform to run .Net application on UNIX. Now, there is a new term Silverlight in the field of .Net so, what about the UNIX fellows.
    Will they stand alone?
    No, Mono has decided to plan Moonlight which runs on Unix for Silverlight.

    To do the same:
    -One need SDK
    -Build Silverlight program

    For more detail please visit: http://www.mono-project.com/Moonlight