win7 novinky
DESCRIPTION
What\'s new for developers in Windows 7. In Czech only.TRANSCRIPT
![Page 1: Win7 Novinky](https://reader036.vdocuments.net/reader036/viewer/2022062303/55527429b4c905115b8b45b5/html5/thumbnails/1.jpg)
![Page 2: Win7 Novinky](https://reader036.vdocuments.net/reader036/viewer/2022062303/55527429b4c905115b8b45b5/html5/thumbnails/2.jpg)
Novinky ve Windows 7
Mgr. Michal NeuwirthPartners Technical ReadinessMicrosoft Czechhttp://blog.vyvojar.cz/michalowo
![Page 3: Win7 Novinky](https://reader036.vdocuments.net/reader036/viewer/2022062303/55527429b4c905115b8b45b5/html5/thumbnails/3.jpg)
http://www.MSTV.czhttp://blogs.msdn.com/vyvojari
Po uvedení Windows 7 RC verze
Demo & Video
![Page 4: Win7 Novinky](https://reader036.vdocuments.net/reader036/viewer/2022062303/55527429b4c905115b8b45b5/html5/thumbnails/4.jpg)
Windows Vista & Windows 7
Malé změny: Aplikace splňující požadavky na logo Windows Vista Certified (logo není vyžadováno) fungují pod Windows 7 –
výjimky mohou být nízko-úrovňové aplikace (Firewall, Antivirus,..).
Windows 7
Vyladění: Zaměřeno na kvalitu, rychlost a spolehlivost
Kompletně nový OS: Nový model pro bezpečnost, nové ovladače, nové
UI....
![Page 5: Win7 Novinky](https://reader036.vdocuments.net/reader036/viewer/2022062303/55527429b4c905115b8b45b5/html5/thumbnails/5.jpg)
Kompatibilita aplikací
16-bitové aplikace jsou nadále podporované na Windows 7 (32-bit)Windows Mail není součástí Windows 7
Včetně API pro práci s Outlook Express, atd.Nahrazeno Windows Live Mail, součástí Windows Live Suite (http://download.live.com/)
DPI (Dots Per Inch) nastavení per-user, vyžaduje logoff/logon (bez rebootu)
![Page 6: Win7 Novinky](https://reader036.vdocuments.net/reader036/viewer/2022062303/55527429b4c905115b8b45b5/html5/thumbnails/6.jpg)
UAC
Windows Vista UAC šlo pouze zapnout/vypnout
Větší kontrola pomocí Registrů
Windows 7 nabízí úrovně nastavení UAC
![Page 7: Win7 Novinky](https://reader036.vdocuments.net/reader036/viewer/2022062303/55527429b4c905115b8b45b5/html5/thumbnails/7.jpg)
Další novinky
Windows Installer 5.0Připojení Virtual Drive (VHD) v systému
http://blogs.technet.com/technetczsk/archive/2009/03/19/windows-7-vhd-boot-rychlost-vhd-test-speed.aspx
Problem Steps Recorder psr.exe
![Page 8: Win7 Novinky](https://reader036.vdocuments.net/reader036/viewer/2022062303/55527429b4c905115b8b45b5/html5/thumbnails/8.jpg)
PowerShell v2V1 V2
Developer •Cmdlets and/or providers• Help
•PowerShell cmdlets •Transaction support
PowerShell • CLI & API
• Rich language w/access to com, wmi, .Net, adsi, xml & ado
• Utilities to manipulate, format, import/export
• 129 Cmdlets
•Web service & workflow activities
•Richer language w/access to web services, unmanaged code, wsman
• Richer utilities including eventing, job control, remote execution
• 241 Cmdlets
•Graphical ISE to create/debug scripts
Users •Simple ad hoc scripts•Sophisticated production scripting
•Systems programming•Across multiple machines
Community • Write and share scripts • Write and Share Modules
V1 Scripty a Cmdlety běží pod PowerShell V2
![Page 9: Win7 Novinky](https://reader036.vdocuments.net/reader036/viewer/2022062303/55527429b4c905115b8b45b5/html5/thumbnails/9.jpg)
Win
dow
s S
ervi
ce
• Nepřetržitý běh• Často nemají
uživatelskou session
• Mohou běžet před přihlášením uživatele
• Běží pod Service Control Manager (services.exe)
Sch
edul
ed T
ask
• Běží krátkou dobu
• Vyžaduje přihlášení uživatele
• Standalone aplikace
• Lze spustit triggerem
• Běží pod Task Scheduler (taskeng.exe)
Windows Background Services
![Page 10: Win7 Novinky](https://reader036.vdocuments.net/reader036/viewer/2022062303/55527429b4c905115b8b45b5/html5/thumbnails/10.jpg)
XPS (XML Paper Specification)
Věrná reprezentace tištěných stránekLze vytvořit na libovolné platforměStandard
Ecma Technical Committee (TC46)
![Page 11: Win7 Novinky](https://reader036.vdocuments.net/reader036/viewer/2022062303/55527429b4c905115b8b45b5/html5/thumbnails/11.jpg)
XPS – Windows 7
XPS
.NetWPF XPS
WPF OPC
WPF Print API
WPF Visual Serial-ization
XPS Print Path
Win32 XPS
Win32 OPC
Win32 XPS Print
API
Windows VISTA
![Page 12: Win7 Novinky](https://reader036.vdocuments.net/reader036/viewer/2022062303/55527429b4c905115b8b45b5/html5/thumbnails/12.jpg)
Novinky v uživatelském prostředí
Multi-touch, InkJump ListsRibbon User InterfaceLibraries
![Page 13: Win7 Novinky](https://reader036.vdocuments.net/reader036/viewer/2022062303/55527429b4c905115b8b45b5/html5/thumbnails/13.jpg)
Multi-touch roadmapWindows 7 ReleaseNET 4.0 / Surface 2.0 Release
Surface HardwareWindows 7
Surface HardwareWindows
VistaWindows 7
NativeWin32
Application
WPF 3.5
Surface SDK1.0
Managed Wrapper and
Interop
Managed Wrapper and Interop
WinForms Application
WPF 3.5 SP1
WPF 4.0
Surface SDK 2.0
WPF Application
Surface Application
Multi-Touch Controls
Multi-Touch API
Surface Multi-Touch Controls &
API
Multi-Touch API
Multi-Touch API and Controls
![Page 14: Win7 Novinky](https://reader036.vdocuments.net/reader036/viewer/2022062303/55527429b4c905115b8b45b5/html5/thumbnails/14.jpg)
Multi-touch gesta
![Page 15: Win7 Novinky](https://reader036.vdocuments.net/reader036/viewer/2022062303/55527429b4c905115b8b45b5/html5/thumbnails/15.jpg)
Multi-touch a .Net Framework
WPF:3.5 update po uvedení Windows 7
Multi-touch, gesture APIs
4.0 releaseNové specifické Multi-touch ovládací prvky
WinForms (Windows 7 launch):Interop s Win32 APIManaged wrappers
![Page 16: Win7 Novinky](https://reader036.vdocuments.net/reader036/viewer/2022062303/55527429b4c905115b8b45b5/html5/thumbnails/16.jpg)
Windows 7 Taskbar
Více náhledů oken stejné aplikaceJump Lists Toolbar v náhledu oknaPodbarvení ikonMožnost překreslení ikonZobrazení progress baru
![Page 17: Win7 Novinky](https://reader036.vdocuments.net/reader036/viewer/2022062303/55527429b4c905115b8b45b5/html5/thumbnails/17.jpg)
Taskbar - přehled
Spojení funkcionalityQuick launchNotification areaDesktop shortcutSeznam běžících aplikací
Běžící aplikace
Neběžící aplikace
Více oken běžící
aplikaceAktivní
aplikace
![Page 18: Win7 Novinky](https://reader036.vdocuments.net/reader036/viewer/2022062303/55527429b4c905115b8b45b5/html5/thumbnails/18.jpg)
Taskbar - ikonky
![Page 19: Win7 Novinky](https://reader036.vdocuments.net/reader036/viewer/2022062303/55527429b4c905115b8b45b5/html5/thumbnails/19.jpg)
Mini Start Menu pro vlastní aplikacePlně „customizable“Přístup pomocí pravého tlačítkaAPI pro práci s Jump Lists
Taskbar – Jump Lists
![Page 20: Win7 Novinky](https://reader036.vdocuments.net/reader036/viewer/2022062303/55527429b4c905115b8b45b5/html5/thumbnails/20.jpg)
Destinations(“nouns”)
Tasks(“verbs”)
Known categories
Custom categories
User Tasks
Taskbar Tasks
Pinned category
Taskbar – Jump Lists
![Page 21: Win7 Novinky](https://reader036.vdocuments.net/reader036/viewer/2022062303/55527429b4c905115b8b45b5/html5/thumbnails/21.jpg)
Remote-control pro oknaPřístupné přímo z TaskbaruAž 7 tlačítek
Taskbar – Náhledy obrazovek
![Page 22: Win7 Novinky](https://reader036.vdocuments.net/reader036/viewer/2022062303/55527429b4c905115b8b45b5/html5/thumbnails/22.jpg)
„sloučení“ oken
„sloučení“ oken se provádí na základe ApplicationIDApplicationID
Jedná se o řetězec (není to GUID)Limit 128 znakůJmenná konvence - Company.Product.SubProduct.Version
Všechny části aplikace mají APPid:Process, shortcut, window, taskbar button, document type
![Page 23: Win7 Novinky](https://reader036.vdocuments.net/reader036/viewer/2022062303/55527429b4c905115b8b45b5/html5/thumbnails/23.jpg)
MDI aTDI Okna
Internet Explorer tabs?Není automatické, nutné použít
ITaskbarList3::RegisterTab, SetTabOrder, SetTabActive
![Page 24: Win7 Novinky](https://reader036.vdocuments.net/reader036/viewer/2022062303/55527429b4c905115b8b45b5/html5/thumbnails/24.jpg)
Office 2007 Ribbon
Office Button
Quick Access Toolbar
Tab Contextual Tab SetContextual
Tab
Help
Skupina Dialog Box Launcher
![Page 25: Win7 Novinky](https://reader036.vdocuments.net/reader036/viewer/2022062303/55527429b4c905115b8b45b5/html5/thumbnails/25.jpg)
Application Menu
Quick Access Toolbar
Tab Contextual Tab Set
Contextual Tab
Help
Skupina Dialog Launcher
Součástí Windows 7, příprava pro Windows VistaWin32 API, COM
Windows Ribbon
![Page 26: Win7 Novinky](https://reader036.vdocuments.net/reader036/viewer/2022062303/55527429b4c905115b8b45b5/html5/thumbnails/26.jpg)
Windows Ribbon - Roadmapa
Microsoft’s Ribbon Strategy
MFCSceni
cWPF
Platforma:Managed
Platforma:MFC native
Platforma:Native
.NET 3.5 Win2K+ Vista+
Office 2007 & Windows styl
Windows visual style
WPF ToolkitWPF 4.0
Visual Studio 2008 SP1
Windows 7
Office 2007 & Windows styl
![Page 27: Win7 Novinky](https://reader036.vdocuments.net/reader036/viewer/2022062303/55527429b4c905115b8b45b5/html5/thumbnails/27.jpg)
Categorized Menus
Tabs & Groups
Color Pickers
Mini Toolbar &Contextual Menu
Dropdown GalleriesTooltips
Check Boxes
Spinners
Font Control
Group Dialog Launchers
“In-Ribbon” Galleries
Combo Boxes
Buttons & Split Buttons
Windows Ribbon – Ovládací prvky
![Page 28: Win7 Novinky](https://reader036.vdocuments.net/reader036/viewer/2022062303/55527429b4c905115b8b45b5/html5/thumbnails/28.jpg)
Scenic Ribbon API Architektura
Model View ControllerPodpora Markupu
MarkupOrganizace
ovládacích prvků
<Ribbon> <Tab> <Button … /> </Tab></Ribbon>
COM APIInicializace a správa
události
MyHandler::Execute(…){ DoStuff();}
Windows Scenic RibbonAplikace
void DoStuff() { … … }
![Page 29: Win7 Novinky](https://reader036.vdocuments.net/reader036/viewer/2022062303/55527429b4c905115b8b45b5/html5/thumbnails/29.jpg)
Metadata
Čistější navigace
Náhled
VyhledáváníArrange By pohledy
Federated Search
Libraries
Windows 7 "Nový" Explorer
![Page 30: Win7 Novinky](https://reader036.vdocuments.net/reader036/viewer/2022062303/55527429b4c905115b8b45b5/html5/thumbnails/30.jpg)
“ Knihovny jsou místa kde mohou uzivatelé najít a spravovat svá data jako kolekce polozek, které jsou umísteny na ruznych místech“
Knihovny (Libraries)
![Page 31: Win7 Novinky](https://reader036.vdocuments.net/reader036/viewer/2022062303/55527429b4c905115b8b45b5/html5/thumbnails/31.jpg)
Práce s knihovnamiCommon File Dialog
Native: IFileDialogManaged: System.Windows.Forms.FileDialog
Shell UIVše co vytvoříme v prostředí, lze vytvořit programověNové Library API
![Page 32: Win7 Novinky](https://reader036.vdocuments.net/reader036/viewer/2022062303/55527429b4c905115b8b45b5/html5/thumbnails/32.jpg)
IPropertyHandler
IPreviewHandler
IPropertyHandlerIFilter
IThumbnailProviderIPropertyHandler
Práce se soubory
![Page 33: Win7 Novinky](https://reader036.vdocuments.net/reader036/viewer/2022062303/55527429b4c905115b8b45b5/html5/thumbnails/33.jpg)
Federated Search
Úložiště dokumentů
Enterprise Data úložiště
Enterprise Aplikace
![Page 34: Win7 Novinky](https://reader036.vdocuments.net/reader036/viewer/2022062303/55527429b4c905115b8b45b5/html5/thumbnails/34.jpg)
Federated SearchNení potřeba žádný kód na straně klientaLibovolná serverová platformaVychází ze standardů
OpenSearch 1.1RSS a ATOM
AuthenticationIntegrated nebo vlastní
![Page 35: Win7 Novinky](https://reader036.vdocuments.net/reader036/viewer/2022062303/55527429b4c905115b8b45b5/html5/thumbnails/35.jpg)
Windows Web Services API
Propojení nativního kódu na webové službyWin32 APINevyžaduje .NET Framework
Interoperabilita s WS-* SOAPWindows Communication Foundation (WCF)ASP .Net XML Web Services (ASMX)další
![Page 36: Win7 Novinky](https://reader036.vdocuments.net/reader036/viewer/2022062303/55527429b4c905115b8b45b5/html5/thumbnails/36.jpg)
Podporované konfiguraceTransport
HTTP, TCP, UDP
XML EncodingText, Binary, a MTOM
EnvelopeSOAP 1.1 a 1.2
AddressingWS-Addressing 0.9 a1.0
MetadataWSDL 1.1, XML Schema 1.0WS-MetadataExchange 1.1WS-Transfer March 2006
BezpečnostWS-Security 1.0 a 1.1 (částečně)WS-Trust February 2005 a 1.3 (částečně)WS-SecureConversation 1.1 a 1.3 (částečně)
PolitikyWS-Policy March 2006 a 1.2WS-Policy Attachment March 2006 a 1.2WS-SecurityPolicy 1.1
![Page 37: Win7 Novinky](https://reader036.vdocuments.net/reader036/viewer/2022062303/55527429b4c905115b8b45b5/html5/thumbnails/37.jpg)
Sensor a Location
K dispozici unifikovaný driver model pro všechny typy „sensorových“ zařízení
Fyzické sensory (GPS, Světelné sensory, ...)Logické sensory (Wi-Fi triangulation resolver)
Poskytuje standardní API pro práci se zařízenímiSensor API: C++/COM / Managed code (Windows Bridge)
Location API: C++/COM, Idispatch Managed code (Windows Bridge)
![Page 38: Win7 Novinky](https://reader036.vdocuments.net/reader036/viewer/2022062303/55527429b4c905115b8b45b5/html5/thumbnails/38.jpg)
Sensor and Location Platform
UMDF Sensor Driver
Sensor Class Extension
Sensor API
Gadget či Script Aplikace
Location and
Sensors Control Panel
SensorDevice
Location APILocation IDispatch Interface
Aplikace
UMDF Sensor Driver
Sensor Class Extension
Logical Location Sensor(Triangulation)
User
System
![Page 39: Win7 Novinky](https://reader036.vdocuments.net/reader036/viewer/2022062303/55527429b4c905115b8b45b5/html5/thumbnails/39.jpg)
Windows Bridge
Windows Vista Bridge LibraryManaged třídy pro přístup k Windows Vista vlastnostemhttp://code.msdn.microsoft.com/VistaBridge
The Windows BridgeUmožňuje přístup k Windows 7 vlastnostem z managed kóduK dispozici po uvedení Windows 7
Jedná se o ukázkové knihovny, nikoliv podporovaný produkt
![Page 40: Win7 Novinky](https://reader036.vdocuments.net/reader036/viewer/2022062303/55527429b4c905115b8b45b5/html5/thumbnails/40.jpg)
Otázky & odpovědi
![Page 41: Win7 Novinky](https://reader036.vdocuments.net/reader036/viewer/2022062303/55527429b4c905115b8b45b5/html5/thumbnails/41.jpg)
Odkazy
Windows 7 Application Quality Cookbook Windows 7 taskbar: Developer Resources Windows Sensors And Location Platforms Windows Touch: Developer Resourceshttp://blogs.technet.com/technetczsk/archive/2009/01/29/vlastni-vyhledavani-federation-search-windows-7.aspx
![Page 42: Win7 Novinky](https://reader036.vdocuments.net/reader036/viewer/2022062303/55527429b4c905115b8b45b5/html5/thumbnails/42.jpg)
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market
conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.