Presentation is loading. Please wait.

Presentation is loading. Please wait.

UNIVERSIDAD TECNOLÓGICA ECOTEC. ISO 9001:2008 Module 2 Creating Web Applications by Using Microsoft® Visual Studio 2010 and Microsoft.NET–Based Languages.

Similar presentations


Presentation on theme: "UNIVERSIDAD TECNOLÓGICA ECOTEC. ISO 9001:2008 Module 2 Creating Web Applications by Using Microsoft® Visual Studio 2010 and Microsoft.NET–Based Languages."— Presentation transcript:

1 UNIVERSIDAD TECNOLÓGICA ECOTEC. ISO 9001:2008 Module 2 Creating Web Applications by Using Microsoft® Visual Studio 2010 and Microsoft.NET–Based Languages Ing. Taylor Figueroa H DOCENTE UNIVERSIDAD ECOTEC

2 UNIVERSIDAD TECNOLÓGICA ECOTEC. ISO 9001:2008 Module Overview Choosing a Programming Language Overview of Visual Studio 2010 Creating a Simple Web Application

3 UNIVERSIDAD TECNOLÓGICA ECOTEC. ISO 9001:2008 Lesson 1: Choosing a Programming Language Features of Visual Basic Features of Visual C# Scenarios for Mixed-Language Environments Considerations for Choosing Between Visual Basic and Visual C# for an Application

4 UNIVERSIDAD TECNOLÓGICA ECOTEC. ISO 9001:2008 Visual Basic 10.0 can be used for developing any type of.NET Framework application or service CLR helps to reduce memory waste from unclaimed objects Visual Basic Text Editor features the color-coding of keywords, variables, constants, and statements Visual Basic command syntax is based on English language constructs Visual Basic is case-insensitive Features of Visual Basic

5 UNIVERSIDAD TECNOLÓGICA ECOTEC. ISO 9001:2008 Features of Visual C# Is the most popular.NET programming language Is based on English language keywords Has short syntax, and all statements are terminated by a semicolon Allows some unsafe language constructs Is similar in syntax to JavaScript

6 UNIVERSIDAD TECNOLÓGICA ECOTEC. ISO 9001:2008 Scenarios for Mixed- Language Environments When working with both Visual Basic and Visual C# When working with blocks of code, or with entire projects and solutions in the language less preferred When working with projects and solutions of code in mixed programming languages When you master the preferred language and can at least understand the code in the less preferred language

7 UNIVERSIDAD TECNOLÓGICA ECOTEC. ISO 9001:2008 Considerations for Choosing Between Visual Basic and Visual C# for an Application Do you prefer Visual Basic or Visual C#? Do you need to work with legacy applications? What is the available development time for writing the code? Do you reuse the existing.NET Framework code? Do you use default namespaces?

8 UNIVERSIDAD TECNOLÓGICA ECOTEC. ISO 9001:2008 Lesson 2: Overview of Visual Studio 2010 Advantages of Using Visual Studio 2010 Available Project Templates Features of the Integrated Development Environment Visual Studio 2010 Start Page

9 UNIVERSIDAD TECNOLÓGICA ECOTEC. ISO 9001:2008 Simplifies application development: Navigable design and code windows Built-in debugging support Integrated Web browser Learn the IDE once: Single IDE for multiple project types Single IDE for Visual Basic, Visual C#, Visual C++, and Visual F# Increases developer efficiency Advantages of Using Visual Studio 2010

10 UNIVERSIDAD TECNOLÓGICA ECOTEC. ISO 9001:2008 The list of available project templates is based on your project type and template selections Available Project Templates

11 UNIVERSIDAD TECNOLÓGICA ECOTEC. ISO 9001:2008 Toolbox Server Explorer Output pane Solution Explorer Properties pane Features of the Integrated Development Environment

12 UNIVERSIDAD TECNOLÓGICA ECOTEC. ISO 9001:2008 Recent Projects Get Started Latest News Guidance and Resources Visual Studio 2010 Start Page

13 UNIVERSIDAD TECNOLÓGICA ECOTEC. ISO 9001:2008 Lesson 3: Creating a Simple Web Application Web Application Development Process Web Application Project Files and Folders Web Site Project Files and Folders Choosing Between a Web Site and a Web Application Project Web Application Files Deploying a Web Application

14 UNIVERSIDAD TECNOLÓGICA ECOTEC. ISO 9001:2008 Visual Studio 2010 automatically creates the required files and the default code when you create a new project or Web site Design 1 1 Develop and Debug 2 2 Deploy 3 3 Web Application Development Process

15 UNIVERSIDAD TECNOLÓGICA ECOTEC. ISO 9001:2008 In Visual Studio 2010, you can create a Web application project by using the ASP.NET Web application project template Web Application Project Files and Folders

16 UNIVERSIDAD TECNOLÓGICA ECOTEC. ISO 9001:2008 In Visual Studio 2010, you can create a Web site project by using the ASP.NET Web site project template Web Site Project Files and Folders

17 UNIVERSIDAD TECNOLÓGICA ECOTEC. ISO 9001:2008 The choice of a project template depends on your requirements and your preferred development workflow The choice of a project template depends on your requirements and your preferred development workflow ASP.NET Web application project template The Web application project template provides a tighter control over the project, because resources are defined explicitly The Web application is opened from within Visual Studio 2010 by using the Open Project dialog box ASP.NET Web site project template The Web site project template is easy to use, because resources are defined implicitly by being in a folder The Web site is opened from within Visual Studio 2010 by using the Open Web Site dialog box Choosing Between a Web Site and a Web Application Project

18 UNIVERSIDAD TECNOLÓGICA ECOTEC. ISO 9001:2008 Web application files are files that support the development of your Web application: Web application files are files that support the development of your Web application: Other files Files that are not based on a programming language will have their own extensions. For example, a Report file uses the.rdlc extension, and a text file uses.txt Web application files Visual Studio 2010 supports a number of application file types and extensions, such as ASP.NET Web Forms (.aspx), master pages (.master), and classes and code- behind pages (.vb or.cs) Web Application Files

19 UNIVERSIDAD TECNOLÓGICA ECOTEC. ISO 9001:2008 Creating a Web application project Write code for the Button control Populate the ASP.NET Web Form Build and debug the solution Demonstration: How to Create a Simple Web Application Project

20 UNIVERSIDAD TECNOLÓGICA ECOTEC. ISO 9001:2008 After creating and testing your Web application, you can build and deploy the Web application After development and personal testing, use the test server for testing the Web application After testing, deploy the Web application to the production server Deploying a Web Application


Download ppt "UNIVERSIDAD TECNOLÓGICA ECOTEC. ISO 9001:2008 Module 2 Creating Web Applications by Using Microsoft® Visual Studio 2010 and Microsoft.NET–Based Languages."

Similar presentations


Ads by Google