tillnow

Fun & Little bit of Technology

Blog

view:  full / summary

Mouse events in silverlight with animation

Manokaran T Posted by Manokaran T at 08:09 AM on July 07, 2009 Comments comments (0)

     In this blog i have created sample application for mouse events in silverlight plug in and C# as business logic.

   

     This application shows that, there are 3 grid in single page. Grid 1 is used as background(light blue) like title of the page(till now), I used grid 2 as a side bar of the page with brown color & it have 2 button, then grid 3(green) used as a content space of this page. like below




When compile the application the above shot to begin.. then click the home button mono4mano textblock to

be appeared, like 


when mouse over the login button the following fields are display with animation like login button to be expanded..

 

 

And you can also ddooo




Difference between DLL and Exe file

Manokaran T Posted by Manokaran T at 04:58 AM on July 06, 2009 Comments comments (0)


There are some differences between them, like

 DLL


1. There are many entry points.

2. It is a library of program code with potentially many entry points. 

3. The system loads a DLL into the context of an existing thread

4. When u compile your web application a dll(Assembly) will be created

5. The dll is inprocess.dll run with an exe

 

Exe

 

1. There is only single main entry

2. A program with a single main entry point E32Main(). When the system launches a new .exe, it first                   creates  new process. The entry point is then called in the context of the main thread of that process.

3. When a system launches new exe, a new process is created

4.The entry thread is called in context of main thread of that process.

5. Exe is out process. exe can run independently.

 

 

 


PLUG IN

Manokaran T Posted by Manokaran T at 09:29 AM on June 22, 2009 Comments comments (0)


A Software or Hardware module that adds a specific feature or service to a larger system. The idea is that the new component simply plugs in to the existing system. For example, there are number of plug-ins for the Netrscape Navigator Browser that enable it to display different types of audio or video messages. Navigator plug-ins are based on MIME file types.

 


Plug-in applications are programs that can easily be installed and used as part of your Web Browser Initially, the Netscape browser allowed you to download, install, and define supplementary programs that played sound or motion video or performed other functions. These were called helper applications. However, these applications run as a separate application and require that a second window be opened. A plug-in application is recognized automatically by the browser and its function is integrated into the main HTML file that is being presented.

 


Difference between XML and XAML

Manokaran T Posted by Manokaran T at 09:05 AM on June 15, 2009 Comments comments (0)

XAML stands for Extensible Application Markup Language XML stands for Extensible Markup Language.


 

XAML is based on XML, so it uses XML for its markup.

 


If you look at a XAML document, it is also a valid XML document. But any XML document is not XAML.

 


In other words,XAML is a declarative XML-based language that defines objects and their properties in XML. XAML syntax focuses upon defining the UI (user interface) for the Windows Presentation Foundation (WPF) and is therefore separate from the application code behind it.

 


Although XAML is presently for use on the Windows platform, the WPF/E (Windows Presentation Foundation/Everywhere) initiative will eventually bring XAML to other platforms and devices.

 


XAML syntax describes objects, properties and their relationships to one another. Generic XAML syntax defines the relationship between objects and children.

 


Properties can be set as attributes or by using 'period notation' to specify the object as a property of its parent" XML is a markup language and XAML is application language to design for .net application. If you design any controls using XAML you can use it for windows as well as for web application also.

 

 


Difference between HTML and XML

Manokaran T Posted by Manokaran T at 09:00 AM on June 15, 2009 Comments comments (0)

1.HTML is presentaton language where as XML is not either a programing language or a presentation language. It is used to transfer data between applications and databases.

 


2.HTML is not case-sensitive where as XML is case-sensitive.

 


3.In XML we can define our own tags as it is not possible in HTML.

 


4.In XML it is mandatory to close each and every tag where as in HTML it is not required.

 


5.XML describes the data where as HTML only defines the data.

 

 


How to create deep zoom composer in silverligth

Manokaran T Posted by Manokaran T at 07:20 AM on June 15, 2009 Comments comments (0)

Step by step Procedure:

Open the Deep Zoom Composer.

Create a new Deep Zoom Project

Select the Add Image button to add multiple images to the project .

Select Compose and then to arrange the images whatever you wish.

Select Export. Assign the project a name, select the checkbox to create a

collection after that click the Export button.

After completing export process, close the Deep Zoom Composer and save the project.

Start or open Visual Studio 2008.

Open the Silverlight project that was created by the Deep Zoom Composer.

Compile the project

Basic .Net questions

Manokaran T Posted by Manokaran T at 05:53 AM on May 11, 2009 Comments comments (0)

Definition for .net

NET is essentially a framework for software development.It is similar in nature to any other software development framework (J2EE etc) in that it provides a set of runtime containers/capabilities, and a rich set of pre-built functionality in the form of class libraries and APIs The .NET Framework is an environment for building, deploying, and running Web Services and other applications. It consists of three main parts: the Common Language Runtime, the Framework classes, and ASP.NET.

 

