(Already installed skip step 1)
Step 2: Open Visual Studio 2005 and select Web Application
Project as shown below,
Step 3: Name the project “FirstWebProject”.
Step 4: Delete Default.aspx page Or Rename the Default.aspx and
add new Web Page Or rename the web page name it to “FirstCustomePage.aspx”.
Step 5: You can design this page as you want. Once you are done
with designing run the application once to make sure that there is no error.
Step 6: Now go to the file path where you have created the Web
Application.
file path is “c:\chirag\VortalProject”. You have to copy the DLL file from web
application’s BIN folder to share point site’s BIN folder.
Step 7: To Find BIN folder for your share point site, go to IIS and
select your share point site. Right click on the site name and click on Open.
Step 8: This will open physical location where you site resides.
Copy web application’s DLL file (In my case “FirstWebProject.dll”)
in BIN directory of SharePoint site.
Step 9: Now create a new folder at same level where your SharePoint
site’s BIN directory resides. Name is “CustomePage”. Add the
“FirstCustomePage.aspx” page to “CustomPage” folder.
Step 10: Open Web.Config file of Share Point site and copy safe control
tag shown below to Web.Config file.
If you have chosen different namespace and assembly names
than you have to use your name instead of this.
You have completed 90% of the task.
Step 11: The last thing is, you have to add
site’s Web.Config file. You need to set trust level to “WSS_Medium”
Here you have completed all the required configurations!!!!
Step 12: Now open your share point site in browser and check for newly added page.
In our case the link will be
http://wscepios99:PortNo/CustomePage/FirstCustomePage.aspx
If you have done all the changes as mentioned above you can see your page running
fine in browser.
No comments:
Post a Comment