« Home « Chủ đề lập trình Visual

Chủ đề : lập trình Visual


Có 80+ tài liệu thuộc chủ đề "lập trình Visual"

Lập trình .net 4.0 và visual studio 2010 part 60

tailieu.vn

Styles in Silverlight 3.0 can now be modified at runtime and support inheritance.. Silverlight 3.0 allows you to create styles that inherit from another style (sort of like CSS) by specifying a parent style in the BasedOn property. BasedOn="{StaticResource MyHorridFuciaStyle}"></Style>. Silverlight 3.0 has a new file save dialog that allows users to save content to their local machine rather than...

Lập trình .net 4.0 và visual studio 2010 part 61

tailieu.vn

Microsoft has been hard at work tweaking Silverlight 3.0’s performance. Silverlight 3.0 has support for Binary XML, allowing you to communicate with WCF binary XML endpoints. Silverlight.js. The JavaScript file Silverlight.js in Silverlight 3.0 is compressed and is now just 7k in size (previous versions were 57k). http://code.msdn.microsoft.com/silverlightjs/.. Silverlight 3.0 allows you to shift resource-intensive tasks such as clipping and...

Lập trình .net 4.0 và visual studio 2010 part 62

tailieu.vn

Windows Azure. Windows Azure is Microsoft’s entry into the cloud-computing arena and competes with offerings from established heavyweights such as Amazon and Google. Windows Azure applications are created using standard .NET technologies and developers will be glad they will not need to learn many additional techniques to get up and running.. The complexity of the Azure infrastructure is hidden from...

Lập trình .net 4.0 và visual studio 2010 part 63

tailieu.vn

If you haven’t created a project yet, click the adding services to the project link. Figure 16-10. Figure 16-11. We want to upload our application to Windows Azure, so click the Deploy button beneath the staging cube and you will be taken to the Staging Deployment screen.. Figure 16-12. Figure 16-13. Click the Run button to start your Azure application...

Lập trình .net 4.0 và visual studio 2010 part 64

tailieu.vn

The following example shows how to save a file to local storage:. Azure Storage. SQL Azure. Azure storage is very fast and intended for storing files or data with a simple structure, and it is also cheaper than its SQL counterpart. Azure Storage:. Cheaper than SQL Azure. More expensive than Azure Storage. Before you jump to automatically using SQL Azure...

Lập trình .net 4.0 và visual studio 2010 part 65

tailieu.vn

The following URL, for example, is used to retrieve a list of containers held in Azure Storage:. Add the following using directive:. Add the following code to the Main() method. Request.Method = "GET";. Request.ContentLength = 0;. Request.Headers.Add("x-ms-date", DateTime.UtcNow.ToString("R"));. Request.Headers["x-ms-date". And add the Authorization header to the request. Request.Headers.Add("Authorization", AuthorizationHeader);. HttpWebResponse Response = (HttpWebResponse) Request.GetResponse();. You should have a response like...

Lập trình .net 4.0 và visual studio 2010 part 66

tailieu.vn

Table Storage. Azure table storage is the third Azure storage option and allows you to store .NET objects (entities in Azure terminology) and access them in a manner compatible with WCF Data Services. Items stored in table storage are created as standard .NET classes that inherit from TableServiceEntity. Create a new Cloud Service project called Chapter16.TableStorage, adding a single ASP.NET...

Visual studio 2010 part 1

tailieu.vn

Understanding Visual Studio 2010 Essentials. Introducing Visual Studio 2010. Learn What Visual Studio 2010 Can Do for You. Understand What Types of Applications You Can Build. Y our first experience with Visual Studio (VS) 2010 is often installation. Once installation is complete, you’ll open VS for the first time and need to know how to navigate the VS environment;. this...

Visual studio 2010 part 2

tailieu.vn

The choice you make for default environment settings depends a lot on what language or environment you’ll use to write software in. This book covers both VB and C#, so you would most likely want to choose the setting specific to the language you will use. The examples in this book will use either VB or C# settings, depending on...

Visual studio 2010 part 3

tailieu.vn

Modifying Environment Settings after Setup. With VS open, select Tools | Import And Export Settings, which will start the Import and Export Settings Wizard shown in Figure 1-17.. From Figure 1-17, you can see the options to Export, Import, and Reset settings. Figure 1-17 Import and Export Settings Wizard. Chapter 1: Introducing Visual Studio 2010 23. Exporting Selected Environment Settings....

Visual studio 2010 part 4

tailieu.vn

30 Microsoft Visual Studio 2010: A Beginner’s Guide. Familiarization with Visual Studio Project Types. Visual Studio includes a plethora of project types, making it easy to build applications with premade templates. The following discussion will show how to find what project types are available and describe what those project types are.. To see what projects are available, select File |...

Visual studio 2010 part 5

tailieu.vn

Learning Just Enough C# or VB.NET:. T he .NET platform supports several different programming languages. Since all of the languages run on the same platform and share the same class libraries, language choice becomes a personal choice of preference. In other words, you can accomplish the same tasks, regardless of what programming language you use. With .NET, you have a...

Visual studio 2010 part 6

tailieu.vn

which you’ll see many times throughout this book. In reality you can name the class anything you want. Whatever names you choose should make sense for the purpose of the class.. A namespace name, however, precedes the class name, whereas your middle name and surname follow your first or given name. For example, guess where you can find .NET classes...

Visual studio 2010 part 7

tailieu.vn

There are various types of statements you can write with both C# and VB, including assignment, method invocations, branching, and loops. We’ll start off by looking at primitive types, such as integers and strings, and then I’ll show how to build expressions and set values by performing assignments. Then you’ll learn about branching statements, such as if and switch in...

Visual studio 2010 part 8

tailieu.vn

This chapter will specifically discuss the class type, which allows you to create your own custom types.. You’ll also see the value of a class when you learn about class members. You’ll see how the field, method, and property class members can be used. We’ll start with learning how to create and use classes.. You can also create your own...

Visual studio 2010 part 9

tailieu.vn

The carat will locate to the inside of the class block. You can divide your algorithms into blocks of code called methods. You’ve already used methods when coding Console.WriteLine, where WriteLine is a method of the Console class. To start off, I’ll show you a very simple method so that you can see the syntax and understand the program flow....

Visual studio 2010 part 10

tailieu.vn

Credit increases the value of currentBalance, and Debit decreases the value of currentBalance.. The implementations of Credit and Debit, respectively, increase and decrease the value of accountBalance. Since Credit and Debit are members of the same class as accountBalance, they’re allowed to read from and write to accountBalance.. Main invokes Credit and Debit to change the value of the accountBalance...

Visual studio 2010 part 11

tailieu.vn

Use Delegates and Events. I n previous chapters, you learned basic syntax and how to create your own types. Understanding Delegates and Events. For example, when the designers of the .NET Framework created user interfaces, they added reusable controls, such as buttons, list boxes, and grids. An event defines the type of notifications that a object can provide, and a...

Visual studio 2010 part 12

tailieu.vn

As you can see, the Editor pops up a tooltip instructing you to type TAB to create a new delegate instance. In Figure 4-2, you can see that Code Completion is suggesting a method name for you.. Just as a delegate provides an interface to a method that is a contract basically to describe how to communicate, you can also...

Visual studio 2010 part 13

tailieu.vn

Set Properties in the Properties Window. For development, you have a hierarchical structure that is flexible and allows you to organize your code in a way that makes sense for you and your team. For deployment, you can build different project types that will result in executable or library files (often referred to as assemblies) that run your program when...