A lap around Microsoft .NET Developer Technologies Dimitris – Ilias Gkanatsios Microsoft Hellas v-digkan@microsoft.com twitter.com/dgkanatsios facebook/dgkanatsios Windows Forms • The graphical application programming interface included as part of the .NET Framework • Provides access to the native Windows interface elements by wrapping the existing Windows APIs – Fully managed code • A Windows Forms application is an eventdriven application ASP.NET • .NET application framework to create dynamic web sites, web applications and web services • 2 implementations (varying heavily) – ASP.NET Web Forms • (Optionally) Pages maintain their state during postbacks • Event-driven model – ASP.NET MVC • Direct implementation of the well-known pattern Model-View-Controller – Model is your data – View is your UI – Controller coordinates communication between the Model and the View • ASP.NET nicely integrates with ASP.NET AJAX Suite – Microsoft Ajax Library 3.5 – A server framework for building Ajax-enabled ASP.NET controls – AJAX control toolkit Data and ADO.NET • Interact with data sources – – – – SQL Server Access OLEDB, ODBC XML files • O/R mappers LINQ to SQL and Entity Framework are built upon it – LINQ to SQL: CRUD on SQL Server tables represented as objects – Entity Framework: Easy to control the mapping between an Entity Data Model (EDM) and raw relation structures • You can easily create REST-based services via Data Services Windows Phone 7 • • A new operating system A subset of .NET framework for Windows Phone devices – – • Development in – – • • • Silverlight (mainly applications) XNA (mainly games) Special version of the CLR due to the constrained environment Devices specs are 1GHz CPU, GPU, 256 MB RAM minimum, capacitive touch screen, accelerometer etc. Tools are free – – – – • • • Contains some phone-specific classes All other classes have been re-written Visual Studio 2010 Express for Windows Phone Expression Blend 4 for Windows Phone XNA Game Studio 4 All in a single download! Greek developers can upload apps to the marketplace and earn money Sources: http://create.msdn.com Check also: http://blogs.msdn.com/b/mikeormond/archive/2010/07/09/mike-s-mega-list-ofwindows-phone-7-resources.aspx Microsoft Robotics Developer Studio • Environment for robot control and simulation – Handles a wide variety of robot hardware • 4 main components – CCR (Concurrency and Coordination Runtime) – DSS (Decentralized Software Services) – VPL (Visual Programming Language) – VSE (Visual Simulation Environment) • http://www.microsoft.com/robotics/ XNA • Create games for PC and XBOX 360 • Based on – .NET Compact Framework 2 (XBOX 360) – .NET Framework 2 (PC) • Runs on a CLR version optimized for gaming • Integrates a number of tools for easy content creation • Encapsulates low level technical details – Allows the developer to focus on content • http://creators.xna.com Windows Presentation Foundation • Graphical subsystem for rendering user interfaces in Windows – based applications • No dependencies on the aging GDI, built on DirectX – Provides hardware acceleration => modern UI features like transparency, gradients, transforms, 3D • UI code is written in an XML-based language, called XAML, whereas logic is written in a .NET language – Better separation between UI and business logic • Expression Blend can be used for easy UI creation • http://windowsclient.net/wpf/default.aspx Silverlight • Enables RIA development – Browser plug-in – Major browsers supported • • • • Subset of the .NET Framework and WPF UI in XAML, easily indexed by search engines Great media features support Includes Dynamic Language Runtime – Work with IronRuby and IronPython • Can integrate with browser DOM • Out-of-browser support • www.silverlight.net Windows Communication Foundation • Application Programming interface in the .NET Framework for building connected, service-oriented applications • Unites existing communication stacks and technologies – – – – Web Services .NET Remoting Distributed Transactions Message Queues • Supports enterprise standards (WS-*) and web standards (REST) • http://msdn.microsoft.com/en-us/netframework/aa663324.aspx Windows Azure • Microsoft’s cloud computing platform • Provides a wide range of internet services that can be consumed from both on-premises environments or the internet • Runs on a cloud operating system and has 3 main components – Compute • Computation environment with Web Role and Worker Role – Storage • Providing scalable storage (Blobs, Tables, Queues) – Fabric controller • The hosting environment. Pools individual systems into a network that automatically manages resources, load balancing, geo-replication and application lifecycle • Interoperable platform – Can host .NET, Java, Ruby, PHP and more – Provides an API built on REST, HTTP and XML • www.azure.com Windows API Code Pack • Open Source code library • Can be used to access Windows 7 and Windows Vista features from managed code • Features supported – – – – – – – Taskbar Windows Shell DirectX Task Dialogs Sensor Platform APIs Extended Linguistic Services APIs Application Restart and Recovery APIs • http://code.msdn.microsoft.com/WindowsAPICodePack (for Windows 7 MultiTouch .NET code, check http://code.msdn.microsoft.com/WindowsTouch) .NET Micro Framework • A .NET platform for resource constrained devices • Includes – a small version of the CLR – a subset of the BCL – a GUI framework loosely based on Windows Presentation Foundation • Features – – – – – Small memory footprint Can run directly without an OS Supports common embedded peripherals and interconnects Allows drivers to be written in C# Porting to additional architectures is allowed via a Hardware Abstraction Layer • http://www.microsoft.com/netmf/default.mspx Microsoft Tag • Data encoding in a 2D “barcode” • Users can download free app for their cameraequipped mobile device – User opens the app, takes a photo – The app sends data to a web service (can also send GPS coordinates) – Browser opens at a specific page • API for tag management • www.microsoft.com/tag Surface • Multi-Touch software and hardware combination technology • Allows a user (or multiple) to manipulate digital content via use of gesture recognition • Features – – – – – – – 360-degree UI 30-inch reflective surface XGA DLP projector underneath 4 cameras record infrared light reflections Capable of object recognition Up to 52 touches at a time Supports object recognition via Surface Tags • www.microsoft.com/surface Don’t miss • • • • • • • • • www.codeplex.com www.msdn.com www.dotnetzone.gr www.studentguru.gr msdn.microsoft.com/en-us/beginner/default.aspx www.dreamspark.com www.dotnet-u.com www.msdev.com msdn.microsoft.com/en-us/netframework/default.aspx Thanx! • Find me at –v-digkan@microsoft.com –studentguru.gr/blogs/dt008 –twitter.com/dgkanatsios –facebook.com/dgkanatsios –www.studentguru.gr