Sunday, January 3, 2010

Client Script in ASP.NET Web Pages

Client Script in ASP.NET Web Pages: "Client Script in ASP.NET Web Pages

ASP.NET Web applications are not limited to server-based tools and languages. You can include ECMAScript (JavaScript or JScript) in your ASP.NET Web pages to create rich browser-based functionality. A wide range of features for client script support is available in ASP.NET.

One option is to create and add individual snippets of client script to ASP.NET Web pages to support browser behavior that you design for your application. This option is practical if you want to include only a few small pieces of JavaScript code or if you are working with JavaScript code that you already have. This option also helps keep the size of your ASP.NET Web pages to a minimum.

Alternatively, you can take advantage of the powerful AJAX features of ASP.NET. These AJAX features include a complete framework that supports the following:

*

Object-oriented programming in JavaScript.
*

Asynchronous postbacks.
*

Application Web services for authentication and profiles.
*

Server controls that manage client script with extended debugging and trace support.

Using ASP.NET AJAX features lets you take advantage of JavaScript functionality with less manual coding. It provides extended JavaScript functionality, and it provides a framework for creating client functionality that is integrated into ASP.NET.

This topic provides an overview of options for adding client script to ASP.NET Web pages. It contains the following sections:

*

Scenarios
*

Including Custom Client Script in ASP.NET Pages
*

Extending JavaScript with ASP.NET AJAX Features
*

ASP.NET Server Controls That Depend on Client Script
*

Adding Client Script Events to ASP.NET Server Controls
*

Referencing Server Controls in Client Script
*

Raising Client Click Events for Server Controls
*

Communicating Between Client Script and Server Code
*

Creating Client Script Components
*

Adding Client Functionality to Server Controls"

Chris O'Brien: Blending publishing/collaboration functionality in SharePoint

Chris O'Brien: Blending publishing/collaboration functionality in SharePoint: "Blending publishing/collaboration functionality in SharePoint

Most often when creating SharePoint solutions, the requirements often map fairly well to one of the out-of-the-box site definitions which can be used to create new sites. If we're creating heavily-branded internet/intranet sites (WCM sites), we'll probably start with the 'publishing site' template. If we are deploying SharePoint in a document management/collaboration scenario, we'll probably start with the 'team site' template, and so on. Where it gets interesting it when the project requirements effectively have a mix of this functionality. Characteristics of such a site might include:

* site has completely bespoke look and feel/navigation
* users will work with files stored in document libraries
* site templates or definitions are used to create several sites with the same content/functionality
* custom workflow is used to support a business process (other than standard content publishing), perhaps with InfoPath forms

Such requirements present a few challenges, and a current project of mine fits into this category. At a high level, one consideration is that site users will also use 'system' pages provided by SharePoint in many scenarios (e.g. working with document libraries/lists, workflow etc.) and this doesn't happen in most WCM sites. This can lead to situations where there is a disparity between the look and feel of the 'published view' of the website and the 'system' areas. I don't intend to provide answers to all the issues here, but I do want to discuss a few as some food for thought. I'll probably revisit this post at the end of the project and provide a better insight into the issues and solutions, but for now let's cover some high-level decisions:"

SharePoint-Developer Architect

Overview
This course is designed to give information plus the skills need to extend, customize, and support a Microsoft Windows SharePoint Services 3.0 (WSS V3) and Microsoft Office SharePoint Server (MOSS 2007) implementation in real time world.

This course is completely job oriented and all the demos are based on the real time business requirements.

Prerequisites
Understanding of C# / ASP.NET / Web Application / Visual Studio.

Duration
40 Hrs / 5 Full Days /4 Weeks ends

Introduction to SharePoint Development
  • Introduction and Functional Overview
  • Configuring the Development Environment.
  • Configuration, Customization and Solution Development
  • Site Collections and Sites
  • Creating and Customizing Lists and Libraries
  • Using Web Part Pages

SharePoint Architecture
  • IIS, ASP.Net, and SharePoint
  • Web Application overview

System Administration
  • Central Administration Site
  • Web Application Management
  • Site Collection Management
  • Shared Services

Site Columns and Content Types
  • Site Columns
  • Content Types
  • Integrating Site Columns, Content Types, and Lists

Features
  • OOTB Features
  • Types of Features
  • Feature Scopes
  • Feature Activation, Dependencies, and Stapling
  • Feature Receivers
  • Create Feature to change the theme while site provision

Solution Development
  • Creating a Development Environment
  • Deploying Solutions
  • Common Failure Modes
  • Tools and Techniques to Simplify Package and Deployment

Site Definitions
  • Understanding Site Definitions
  • Overview of the Global Site Definition and OOTB Site Definitions
  • Creating Custom Site Definitions
  • Specify Site Elements and Features Using Onet.xml

Themes
  • Using OOTB Themes
  • Creating Custom Themes

Master Pages
  • ASP.NET Master Page Basics
  • Master Pages in SharePoint
  • (Application .master and Default .master)
  • Creating a Custom Master Page

Programming Fundamentals
  • The SharePoint API
  • Deploying Controls
  • Elevation of Privileges
  • Debugging Assemblies

Creating User Controls and Web Parts
  • User Controls
  • Overview Web Parts
  • Overview of the important OOTB Web Parts
  • Difference b/w ASP.Net and SharePoint Web Parts

Advanced List Concepts
  • Manipulating Lists and List Items Programmatically
  • Lists and Cross-site queries
  • Custom Field Types

Event Handlers
  • Overview
  • Web and List events
  • Create event handler – theme and logo changer.

Building Workflow Solutions (InfoPath Forms)
  • OOTB Workflows
  • Comparison to SharePoint Designer Workflows
  • Workflow basics
  • Association, Initiation, and Modification Forms
  • Debugging Workflows
  • Custom Task Content Types and Forms
  • Create SharePoint designer workflow

Dashboard and Excel Services
  • Overview
  • Create dashboard using KPI and KIP List data
  • Create dashboard using excel services (Graph)

Forms Based Authentication and Anonymous Access
  • Configuring Anonymous Access
  • Configuring forms based authentication