Rapid Application Development con Visual Studio 2005
1.
2. Desarrollo Rápido de Aplicaciones con Visual Studio 2005 Julio Casal .Net Application Developer Grupo Lebed
3. Clientes Inteligentes Difícil de Poner en producción Requerimientos Fuertes “ Infierno de las DLL” Cliente Denso Dependencia de la red Experiencia de Usuario Reducida Compleja de desarrollar Aplicación Web Servicios Web y soporte conectado/ desconectado Adaptabilidad a dispositivos Clientes Inteligentes Gran alcance Fácil administración de cambios Facilidad de Poner en producción Experiencia de Usuario Enriquecida Desarrolladores Altamente Productivos Buena respuesta de IU
Hello my name is … In this session we will be looking at new Smart Client features of Visual Studio 2005 and Windows Forms 2.0.
Let’s compare Smart Client software to other kinds of applications. The Thick Client is your standard heavy-weight client application. It is typified by components installations that touch various parts of the system, including system folders, the registry, and so-on. Tough to deploy, and update, with tendencies towards a suite of problems referred to as “DLL Hell”. Positive features, though, include a Rich user experience, ease of development and a fast responsive UI. The web-application (viewed using a browser) is network dependant, usually has a limited user interface, and the complexity of development increases substantially with the sophistication of the UI etc. However, web-applications enjoy broad reach, are more easily versioned, and one deployment serves an entire customer base. The smart client, enjoys the benefits of the Thick Client and Web Applications, without the negatives of either. As such, the Smart Client application bridges the gap between web and traditional client software.
Smart client software executes locally, and so has immediate access to display devices and peripherals such as the mouse, styluses, digital camera’s, printers, and so-on. In addition to peripherals, using Visual Studio Tools for Office, the smart-client or smart-document applications have access to local-resources in the form of installed office applications. Smart clients are connected, and can access network resources including web-services and SQL databases.
Smart clients are offline capable, similar to Internet Explorer, for times when network connectivity is limited. Data is cached locally, and updated when connectivity returns. Smart VSTO documents can embed datasets for offline access. Smart clients are intelligently deployed, with version knowledge, and automatic updates from the source server, when new versions are available.
Smart client technologies include Visual Studio 2005 for development of applications. This includes Windows Forms 2.0 RAD designers for rich UI, integrated ClickOnce deployment and debugging features, as well as integration for Smart Documents using VSTO. The .NET Framework 2.0 implements new UI features such as toolstrips, menu strips and new layout managers. Additionally, ClickOnce deployment is a platform feature, and is available wherever the .NET Framework 2.0 is installed.
Visual Studio 2005 includes familiar project templates, as well as new templates for word and excel documents with embedded managed code. Improved designers simplify data integration, UI layout, and user and custom control re-use. Partial type support in the designers improve maintenance of code that is partially auto-generated by designers, and partially hand-coded by developers.
First Demo
New data support, includes improved data-bound controls, such as the DataGridView, as well as improved support for typed data sets. Partial types, improve the ability to customize generated code.
Second demo
Click once deployments share key features in common with web applications. Applications are deployed on a server. Clients request application execution (and deployment) by following a link to a deployment URL. Application files are downloaded and installed locally in the user’s profile directory. And then the application is executed, possibly in a partially trusted security sandbox. Subsequent executions check for application updates, and if non-exist, execute local copies of the application. Otherwise, the update is installed.
ClickOnce is a deployment technology specific targeted for the SmartClient An explicit goal is to give the end-user a deployment experience with the simplicity of browsing the web. Similarly, the application publisher enjoys web-deployment flexibility in terms of deployment and update deployment. Also, ClickOnce applications can be configured to run in a partially trusted sandbox, which removes the need to prompt the user for permission to execute the application.
Non SmartClient installs are often heavy-weight and require administrative access to the system to be installed. All ClickOnce deployments can be performed by non-administrative users of the system.
To use ClickOnce in your Visual Studio 2005 project, go to project properties, and click on the Publish tab. There you set deployment location, configure application files, as well as set the application version, and other settings. The Project’s A Security tab allows for the configuration of a partially trusted ClickOnce application, or a fully trusted application. This tab lets you select permission required by your application, including a tool to analyze the code in your project for permission requirements, which are published with the application.
Third Demo
ClickOnce maintains the application through servicing cycles, and automatically updates applications, when new deployments are available. Applications can be configured to check for updates before executing, or updates can be set to occur in the background, and them become available next time the application is launched. You can also configure applications for periodic updates.
Last Demo
In summary, the Smart Client enjoys rich features such as rich UI and data integration. Installation is easier than ever for the user as well as the deploying administrator. Customers can access your application easily, as well as remain up-to-date automatically.
These tools are at the core of enabling customers to build this new breed of XML Web services-based applications. Already, a host of global ISVs are delivering solutions using XML Web services, the .NET Framework, and VS .NET.