Open main menu

CDOT Wiki β

User:Minooz/CanTire

< User:Minooz
Revision as of 16:22, 10 January 2012 by Minooz (talk | contribs) (Notes / Error / Challenge)

CanTire Internship

TODO

Tutorials

  • CSLA
Continue with Tutorials
Read Csla.pdf
csla Definition
  • VN Super Alert
Read the documentation -> TeamSite - SharedDocuments
Work on the application code from PVCS
  • Ladan - CSI
Documentation -> CSI - TeamSite
  • SharePoint
Tutorial video
Sharepoint Guide @ \\PRD422\cl_serv\Net\sharepoint 2007\
Good Videos @ : Good Videos @ http://www.microsoft.com/click/sharepointdeveloper/
  • How to create InTireNet in a development environment
\\PRD422\cl_serv\Net\InTireNet\Development Environment\How to...

Notes / Error / Challenge

  • stsadm.exe can be found here:
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\BIN
Added to the PATH using mossAdmin
  • DLLs for SharePoint can be found here:(InTireNet)
E:\Inetpub\WWWRoot\wss\VirtualDirectories\22223\bin
  • Create a Web application
Create an empty site using the given port
Go to application Managment in 'Central Admin' While the selected web application is yours, then 'Create Site Collection' using any template and use 'mossAdmin' as the admin of the site. (Titles->MyApps, Url->/Sites/VNSuperAlert)
  • For deploying a solution again
Instead of retracting the solution, deletesolution from command line would work with -override option then deploy again
  • Applying a change to the solution
Change something in the code (VS), then build the solution, drag and drop the created .dll file from the /bin to the GAC -> (C:\Windows\Assembly)
Restart IIS through admin
When the changes are fine and need to deploy, create the .wsp file again and deploy it
  • To Deploy Continuing Education
Craete a web application -> use default
Create Site Collection -> name:Home, admin: mossAdmin
Run the new application -> Create -> Sites -> name:Continuing Education, url:/ContinuingEducation
Upload the site template -> ContinueEd.stp
Deploy the solution to the Central Admin
  • To add a default item to a list in asp.net
use item.Insert(position, value)
Do it after DataBind()
  • To debug a webpart
Do the change in both .cs and .aspx pages -> e.g. ContinuingEducation.Layouts.ApplicationNew.aspx
Build the solutiom and drag the new .dll file to the GAC (Assembly)
Copy the aspx page from the project and paste it to the solution package in the Sharepoint -> e.g. C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\CanTire.ContinuingEducation\
Restart IIS
Click on Debug -> Attach to process -> w3wp.exe
Run the application on IE -> the breakpoints will be hit

Resources

  • Asp.Net
Custom Controls -> Creating custom web control
  • SharePoint
Tutorial video
Sharepoint Guide @ \\PRD422\cl_serv\Net\sharepoint 2007\
Customize -> custom actions
Good Videos @ http://www.microsoft.com/click/sharepointdeveloper/
Microsoft book
how to deploy saved site template
  • Team Rules
http://teams-cantire.ctc/sites/SPAppDev/Mgr/Team%20Rules/Forms/AllPages.aspx
  • CSLA
Read Csla.pdf
csla Definition
brilliantFantastic!