Visual Studio Editor
Manifest - Contains name and version, list of any other suppoert assemblies that it may need.
- list of types
- list of resources
- map to connect public types
- list of referenced assemblies
- you can examine the manifest using the ILDasm tool (double click the second line).
(View > Other Windows)
You can use the #Region and #EndRegion directives
My Profile - This pane lets you configure the editor with your preferences.
Object Explorer - Displays all the members of a particular object
Solution Explorer - Provides an averview of the solution including all projects and items
Class View - presents a list of all the classes contained in your solution
Dynamic Help - Automatically looks up all kinds of topics related to the currently selected item. This is more helpful than just searching for a word using the normal help
Component Tray - Displays components that are not visible at run time, such as timer controls, context menus.
Server Explorer -
Output Window - use System.Diagnostics.Debug.Write()
Task Item - Contain a list of things you have to take of - syntax errors, upgrade to do's
Command Window - Enter commands such as File.AddNewProject
Custom Bitmap images
Light Grey - 215,215,215
Dark Red - 128,0,0
use Imports to import a namespace without having to fully qualify all the items
Change default Option Strict On
When you install Visual Studio you are asked which settings you want to use
You can change your settings by clicking (Tools > Import and Export Settings)
You can export your current settings, import settings from a file or reset all the settings to the default.
Str() - converts a number fo a text representation
Val() - converts a text representation to a number
If you have a Exit Function without assigning a value to the function name then the value returned is the default value appropriate to the data type.
You have the option of keeping several windows open at the same time by clicking their pintag icons again
However some will be combined on the side with a set of tabs at the bottom.
If you want the window you are dragging to be linked to another windows by tabs, drag the windows directly on to the title bar of the other window. A tab for each window will appear at the bottom.
There are two types of windows. Tool windows and Document windows. You can manipulate and arrange Tool windows in various ways dock / hide / show / move etc. You can have a group of them displayed in a tabbed format.
Only Tool windows in floating mode can be moved outside of the application frame.
You can have multiple instances of some Tool windows (Window > New Window) (eg Web Browser)
These are the windows that you use for editing an item in your project. All document windows are not dockable and are unique to a specific project. How these windows appear in the IDE will depend on the interface mode you have set.
You can split these windows by grabbing the upper right corner and dragging downward
Visual Studio.NET includes a mechanism for hiding and displaying tools quickly, called auto-hide. This feature is available for most tool windows. To auto-hide a tool window, click the pushpin button in the top right corner, so it points to the left.
The benefit of having auto hide windows is that they free up space in your Visual Studio, but are also very quickly to access.
This displays all the attributes associated to classes (ie textboxes or forms). Once this window is visible, you cna either view the list alphabetically or categorized by attribute. Properties within the window can be selected either from a list or by clicking a button to bring up a dialog box.
Using the Object drop-down list is an easy way to switch between objects in yoru program. You can also switch between objects on a form by clicking each object.
same as F4
To prevent a window docking while you drag it, hold down Ctrl
If the properties window is not visible, click (View > Properties window) or press F4
You can move a dockable window without snapping it into place by pressing the Ctrl key while dragging
By default, Visual Studio.NET saves your projects in the Visual Studio Projects folder and gives each project its own folder
Visual Studio.NET automatically saves your project before it starts the compiler and displays any forms. This is a safety feature that will prevent the loss of any data should anything unexpected happen during complilation.
The Simple Object Access Protocol (SOAP) provides a way to call methods using XML and HTTP. The details of the method you want to call and any arguments you need to supply are formatted as an XML SOAP packet. The Server parses the contents of the packet, makes the call and sends back a reply packet, which is also in XML. SOAP relies on W3C schemas to define the content of SOAP packets, and the use of schemas makes it possible to define and pass over structured data.
There are SOAP bindings to many languages and a growing number of applications are using SOAP to provide language and platform independent access to services.
You can think of SOAP as the Internet's application-to-application protocol enabling applications to communicate over the existing Internet infrastructures.
The compiler always attaches metadata to the output code to describe it, and the CLR uses the metadata to control the loading and execution of the code. You can also attach metadata to code using attributes, special syntax elements that can be attached to classes and class members
You can enquire about attributes at runtime using reflection
Reflection is a feature that allows a programmer to find out information about the objects they are using, such as what class they belong to, what methods they support and what metadata is attahced to them.
You can use the attributes that are predefined by the .NET framework. You can use these attributes in two ways, by editing the AssemblyInfo.ccp file that comes with a "Managed C++ Project" ro by attaching attributes to managed elements in your code.
Extensible Markup Language. This is a text-based language much like HTML, that defines rules for creating custom HTML like tags that describe themselves and the data they contain (meta data)
© 2023 Better Solutions Limited. All Rights Reserved. © 2023 Better Solutions Limited TopNext