Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > .NET Web Services
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
.NET Web Services Discussions about .NET XML Web Service technologies including ASMX files, WSDL and SOAP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Web Services section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old May 3rd, 2005, 08:39 AM
Registered User
 
Join Date: May 2005
Location: Pune, Maharashtra, India.
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Creating SharePoint web pages through C#

How to create web page through C# code behind and also how to add users to those site along with the rights.

Regards,
Sudhir Tibrewal
Reply With Quote
  #2 (permalink)  
Old May 4th, 2005, 08:11 AM
Friend of Wrox
Points: 3,489, Level: 24
Points: 3,489, Level: 24 Points: 3,489, Level: 24 Points: 3,489, Level: 24
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Central, NJ, USA.
Posts: 1,102
Thanks: 0
Thanked 2 Times in 2 Posts
Default

A few Questions:

1. SPS or WSS?
2. Are you trying to create a template or a web part?



Hal Levy
I am here to help you, not do it for you.
That is, unless you hire me. I am looking for work.
Reply With Quote
  #3 (permalink)  
Old May 4th, 2005, 11:30 PM
Registered User
 
Join Date: May 2005
Location: Pune, Maharashtra, India.
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello Levy,

I want to develop first on WSS and then also on SPS. Actually we have developed product which keeps the track of project development life cycle. In which we want to deploy SherePoint technology. The product can add new project and also add/assign the resources (PL, Developer, QA, etc). What I want is at the time of creating project thro' C# code behind, a sharePoint site for specific project need to be created under virtual server thro' code behind and also I can add the users to the specific project site with the specific rights.

Regards,
Sudhir Tibrewal
Reply With Quote
  #4 (permalink)  
Old May 5th, 2005, 07:16 AM
Friend of Wrox
Points: 3,489, Level: 24
Points: 3,489, Level: 24 Points: 3,489, Level: 24 Points: 3,489, Level: 24
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Central, NJ, USA.
Posts: 1,102
Thanks: 0
Thanked 2 Times in 2 Posts
Default

First I have to ask why your re-creating something that already exists... Microsoft Project Server does all this and integrates cleanly with Sharepoint....

You have not answered my other question, however. Are you looking to create a set of templates, or sharepoint web parts. The way you build them is very different.

I suggest you get the book (sorry Wrox) "Microsoft SharePoint Building Office 2003 Solutions" by Scot P. Hillier. The book is published by APress and has a US ISBN of 1-59059-338-3.





Hal Levy
I am here to help you, not do it for you.
That is, unless you hire me. I am looking for work.
Reply With Quote
  #5 (permalink)  
Old May 11th, 2005, 02:31 AM
Registered User
 
Join Date: May 2005
Location: Pune, Maharashtra, India.
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

how to pass credentils to the SharePoint site through the .net code so that the user can view the home page directly

Regards,
Sudhir Tibrewal
Reply With Quote
  #6 (permalink)  
Old May 11th, 2005, 05:31 AM
Friend of Wrox
Points: 3,489, Level: 24
Points: 3,489, Level: 24 Points: 3,489, Level: 24 Points: 3,489, Level: 24
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Central, NJ, USA.
Posts: 1,102
Thanks: 0
Thanked 2 Times in 2 Posts
Default

You can't. Sharepoint handles it's own security using Challenge/Response and the headers. You can't pass it.

Hal Levy
I am here to help you, not do it for you.
That is, unless you hire me. I am looking for work.
Reply With Quote
  #7 (permalink)  
Old May 11th, 2005, 11:27 PM
Registered User
 
Join Date: May 2005
Location: Pune, Maharashtra, India.
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I think there is a way like
http://username:password@URL.

But it seems that for some IE it runs and for some it won't.

Regards,
Sudhir Tibrewal
Reply With Quote
  #8 (permalink)  
Old May 12th, 2005, 07:40 AM
Friend of Wrox
Points: 3,489, Level: 24
Points: 3,489, Level: 24 Points: 3,489, Level: 24 Points: 3,489, Level: 24
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Central, NJ, USA.
Posts: 1,102
Thanks: 0
Thanked 2 Times in 2 Posts
Default

First, IE has not supported this UN:PW combination for quite some time-- it was a security problem. The only times it works anymore is if someone has not yet updated the correct service packs/hot fixes.

Second, if he just had domain authentication on-- it will automatically log users in based on their domain logins and the user they are logged into the PC for.

Hal Levy
I am here to help you, not do it for you.
That is, unless you hire me. I am looking for work.
Reply With Quote
  #9 (permalink)  
Old May 12th, 2005, 08:48 AM
Registered User
 
Join Date: May 2005
Location: Pune, Maharashtra, India.
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

A article found which says that by SSO (Single Sign On) we do not need to pass the credential again. As SharePoint doesn’t provide forms based authentication, user have to provide credentials again. To solve the problem ISAPI Extension have to be written on top of SharePoint ISAPI filter and we require '3rd party single sign on solution', e.g. SiteMinder (pls find the article at http://www.theserverside.net/article...mplementingSSO).

I hope this links explain a lot but does not know how to implement. If anyone knows, then pls help me.

Thanx in advance.


Regards,
Sudhir Tibrewal
Reply With Quote
  #10 (permalink)  
Old May 12th, 2005, 09:51 AM
Friend of Wrox
Points: 3,489, Level: 24
Points: 3,489, Level: 24 Points: 3,489, Level: 24 Points: 3,489, Level: 24
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Central, NJ, USA.
Posts: 1,102
Thanks: 0
Thanked 2 Times in 2 Posts
Default

The point is Sharepoint is the home page.. you login to sharepoint and then sharepoint can do SSO everywhere else for you.

Perhaps, if you told us what your actualy business challenge is, we would be better positioned to help you with the design of the solution?

You have still never answered the questions I posed for your earlier item...

Hal Levy
I am here to help you, not do it for you.
That is, unless you hire me. I am looking for work.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a new page in sharepoint sea_aiko SharePoint Development 0 April 5th, 2008 06:42 PM
Display web cam in web pages peace2007 ASP.NET 2.0 Basics 1 September 17th, 2007 01:07 PM
scrollingbar property of web part in sharepoint mahesh_sharepoint VB.NET 2002/2003 Basics 0 March 30th, 2007 05:05 AM
Sharepoint Web Part evidica C# 1 July 22nd, 2006 03:48 AM
Web pages constructing: I-mode(mobile) pages karib Dreamweaver (all versions) 3 June 6th, 2004 09:48 AM



All times are GMT -4. The time now is 09:48 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.