.NET Framework and Silverlight Basics

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    3 Favorites

    .NET Framework and Silverlight Basics - Presentation Transcript

    1. Virat Kothari | Dhruval Shah Digicorp Information Systems Pvt. Ltd. www.digi-corp.com | +91-79-2630 46 81
      • I n this seminar we are going to discuss .NET framework, Visual Studio 2008 and Silver light 2.0
      • .N ET framework is well established software development environment which helps developer to develop highly scalable application quickly and gives optimum, efficient and performance oriented application
      • V isual Studio 2008 is an WYSIWYG IDE to develop .NET application quickly
      • S ilver light is a platform to develop Scalable Rich Interface Application quickly
      • T he .NET Framework is a new computing platform that simplifies application development in the highly distributed environment of the Internet
      • .N ET Framework is an infrastructure created by Microsoft for building, deploying, and running application and services that uses .NET technologies such as Desktop applications and Web applications
      • I t includes the Common Language Runtime (CLR) and .NET Framework class library
      • T he CLR provides the environment for running .NET applications
      • T he CLR also provides other important services such as security, memory management, and exception handling etc.,
      • T he class library provides the foundation services, including ASP.NET, ADO.NET, Windows Forms (for building GUIs) as well as classes for accessing COM services
      • T he class library and the CLR together constitute the .NET Framework
      • .NET supports more than 48 languages
      • T ools for developing software application
      • R untime environment for software application to execute
      • S erver infrastructure
      • V alue added intelligent software which helps developer to do less coding and work efficiently
      • M emory management of application
      • M inimize versioning conflict
      • I t also enable developers to develop application for various devices and platform
      • .N ET technology is used to develop numerous applications such as
        • W indows applications. For e.g. ERP, Chat application etc.,
        • C onsole or Dos type applications For e.g. Online ticket booking system etc.,
        • W eb applications. For e.g. CMS, Online shopping cart etc.,
        • W eb service applications. For e.g. A data access tool etc.,
        • S mart device applications. For e.g. A game for mobile device etc.,
    2.  
    3.  
      • C ommon Language Runtime (CLR) is a runtime environment that manages the execution of .NET program code
      • I t is also known as Virtual Execution System (VES)
      • I t provides various services like
        • M emory management
        • E xception management
        • D ebugging
        • S ecurity
        • T ype safety
        • T hread support
    4.  
      • Class loader, which loads classes into CLR
      • MSIL to native code compiles, this converts MSIL code into native code
      • Code manager, this manages the code during execution
      • Memory allocation and Garbage collector, this performs automatic memory management
      • Security engine, this enforces security restrictions as code level security folder level and machine level security using tools provided by Microsoft .NET and using .NET Framework setting under control panel
      • Type checker, which enforces strict type checking
      • Thread support, which provides multithreading support to applications
      • Exception manager, which provides a mechanism to handle the run-time exceptions handling
      • Debug engine, which allows developer to debug different types of applications
      • COM marshaler, which allows .NET applications to exchange data with COM applications
      • Base class library support, which provides the classes (types) that the applications need at run time
      • B ase Class Library is also known as Framework Class Library
      • I t is a collection of thousands of classes of .NET framework
      • I t provides following services
        • R untime core functionalities (Basic types, Collections, I/O etc.,)
        • I nteraction with database
        • C onsuming and producing XML
        • S OAP based xml web services
        • H elps in building Desktop and Web applications
      • .N ET supports more than 48 languages
      • T he languages that adheres to Common Language Specifications (CLS) are compatible to .NET framework
      • T he CLS defines the necessary things as common variable types (this is called the Common Type System CTS ), common visibility like when and where can one see these variables, common method specifications, and so on
      • O ne thing to note here is that the CLS simply provides the bare rules
    5.  
      • M icrosoft has introduces number of versions for .NET framework
      • V ersion 1.0: This is the first release of the .NET Framework, released on 13 February 2002 and available for Windows 98, Me, NT 4.0, 2000, and XP. Mainstream
      • V ersion 1.1: This version is the first major version of .NET but still it was premature version
      • V ersion 2.0: First mature version published on 22 nd January, 2006
      • V ersion 3.0: It includes new set of API and also introduces WPF, WCF, WF, WCS
      • V ersion 3.5: Few more things like LINQ and ASP.NET Ajax support
      • V ersion 4.0: Still to be released. Expected PLINQ, Full support for IronPython, IronRuby, Code contract etc.,
      • M aster Pages
      • G enerics
      • P artial classes
      • C aching library
      • B uilt in Membership, Role, and Personalization framework
      • L ogin control
      • W eb Parts & Zones
      • M any, many performance optimizations
      W hat’s New in .NET 2.0
      • .N ET framework 2.0 technologies. The new technologies in the .NET framework 3.0 include
        • W indows Presentation Foundation (WPF)
        • W indows Communication Foundation (WCF)
        • W indows Workflow Foundation (WWF)
        • W indows Card Space (WCS)
      • B uilt on top of 2.0 and 3.0
      • A SP.NET Ajax
      • M embership, Role, and Personalization framework exposed as web services
      • L anguage Integrated Querying (LINQ)
      • N ative support for latest web protocols (RSS, JSON, etc)
      • A uto-implemented properties
      W hat’s new in 3.5
      • T he .NET Framework 3.5 is considered an interim update that does introduce some enhancements to existing technologies in the form of new controls, fixes, etc.,
      • I t includes the integration of two new technologies
        • L anguage Integrated Query (LINQ / XLINQ)
        • A SP.NET AJAX
      • T hese W’s are introduced in .NET framework 3.0. Basically they are few innovation and segregation for better management. They are
        • W indows Presentation Foundation (WPF)
        • W indows Communication Foundation (WCF)
        • W indows Workflow Foundation (WWF)
        • W indows Card Space (WCS)
      • W indows Presentation Foundation: The Windows Presentation Foundation (WPF), as its name implies, is the new Microsoft standard for creating user interfaces. WPF is a consolidation of previously used presentation technologies including Windows Forms, GDI+, Windows Media Player, and DirectX. Main features are
        • A strong platform to build Rich Interface Application
        • T he ability for designers and developers to work together
        • A common and standardize technology
      • M any of the problems facing the Internet today stem from the lack of a widely deployed, easily understood, secure identity solution. Microsoft’s Windows CardSpace software and the “Identity Metasystem” protocols underlying it are aimed at filling this gap using technology all can adopt and solutions all can endorse, putting people in control of their identity interactions on the Internet. One problem people face is knowing whether they’re at a legitimate web site or a malicious site. This is an identity problem: a problem with reliably identifying authentic sites to their users. People also face numerous problems in identifying themselves to the sites they use. Username/password authentication is the prevailing paradigm, but its weaknesses are all too evident on today’s Internet. Password reuse, insecure passwords, forgotten passwords, and poor password management practices open a world of attacks by themselves. Combine that with the password theft attacks enabled by counterfeit web sites and man-in-the-middle attacks and today’s Internet is an attacker’s paradise. CardSpace is part of the solution to all of these problems.
      • T he Windows CardSpace software enables people to maintain a set of personal digital identities that are shown to them as visual “Information Cards”. These cards are easier to use than passwords. Furthermore, they employ strong cryptography, making them significantly more secure than passwords and other information typed into web forms.
      • W indows Communication Foundation: As a new, consolidated solution to creating distributed systems, Microsoft introduced Windows Communication Foundation (WCF) with the .NET Framework version 3.0. WCF encompasses all preceding distributed application development technologies offered by Microsoft and is capable of continuing to intercommunicate with those technologies for backward compatibility. WCF simplifies distribute application development while being extensible in order to keep up with and incorporate the latest technologies and advances. The following figure shows the WCF architecture.
      • W CF provides:
        • A n advanced system for configuring endpoints in a distributed environment
        • T he ability to configure communication protocols to be used between endpoints
        • A reliable system for sending and receiving messages between endpoints
        • M essages may be sent asynchronously, secured, and managed through transactions
        • F unctionality for serializing and deserializing primitive, complex, and binary data
      • W indows Workflow Foundation (WF) is used to document workflows, both system-based and human-based as well as a combination of both. A workflow is a real world set of activities that can be documented in their order of precedence
      • W F is a layer on top of the .NET Framework version 3.0 and is created and maintained by using .NET programming languages.
      • V isual Studio 2008 provides a designer for WF and all future Microsoft products that implement a workflow of some type (this includes most products) will utilize and benefit from WF. Workflows are documented graphically by using the WF designer and WF then mostly automates the creation of the underlying objects, code, and services.
      • Designed to reduce the complexity when working with data
      • Query operators can be used against any collection
        • Built-in examples: Select, Where, GroupBy, Join, etc.
        • Extensibility model supports extending/replacing these
      • Benefits
        • Work with data in a consistent way, regardless of the type of data
        • Interact with data as objects
        • Better integration with programming languages
        • Improved productivity through IntelliSense in Visual Studio
      New programming model for data access that integrates query support directly within the .NET languages
    6. Objects <book> <title/> <author/> <year/> <price/> </book> XML .NET Language Integrated Query C# 3.0 VB 9.0 Others… Relational LINQ to Objects LINQ to SQL LINQ to XML LINQ to DataSets
    7. Programming with objects Unified Query Constructs across all data XML, SQL Server or Object collections IntelliSense, syntax checking, debugging within VS2008 (C# and VB)
      • C ompletely replaces VS 2005
      • M ulti-targets version 2.0 and higher runtimes
      • D esigners and toolboxes adapt to runtime selection
      • J avaScript intellisense
      • J avaScript debugging
      • N ew CSS editor
      • U nit test automation tools
      • I mprovement in XML comment
      W hat about VS 2008?
    8.  
      • W hat the heck is Silverlight?
        • W eb Platform for Rich Interactive Applications
          • W eb Platform is a euphemism for Plug-in
          • W ow factor stuff like vector-based graphics , animations, audio and video integration
          • C ross browser, cross platform (!)
          • I t’s a stand-alone framework. Not dependant on any prior .NET version. Clients need nothing but the plug-in.
      • S ounds familiar…
        • D oesn’t Macromedia (er…Adobe) already give this to us? I ts called Flash?
          • W ell…kind of. But Silverlight is better.
      • H TML + CSS + JavaScript is too limiting
      • T he Browser as a development platform is, well, less than ideal
      • M ore applications are becoming web-ified, but at the cost of user experience
      • E nd user expectations are changing. They want richness and interactivity (yes, even in LOB’s)
      • S o another platform I have to learn…
        • S ort of…but you get to leverage a lot of your existing skills
          • U I parts are based on .NET 3.0 (read ‘XAML’)
          • P rogramming model is JavaScript
          • F eels good to both rich client and web developers
      • T here really are four platforms
      • T wo versions of Silverlight currently available
        • 1 .0
          • D oes the basic XAML stuff, but still requires you to work (sorry)
          • J avaScript is the programming model…feels warm and cozy to web developers
          • ~ 2 MB download
        • 1 .1 Alpha
          • D oes way more XAML-ish stuff (less work for you  )
          • B rings in a managed programming model (woot!)
          • S ilverlight + .NET Alpha ~ 4 MB (cross platform)
        • 2 .0
          • M ore scalability, more controls, more user friendliness
        • 3 .0
          • J ust released before few days and having strong support for developer and designers
      • Browsers
        • Internet Explorer 6 and 7 (Windows)
        • Firefox 1.5.0.8, 2.0+ (Windows and Mac)
        • Safari 2.0.4+ (Mac)
        • Opera (through Mono implementation)
      • Operating systems
        • Windows XP SP2, Vista
        • Mac OS X (10.4.8+)
        • Mono Project working on Linux implementation
      • 2 D Graphics
        • S tandard shapes, masking and clipping
        • T ransformations: skew, rotate, scale, translate, matrix
      • A nimation Basics
        • A nimations change properties over time
        • S upport linear, discrete and spline animation
        • A nimatable property types:
          • D ouble, Color, Point
      • A nimations and graphics are defined using XAML
      • M edia Features
        • N o OS dependencies. Everything ships inside the platform
          • V ideo: WMV V7, V8, V9, VC-1
          • A udio: WMA V7, V8, V9 (standard), MP3
        • M ultiple options for deploying media
          • H TTP progressive download
          • I ntegration with Windows Media Server
      • T ools
        • D eveloper
          • V i sual Studio 2005 minimum for v1.0 development
          • F irebug (HTML, CSS and JS monitoring)
          • A ny text editor
        • D esigners
          • E xpression Blend and Design
          • X AML exporters
            • A dobe Illustrator, Office (good for font subsetting), Others…
      • K nowledge
        • S ilverlight development is similar to HTML development
          • P resentation format for Silverlight is XAML - XAML is XML (markup)
      • M akes prototyping applications simpler
        • U se of XAML by developer and designer enhances workflow
        • C ommon tooling brings application design closer to original concept of designer - Reduces “throw away” art work
      • R ich, Interactive Graphics
        • V ector, Composition, Animation
      • I mproved User Experience
      • S ophisticated Interactions Reduce Human-Computer Impedance Mismatch
      • L earning Curve of new Tooling, Language, Syntax
      • H ardware Requirements – Performance
      • L imited Visual Studio Support
      • B lend 2.0
      • D eveloper to Designer Ratio Gap
      • L imited Guidance, Best Practices
      • N o Familiar Tools that Developers are Familiar with
      • T hank you!

    + Abhishek DesaiAbhishek Desai, 6 months ago

    custom

    1291 views, 3 favs, 1 embeds more stats

    - .NET Framework fundamentals
    - Silverlight basics

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 1291
      • 1207 on SlideShare
      • 84 from embeds
    • Comments 0
    • Favorites 3
    • Downloads 0
    Most viewed embeds
    • 84 views on http://blog.digi-corp.com

    more

    All embeds
    • 84 views on http://blog.digi-corp.com

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories