Kết quả 1 đến 2 của 2
Chủ đề: Visual Studio .NET
-
08-25-2008, 04:31 AM #1
Junior Member
- Ngày tham gia
- Aug 2015
- Bài viết
- 0
Visual Studio .NET
Introducing Visual Studio .NET
Visual Studio .NET is a complete set of development tools for building ASP Web applications, XML Web services, desktop applications, and mobile applications. Visual Basic .NET, Visual C++ .NET, Visual C# .NET, and Visual J# .NET all use the same integrated development environment (IDE), which allows them to share tools and facilitates in the creation of mixed-language solutions. In addition, these languages leverage the functionality of the .NET Framework, which provides access to key technologies that simplify the development of ASP Web applications and XML Web services.
This topic contains information about:
Visual Studio .NET Highlights
Read overviews of Visual J#, Smart Device Applications, ASP.NET Mobile Designer, Windows Forms, XML Web services, and XML support in Visual Studio .NET.
The .NET Framework
Read a brief overview of the Common Language Runtime, unified programming classes, and ASP.NET.
Getting Started
Discover tutorials, templates, and migration information to get you up and running with this version of Visual Studio.
Visual Studio .NET Highlights
This section contains information about some of the latest tools and technologies available in this release of Visual Studio.
Visual J#
Visual J# is a development tool that developers who are familiar with the Java-language syntax can use to build applications and services on the .NET Framework. It integrates the Java-language syntax into the Visual Studio .NET integrated development environment (IDE). Visual J# also supports most of the functionality found in Visual J++ 6.0, including Microsoft Extensions. Visual J# is not a tool for developing applications intended to run on a Java Virtual Machine. Applications and services built with Visual J# will run only in the .NET Framework. Visual J# has been independently developed by Microsoft. It is not endorsed or approved by Sun Microsystems, Inc. For more information, see Introducing Visual J#.
Smart Device Applications
The Visual Studio .NET integrated development environment now includes tools for developing applications for smart devices, such as the Pocket PC. Using the tools and the .NET Compact Framework, a subset of the .NET Framework, you can create, build, debug, and deploy applications that run on the .NET Compact Framework in personal digital assistants (PDAs), mobile phones, and other resource-constrained devices. For more information, see Smart Device Projects.
ASP.NET Mobile Designer
ASP.NET Mobile Designer extends ASP.NET and the .NET Framework, allowing you to build Web applications for mobile phones, PDAs, and pagers. This designer is integrated into the Visual Studio IDE. You can create mobile Web applications, use the Mobile Designer to modify a mobile Web form, and then build and run the application, all from within Visual Studio. For more information, see Getting Started with the ASP.NET Mobile Designer.
Web Forms
Web Forms are an ASP.NET technology that you use to create programmable Web pages. Web Forms render themselves as browser-compatible HTML and script, which allows any browser on any platform to view the pages. Using Web Forms, you create Web pages by dragging and dropping controls onto the designer and then adding code, similar to the way that you create Visual Basic forms. For more information, see Introduction to Web Forms Pages.
Windows Forms
Windows Forms is the new platform for Microsoft Windows application development, based on the .NET Framework. This framework provides a clear, object-oriented, extensible set of classes that enables you to develop rich Windows applications. Additionally, Windows Forms can act as the local user interface in a multi-tier distributed solution. For more information, see Introduction to Windows Forms.
XML Web Services
XML Web services are applications that can receive requests and data using XML over HTTP. XML Web services are not tied to a particular component technology or object-calling convention and can therefore be accessed by any language, component model, or operating system. In Visual Studio .NET, you can quickly create and include XML Web services using Visual Basic, Visual C#, JScript, Managed Extensions for C++, or ATL Server. For more information, see Programming the Web with XML Web Services.
XML Support
Extensible Markup Language (XML) provides a method for describing structured data. XML is a subset of SGML that is optimized for delivery over the Web. The World Wide Web Consortium (W3C) defines XML standards so that structured data will be uniform and independent of applications. Visual Studio .NET fully supports XML, providing the XML Designer to make it easier to edit XML and create XML schemas. For more information, see XML Schemas and Data and XML Designer.
The .NET Framework
The .NET Framework is a multi-language environment for building, deploying, and running XML Web services and applications. It consists of three main parts:
* Common Language Runtime Despite its name, the runtime actually has a role in both a component's runtime and development time experiences. While the component is running, the runtime is responsible for managing memory allocation, starting up and stopping threads and processes, and enforcing security policy, as well as satisfying any dependencies that the component might have on other components. At development time, the runtime's role changes slightly; because it automates so much (for example, memory management), the runtime makes the developer's experience very simple, especially when compared to COM as it is today. In particular, features such as reflection dramatically reduce the amount of code a developer must write in order to turn business logic into a reusable component.
* Unified programming classes The framework provides developers with a unified, object-oriented, hierarchical, and extensible set of class libraries (APIs). Currently, C++ developers use the Microsoft Foundation Classes and Java developers use the Windows Foundation Classes. The framework unifies these disparate models and give Visual Basic and JScript programmers access to class libraries as well. By creating a common set of APIs across all programming languages, the common language runtime enables cross-language inheritance, error handling, and debugging. All programming languages, from JScript to C++, have similar access to the framework and developers are free to choose the language that they want to use.
* ASP.NET ASP.NET builds on the programming classes of the .NET Framework, providing a Web application model with a set of controls and infrastructure that make it simple to build ASP Web applications. ASP.NET includes a set of controls that encapsulate common HTML user interface elements, such as text boxes and drop-down menus. These controls run on the Web server, however, and push their user interface as HTML to the browser. On the server, the controls expose an object-oriented programming model that brings the richness of object-oriented programming to the Web developer. ASP.NET also provides infrastructure services, such as session state management and process recycling, that further reduce the amount of code a developer must write and increase application reliability. In addition, ASP.NET uses these same concepts to enable developers to deliver software as a service. Using XML Web services features, ASP.NET developers can write their business logic and use the ASP.NET infrastructure to deliver that service via SOAP. For more information, see Soap Community Links.
For more information, see Overview of the .NET Framework and Inside the .NET Framework.
Getting Started
You can use several methods to become familiar with this release of Visual Studio .NET.
Visual Studio .NET Walkthroughs
Walkthroughs guide you through the completion of a task using Visual Studio .NET. Use walkthroughs to become familiar with the product and see how the various technologies can be used together.
Rich Client Application Walkthroughs
Describes the process for creating an MFC-based rich client application.
Web Forms Application Walkthroughs
Describes the process for creating a Web-based application integrated with business-object components written for Visual Basic, Visual C#, or Managed Extensions for C++.
Creating and Accessing XML Web Services Walkthroughs
Describes the process for creating an XML Web service using Visual Basic or C#, Managed Extensions for C++, or ATL Server, and then using the XML Web service from an application.
Walkthrough: Creating a Distributed Application
Describes the process for creating a multi-tiered, distributed application using Visual Basic or Visual C#.
Visual J# Walkthroughs
Lists the many walkthroughs that focus on using Visual J# to complete a programming task, such as creating a distributed application, creating and accessing XML Web services, and using Web forms, among others.
For additional walkthroughs, see Visual Studio Walkthroughs.
Enterprise Templates
Visual Studio .NET provides several project templates that you can use to get started on developing distributed applications. Enterprise templates define the initial structure of a distributed application and also provide architectural and technological guidance for application design. In addition to pre-defined enterprise templates, you can also create custom templates that can be used by developers in a team environment. For more information, see Enterprise Template Walkthroughs and Advantages of Using Enterprise Templates to Create Distributed Applications.
2: Cài Microsoft Visual Studio.NET
Bộ Microsoft Visual Studio.NET bao gồm vừa mọi công cụ yểm trợ lập trình và ngôn ngữ lập trình .NET, tỷ như: Visual Basic.NET (VB.NET), C# (C Sharp), Visual C++.NET và Visual J#.NET Tùy ý ta chọn loại ngôn ngữ lập trình nào thích hợp để cài vào máy vi tính. Không ai cấm ta cài đủ thứ vào máy nhưng dĩ nhiên cần phải có dư chỗ trong hard drive, Microsoft Visual Studio.NET sẽ tính toán và cho ta biết khả năng chứa như thế nào. Tuy nhiên, ta có thể chỉ chọn Visual Basic.NET (VB.NET) và các ứng dụng (application) liên hệ trước, nếu cần học thêm về C# hay Visual C++.NET, ta có thể cài sau cũng được vì nếu cài toàn bộ, ta sẽ cần khoãng trên dưới 1.5 GBytes trong hard drive. Microsoft Visual Studio.NET có nhiều phiên bản khác nhau. Dưới đây, ta tạm dùng phiên bản Enterprise Architecture 2003 làm thí dụ điển hình. Tùy theo phiên bản ta có, những bước cài đặt sẽ khác nhau 1 chút nhưng trên nguyên tắc, ta phải cài đầy đủ môi trường .NET yểm trợ lập trình trước khi cài Microsoft Visual Studio.NET, tỷ như:- Microsoft .NET Framework
- Microsoft FrontPage Web Extensions Client
- Microsoft Access trong bộ MS Office Professional
- Microsoft SQL Server - sẽ hướng dẫn cài và bố trí MS SQL Server cho khóa học trong bài Cơ Sở Dữ Liệu (Database)
- và các ứng dụng (application) liên hệ (Microsoft Visual Studio.NET cho biết ta cần những gì) như hình trong bước thứ 3.
- Chạy Windows Explorer, chọn dĩa cứng chứa Microsoft Visual Studio.NET Setup dĩa 1, nhấp đôi ứng dụng 'setup.exe' hay
- Khởi động (Windows Start Menu) và chọn 'Run', gõ hàng chữ: 'e:\setup.exe' (nếu CD/DVD drive của ta là drive E).
Bước 2: Nhập CD tên Microsoft Visual Studio.NET 2003 Prerequisites, chọn 'I agree' chấp nhận điều kiện dùng nhu liệu và nhấp Continue.
Bước 3: Nhấp Install Now! để cài các ứng dụng (application) liên hệ tạo môi trường .NET. Lưu ý ở đây, Microsoft Visual Studio.NET sẽ dò tìm những ứng dụng (application) cần thiết trong máy vi tính và tùy theo mỗi máy, bảng liệt kê ứng dụng có thể khác nhau. Thí dụ ở đây cho biết máy vi tính cần 4 ứng dụng phụ thuộc như hình sau:
Bước 4: Chờ cho đến khi nào Microsoft Visual Studio.NET cài xong các ứng dụng phụ thuộc, nhấp nút Done.
Bước 5: Tiếp tục chọn Visual Studio.NET
Bước 6: Nhập dĩa 1 vào máy và nhấp nút OK.
Bước 7: Ta chọn 'I agree' và cung cấp Product Key trước khi nhấp nút Continue.
Bước 8:
- Ta chỉ chọn những gì liên hệ đến Visual Basic.NET (VB.NET) cho khóa học Visual Basic.NET (VB.NET) Cơ Bản.
- Xóa bỏ (uncheck) ngôn ngữ lập trình Visual C++.NET, Visual C#.NET, Visual J#.NET và các ứng dụng liên hệ, tỷ như: template, documetation, ...
Bước 9: Nhấp Install Now. Microsoft Visual Studio.NET sẽ chạy ứng dụng cài và bố trí này khoãng trên dưới 1 tiếng đồng hồ tùy theo khả năng máy vi tính.
Bước 10: Nhấp Done. Microsoft Visual Studio.NET sẽ hiển thị Windows cài các thông tin phụ giúp lập trình và cả thư viện để ta tham khảo khi lập trình với Visual Basic.NET (VB.NET):
Bước 11: Chọn Product Documetation và nhập dĩa 3 Microsoft Visual Studio.NET (tức dĩa 1 MSDN):
Bước 12: Tiếp tục với các dĩa 2, 3 MSDN cho đến hết.
Như vậy, ta sẳn sàng cho việc lập trình với Visual Basic.NET (VB.NET). Bài kế hướng dẫn sơ lược cách dùng Microsoft Visual Studio.NET Integrated Development Environment (gọi tắc là IDE) cho việc tạo các ứng dụng (application) trong nền Windows. Thật ra, ta có thể dùng Notepad để soạn mã nguồn (source code) và Visual Basic.NET compiler để chạy ứng dụng (application) mà không cần Microsoft Visual Studio.NET IDE tuy nhiên trong khóa học cơ bản, chúng tôi chọn Microsoft Visual Studio.NET để việc lập trình trở nên vui thích và hấp dẫn.
Tải Về Với Pass congtruongit.com
-
03-21-2009, 11:04 PM #2
Junior Member
- Ngày tham gia
- Aug 2015
- Bài viết
- 0
Đã update lại D-link cho anh em
Các Chủ đề tương tự
-
Visual Studio 6.0 Portable
Bởi hangngand trong diễn đàn Portable - AIOTrả lời: 3Bài viết cuối: 12-09-2015, 01:54 AM -
cách mở visual j# trong visual studio 2012?~
Bởi nhadatso trong diễn đàn Nơi Yêu Cầu - Hỏi Đáp Software.Trả lời: 4Bài viết cuối: 10-05-2013, 12:11 AM -
[Cần Soft] Visual Studio C++
Bởi thanhtrung trong diễn đàn Nơi Yêu Cầu - Hỏi Đáp Software.Trả lời: 1Bài viết cuối: 03-26-2010, 06:14 AM -
Visual Studio 6.0
Bởi khicaca trong diễn đàn Editor & Authoring ToolsTrả lời: 2Bài viết cuối: 03-12-2010, 04:03 AM -
Microsoft Visual Studio 2010
Bởi longleo trong diễn đàn Editor & Authoring ToolsTrả lời: 0Bài viết cuối: 03-11-2009, 12:41 AM