Custom Workflow:
Pre-requisites
- VS 2005 Extensions for WSS 3.0
- VS 2005 Extensions for Workflow Foundation
Steps
- File ->New Project -> Visual C# -> Sharepoint -> Sharepoint Server Sequential Workflow Library.
- And draw the diagram for Sharepoint Sequential Workflow. For every new “Create Task with ContentType ID” Item, you need to modify the properties like “TaskID” and “ContentType ID”. “TaskID” should be different for different tasks, which can be created using Tools-> New GUID and “ContentTypeID” should be mapped with one of the lists/tasks in the Sharepoint server.
- Whenever you are placing different components like onTaskChange, onTaskComplete, make sure you are mapping with the correct TaskID of CreateTask.
- Code behind the different items can be done easily with the help of e-surfing.
- In project properties, you need to sign the assembly under ‘Signing’ tab.
- In Workflow.xml, modify the attributes as follows

- In Features.xml, it should look like

- Build the solution. Now you are done.
List:
At maximum, we can store 2000 items per view.
Refer, http://old.markharrison.co.uk/blog/2004/09/sharepoint-scaling-limits.htm
http://blogs.msdn.com/sharepoint/archive/2007/07/25/scaling-large-lists.aspx
http://technet.microsoft.com/en-us/library/cc287743.aspx and
http://technet.microsoft.com/en-us/library/cc287790.aspx.
Check out here!!!
http://www.wssdemo.com/Lists/Large/
Custom aspx pages:
Here, you could find the steps to customize aspx pages with code behind files.
Here is how to do it:
- Install Microsoft Visual Studio – update to support web application projects.
- Install the Visual Studio 2005 Web Application Projects extension. Don’t download Microsoft Visual Studio 2005 Team Suite Service Pack 1.
- START – File – New Project – ASP.NET Web Application – Name it “WebProject1″
- Add reference to Microsoft.Sharepoint
- Create your .aspx pages with code behind files.
- Once you are done, build the solution with the strong names (recommended).
- Now, create a folder in your Sharepoint site using SPD 2007. For eg. http:///myFolder
- Copy your pages (not code files) in that folder using SPD 2007.
- In each page, your code looks like:
- Change the code into

- Copy the dlls from your project bin folder to \BIN folder of our SharePoint Web application. E.g. C:\Inetpub\wwwroot\wss\VirtualDirectories\ 80\bin
- Open the web.config file for the SharePoint Web Application E.g. C:\Inetpub\wwwroot\wss\VirtualDirectories\80\web.config
- Add the following line to the SafeControls section (change to suit your assembly and namespace etc…)
-
Change the line to
- Open your site in SharePoint Designer and drag and drop your myPage.aspx page into a folder in your site.
- Browse to your page E.g. http:///myFolder/myPages.aspx
Note: If you want to debug your code once it is running inside SharePoint then all you need to do is attach the Visual Studio debugger to the correct w3wp.exe process (Debug -> Attach to process), set your break points and then hit your page in a browser.