quinta-feira, maio 27, 2010

Server no jeito =)

: This server might need to be restarted after the installation completes.

Active Directory Lightweight Directory Services

: After installing AD LDS, instances of AD LDS can be created by launching the AD LDS Setup Wizard from the Advanced Tools section of the AD LDS home page.

: Before removing the AD LDS role, you must use Programs and Features in Control Panel to remove all previously installed AD LDS instances.

Application Server

.NET Framework 3.5.1

Web Server (IIS) Support

COM+ Network Access

TCP Port Sharing

Windows Process Activation Service Support

HTTP Activation

Message Queuing Activation

TCP Activation

Web Server (IIS)

: Find out more about Windows System Resource Manager (WSRM) and how it can help optimize CPU usage

Web Server

Common HTTP Features

Static Content

Default Document

Directory Browsing

HTTP Errors

HTTP Redirection

Application Development


.NET Extensibility


ISAPI Extensions

ISAPI Filters

Server Side Includes

Health and Diagnostics

HTTP Logging

Logging Tools

Request Monitor



Basic Authentication

Windows Authentication

Digest Authentication

Client Certificate Mapping Authentication

IIS Client Certificate Mapping Authentication

URL Authorization

Request Filtering

IP and Domain Restrictions


Static Content Compression

Dynamic Content Compression

Management Tools

IIS Management Console

IIS Management Scripts and Tools

Management Service

IIS 6 Management Compatibility

IIS 6 Metabase Compatibility

IIS 6 WMI Compatibility

IIS 6 Scripting Tools

IIS 6 Management Console

IIS Hostable Web Core

File Services

File Server

.NET Framework 3.5.1 Features

.NET Framework 3.5.1

WCF Activation

HTTP Activation

Non-HTTP Activation

Message Queuing

Message Queuing Services

Message Queuing Server

Windows Process Activation Service

Process Model

.NET Environment

Configuration APIs

sábado, maio 22, 2010


Mais um daqueles softwares úteis para o iPhone =S

Some New features in ASP.NET 4.0, Visual Studio 2010 IDE

Generate From Usage

In previous versions of ASP.NET, Microsoft introduced code refactoring to generate methods and identifiers from existing code. In ASP.NET 4.0, there is a new concept of Generate From Usage - generates properties, methods, classes, and other types based on existing code.

Write some code, select it and right click on the left most character, and you will get options to change it to a property or method etc. This option is shown only if you do not define an identifier. For example, in the following example intellisense, it will not show the options to extract a property if you right click on the variable i.


Visual Studio 2010 provides us facility to move windows of the IDE outside of the Visual Studio IDE and place them on the desktop area. It also supports having different IDE windows on multiple monitors. If we close Visual Studio and open it again, we will find all the windows on the same places where we finished them last time.

Code Navigation in Class Files

Code Navigation

A new Navigate To option gives us facility to search a term in a file more quickly. It searches the text as you type, but it works for class files only, i.e., it doesn't work for HTML or code-behind files. In the following example, it shows the function name as I type it in the Navigate To window; on selection of any, it will navigate to the function definition.

View Call Hierarchy

This featrure helps to see the use of a function and its properties. For example, if you right click on a function name, it will show you the hierarchical list of function usage.

If you click View Call Hierarchy, it will show you a window with the details of the function calls:

On selection of the function call in the hierarchy window, it will show the details of the parameters and the location of the function call.

Code Identifier Highlighting

On selection of an identifier, the IDE will highlight the places for you where it is utilized. For example, I selected variable i and it highlights the different places it is used.

Compressing Session Values

ASP.NET session out-of-process state values are saved in a database or on the server. These are saved in a serialized format. Bigger session values consume more resources to be sent to the server. Now, those can be compressed with a new built-in property compressionEnabled. This attribute for thesessionState element can be mentioned in the web.config, like this:

  <sessionState   mode="SQLServer"    stateConnectionString="connectionstring goes here"    compressionEnabled="true"/>

This option would be available for out-of-process sessions.

Optional Parameters

To implement optional parameters, we used to create overloaded functions before ASP.NET 4, but now, optional parameters are no more a restriction in C#. Like VB, optional parameters must be mentioned last. For example:

  public void FunctionOptionalParam(string Name, int Age, string Country = "") 

and we can call them without mentioning the value for the optional parameter.

  FunctionOptionalParam("My Full Name",20);

Named Parameters

Named parameters allow you to ignore the parameter order and mention parameters with names in a different order. For example:

  public void FunctionNamedParam(int x, int y , int z)

On function call, it would be:

  FunctionNamedParam(x:1, z:3, y:2);

Although we are sending a value for the parameter z before its order in the function declaration, but these would be equal to x=1, y=2, z=3.

Publishing a Project

In VS2010, if you click the Properties link in Solution Explorer, you will find three new tabs:

  1. Package/Publish
  2. Deploy SQL
  3. Silverlight Applications

I will discuss about the first two options.


Package, Publish options provide you settings for the publish and package commands. The configuration option for Debug, Release provides options to set these values on compilation and build like in previous versions.

If the hosting server does not have SQL Express, or if you do not want to include those in the published files, then select Exclude files from the App_Datafolder. If you select the option Create a web package as a ZIP file, it will create a zip file to be deployed. Otherwise, it would be an unzipped folder by default.

The default package folder is created under the obj folder of the application. It is not be shown by default in the Solution Explorer until you select the Show all files option. We can also set the web application name on the server and the destination server physical path as well.

Deploy SQL

The Deploy SQL option allows you to set the connection string as part of the deployed package. You can add the connection strings manually with different names and values, or import from the web.config by clicking the Import button. You can choose the script for Schema Only or the database option as well. On selection of a connection string, it shows the source settings and we can set the values for the destination server.

You can also add database script files manually by clicking the Add button. You can also change the order of SQL files to run on server.