Difference between revisions of "User:Minooz/CanTire"
(→TODO) |
(→Notes / Error / Challenge) |
||
(32 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=CanTire Internship = | =CanTire Internship = | ||
== TODO == | == TODO == | ||
+ | ===Tutorials=== | ||
* CSLA | * CSLA | ||
: Continue with Tutorials | : Continue with Tutorials | ||
− | : Read Csla.pdf | + | : [http://teams-cantire.ctc/sites/SPAppDev/Team/HowTo%20Documents/Forms/AllItems.aspx?RootFolder=%2fsites%2fSPAppDev%2fTeam%2fHowTo%20Documents%2fCSLA%20%2eNET%20Framework&FolderCTID=&View=%7b3EA76E1A%2d4F9B%2d4626%2d915D%2d052E70B8E353%7d Read Csla.pdf] |
+ | : [http://www.lhotka.net/cslanet/csla20.aspx csla Definition] | ||
* VN Super Alert | * VN Super Alert | ||
Line 14: | Line 16: | ||
* SharePoint | * SharePoint | ||
: [http://sptraining.sharepointsite.net/default.aspx Tutorial video] | : [http://sptraining.sharepointsite.net/default.aspx Tutorial video] | ||
− | : Sharepoint Guide @ | + | : 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 == |
+ | * [http://planview.corp.ad.ctc/planview/login/body.asp Plan view] still not working | ||
+ | * In Continuing Education project in Visual Studio, when I tried to open the .aspx page in the Desing mode instead of Source, it took a long time to refresh because it needed to render all the controls. '''So, never open it in Design''' | ||
+ | |||
+ | * 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 (go to the .wsp file location, then -> stsadm -o deletesolution -name whatever.wsp -override) | ||
+ | * 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 | ||
+ | : Replace the .aspx page in: C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\CanTire.ContinuingEducation\ with the one in the project | ||
+ | : 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 | ||
+ | : [http://www.4guysfromrolla.com/webtech/073101-1.shtml 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 | ||
+ | * All the fields are created from columns of the Sharepoint application into the field.xml. | ||
+ | * To know what is inside a .wsp file and what is it supposed to do: | ||
+ | : change the extension of .wsp to .cab and double click -> you will see the list of files in the .wsp file | ||
+ | : In the project in Visual Studio, click on .ddf file and you can see the process and the mapped directories. | ||
+ | : Also manifest.xml and feature.xml will give some information. | ||
+ | |||
+ | == Resources == | ||
+ | * '''Asp.Net''' | ||
+ | : Custom Controls -> [http://www.c-sharpcorner.com/uploadfile/Chandresh.P/customize-site-action-menu-in-sharepoint/ Creating custom web control] | ||
+ | |||
+ | * '''SharePoint''' | ||
+ | : [http://sptraining.sharepointsite.net/default.aspx Tutorial video] | ||
+ | : Sharepoint Guide @ \\PRD422\cl_serv\Net\sharepoint 2007\ | ||
+ | : Customize -> [http://www.c-sharpcorner.com/uploadfile/Chandresh.P/customize-site-action-menu-in-sharepoint/ custom actions] | ||
+ | : Good Videos @ http://www.microsoft.com/click/sharepointdeveloper/ | ||
+ | : [http://go.microsoft.com/fwlink/?LinkID=115666 Microsoft book] | ||
+ | : [http://sharepointconnoisseur.blogspot.com/2011/04/how-to-deploy-saved-site-template-in.html how to deploy saved site template] | ||
+ | : [technet.microsoft.com/en-us/library/cc263231(office.12).aspx stsadm] | ||
+ | : [http://littletalk.wordpress.com/2008/12/16/steps-to-install-wsp-file-in-stsadm/ Steps to install wsp file in stsadm] -> very good! (uninstall feature, deactivate feature...) | ||
+ | |||
+ | * '''Team Rules''' | ||
+ | :http://teams-cantire.ctc/sites/SPAppDev/Mgr/Team%20Rules/Forms/AllPages.aspx | ||
+ | |||
+ | * '''CSLA''' | ||
+ | : [http://teams-cantire.ctc/sites/SPAppDev/Team/HowTo%20Documents/Forms/AllItems.aspx?RootFolder=%2fsites%2fSPAppDev%2fTeam%2fHowTo%20Documents%2fCSLA%20%2eNET%20Framework&FolderCTID=&View=%7b3EA76E1A%2d4F9B%2d4626%2d915D%2d052E70B8E353%7d Read Csla.pdf] | ||
+ | : [http://www.lhotka.net/cslanet/csla20.aspx csla Definition] | ||
+ | : [http://brilliantfantastic.com/blog/post/30872823 brilliantFantastic!] | ||
+ | |||
+ | == Documentation == | ||
+ | * [[User:Minooz/CanTire/Doc | CanTire Documentation]] |
Latest revision as of 16:24, 16 January 2012
Contents
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
- Plan view still not working
- In Continuing Education project in Visual Studio, when I tried to open the .aspx page in the Desing mode instead of Source, it took a long time to refresh because it needed to render all the controls. So, never open it in Design
- 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 (go to the .wsp file location, then -> stsadm -o deletesolution -name whatever.wsp -override)
- 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
- Replace the .aspx page in: C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\CanTire.ContinuingEducation\ with the one in the project
- 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
- All the fields are created from columns of the Sharepoint application into the field.xml.
- To know what is inside a .wsp file and what is it supposed to do:
- change the extension of .wsp to .cab and double click -> you will see the list of files in the .wsp file
- In the project in Visual Studio, click on .ddf file and you can see the process and the mapped directories.
- Also manifest.xml and feature.xml will give some information.
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
- [technet.microsoft.com/en-us/library/cc263231(office.12).aspx stsadm]
- Steps to install wsp file in stsadm -> very good! (uninstall feature, deactivate feature...)
- Team Rules
- CSLA