Thursday, February 19, 2009

Composite Application Guidance for WPF and Silverlight v2.0 (PRISM)

The Composite Client Application Guidance is designed to help you more easily build modular Windows Presentation Foundation (WPF) and Silverlight client line of business applications.

These types of applications typically feature multiple screens, rich, flexible user interaction and data visualization, and role-determined behavior. They are built to last and built for change. This means that the application's expected lifetime is measured in years and that it will change in response to new, unforeseen requirements. This application may start small and over time evolve into a composite client—composite applications use loosely coupled, independently evolvable pieces that work together in the overall application.

Read More

Wednesday, February 18, 2009

Creating Custom Field Types in SharePoint using Visual Studio

Here we are planning to create a Custom field will auto populate with the logged in user information. First we need create project with SharePoint assembly as reference. For this create empty SharePoint Application project.
> Start Visual Studio.
> On the File menu, click New, and then click Project.
> In the Project Types pane of the New Project dialog box, select Visual C#, and then select the SharePoint category.
>In the Templates pane, click Empty. Specify a Name and Location for the project, and then click OK. Visual Studio creates a solution that contains an empty project.

Visual Studio Extensions for Windows SharePoint Services 3.0 provides support
for creating SharePoint field types through the Field Control project item.


Now we need to add a Field Control to the Project we have created.

> In the Visual Studio Solution Explorer, right-click the empty project created in the previous procedure, click Add, and then click New Item.
> In the Categories pane of the Add New Item dialog box, expand the Visual C# Project Items node, and then select the SharePoint category.
> In the Templates pane, click Field Control. Specify LoginInfoID for the Name of the field control, and then click Add. Visual Studio adds the new field control to the project.

Visual Studio adds two Microsoft Visual C# code files to the project: LoginInfoID.FieldControl.cs and LoginInfoID.Field.cs. The LogoField.Field.cs file contains code that defines a class that by default is derived from the SPFieldText class and that overrides the FieldRenderingControl property.

Now write the custom logic inside the LoginInfoID.FieldControl.cs file. Refer the this full source attached in this blog for understand the remaining. Download Source Code

Now the field control xml file and deployment.
The XML file must be named in the format fldtypes*.xml (for example, fldtypes_customfield.xml) and placed in Local_Drive:\\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\XML
Upload all the .dll files into the Drive:\WINDOWS\assembly folder
At a command prompt, type iisreset to reset Internet Information Services (IIS).
In a view of the list to which you want to add the custom field type, click Settings, and then click Create Column.
Result as shown screenshot


Tuesday, February 17, 2009

Here the Training Course Directory in Microsoft

Here the Training Course Directory in Microsoft, some collection of training videos and events which will be very usefull.

Click here for more

Thursday, February 05, 2009

CAML.NET IntelliSense for SharePoint

Excellent outcome by some of the Microsoft Technology community influencers.
CAML.NET IntelliSense for SharePoint
To build a SharePoint feature, you must write CAML, but the raw CAML schemas produce only minimal editing support in Visual Studio. This project extends the raw CAML schemas with fully annotated XSDs that enable IntelliSense to display full SDK documentation while editing SharePoint XML files. Most SharePoint developers know how to add the SharePoint schemas to Visual Studio so you get IntelliSense when editing CAML files. This is a good first step, but only provides the bare minimum of information needed to build solutions. The result is that you spend a good deal of time searching through the SDK documentation for the necessary details for using a particular CAML element or attribute, or to see the list of valid attribute values.

Explore more

ASP.NET MVC - Sport Facility Booking system

  The project relies on some external service providers. Thus accessing them via their API requires authentication. An API Key need to be su...