1. How many languages .NET is supporting now?

 

When .NET was introduced it came with several languages. VB.NET, C#, COBOL and Perl, etc. The site DotNetLanguages.Net says 44 languages are supported.

2. How is .NET able to support multiple languages?

 

A language should comply with the Common Language Runtime standard to become a .NET language. In .NET, code is compiled to Microsoft Intermediate Language (MSIL for short). This is called as Managed Code. This Managed code is run in .NET environment. So after compilation to this IL the language is not a barrier. A code can call or use a function written in another language.

3. How ASP .NET different from ASP?

 

Scripting is separated from the HTML, Code is compiled as a DLL, these DLLs can be executed on the server.

 

4. What is smart navigation?

 

The cursor position is maintained when the page gets refreshed due to the server side validation and the page gets refreshed

5. What is view state?

The web is stateless. But in ASP.NET, the state of a page is maintained in the in the page itself automatically. How? The values are encrypted and saved in hidden controls. this is done automatically by the ASP.NET. This can be switched off / on for a single control

 

6. How do you validate the controls in an ASP .NET page?

 

Using special validation controls that are meant for this. We have Range Validator, Email Validator.

Difference between silverlight1.0 and 2.0

Manokaran T Posted by Manokaran T at 08:32 AM on April 21, 2009 Comments comments (0)

Silverligth 1.0

 

 

It’s a subset of 2.0, which offers greater potablity through the virtual machine and should replace the first version.  It’s cross-platforms and cross-browsers plug-in to display web pages holding XAML code.

 

Silverlight 1.0, which was developed under the codename Windows Presentation Foundation/Everywhere (WPF/E), consists of the core presentation framework, which is responsible for UI, interactivity and user input, basic UI controls, graphics and animation, media playback, Digital rights management, and DOM integration. It is made up of the following components:

 

  • Input – handling input from devices like keyboard, mouse, stylus etc.

     

  • UI core – managing rendering of bitmap images (including compressed raster images like JPEG), vector graphics, text and animations.

     

  • Media – playback of MP3, WMA Standard, WMV7, WMV8 and WMV9/VC-1 streams.

     

  • XAML – to allow the UI layout to be created using XAML markup language.

     

To facilitate this, Silverlight exposes a DOM API, accessible from any scripting language supported by Silverlight, which in version 1.0 release is limited to JavaScript running in the browser. Support for data formats is limited to XML and JSON only.

 

 

 

Silverlight 2.0 (It formarly1.1)

 

 

Its an interface to .net.  it also works with most browsers, but it requires a subset of the .net platform or a compatible platform.  This enables it to use other than JavaScript. Actually it has a virtual machine such as Java. Silverlight 2.0 (previously referred to as version 1.1)] includes a version of the .NET Framework, implementing the same full Common Language Runtime version as .NET Framework 3.0; so it can execute programs written in any .NET language.

 

Silverlight 2 includes the Dynamic Language Runtime (DLR) which allows dynamic compilation and execution of dynamic (scripting) languages.

 

Media features in Silverlight 2 include,

 

  • WMA Professional support, including WMA 10 Pro low-bitrate modes. However, multi-channel audio content is still down-converted to stereo output.

     

  • Content protection powered by Microsoft PlayReady  DRM client.

     

  • Server-side playlists in Windows Media Services.

     

  • Media Stream Source API.

     

 

 

Manokaran T Posted by Manokaran T at 05:55 AM on April 15, 2009 Comments comments (0)


Using the API with Silverlight

Manokaran T Posted by Manokaran T at 09:10 AM on April 13, 2009 Comments comments (0)

 

 

            Silverlight is a Microsoft framework that enables developers to build Rich Internet Applications (RIAs) using the same .NET framework and programming languages they are used to using in typical .NET applications. Because of its strong integration with browsers as well as with images and other media, it is a very interesting client for building applications using the Live Search API Version 2.0 Beta.

 

 

            Like JSON applications that live in the browser, Silverlight applications can’t typically invoke services (raw HTTP or SOAP) on domains other than the domain from which the Silverlight application is downloaded. But because Live Search API Version 2.0 Beta publishes a crossdomain policy file at the root of its domain (http://api.search.live.net/crossdomain.xml) that allows RIAs like Silverlight to access its endpoints, it is possible to use the API from Silverlight.

 

 

            Because Silverlight is really a .NET programming environment, the choices for API invocation are the same as the earlier .NET examples (although Silverlight also has a JSON-parsing object model). You can either use the raw HTTP XML interface or use the SOAP interface. The only difference is that, because Silverlight runs in the browser, the APIs we use are all asynchronous rather than synchronous. Example 10 shows code running inside of a Silverlight application that calls the HTTP XML interface.

 

 

 

 


View Older Posts »

Rss_feed

Welcome

Recent Photos

   

Featured Products

Search

Newest Members

Manokaran T

Recent Videos

Today's moments