SharePoint - ASP.Net Controls Integration

。_饼干妹妹 提交于 2020-01-03 06:03:00

问题


I have basically two separate sites, a SharePoint collaboration site, and an ASP.Net application site. The only linkage between the two are the hyperlinks going back and forth, and the user validation on the behalf of the SharePoint site. The user will enter and be authenticated through the SharePoint site and then may browse to the ASP.Net application.

What is the best way to integrate the two sites together? Is there an easy way to give the users a seamless experience while maintaining two sites?

UPDATE: I followed all of your advice and settled on going with Chris' answer.

Andrew Connel actually deploys the .aspx code behind pages as a SharePoint feature.

He sets out how to do this on his site here.


回答1:


Can the Asp.net application live within a web part on the sharepoint site?




回答2:


You can use the ASP.NET Membership Provider on a SharePoint site. That is probably you're best option if you're not able to go with Windows Authentication.

There's a good article by Andrew Connell on how to set up the Membership Provider for SharePoint. It is MOSS-described but the practices can be ported to WSS.

http://www.andrewconnell.com/blog/articles/HowToConfigPublishingSiteWithDualAuthProvidersAndAnonAccess.aspx




回答3:


Minimal

You can create a managed path to allow your asp.net application to be hosted within a virtual directory on the sharepoint path (e.g. http://intranet/aspnetsite)

you could also create a custom control for the asp.net site that would read the top navigation from Sharepoint and display it for the asp.net site. The look & feel, css would have to be applied custom for both.

Full integration

Otherwise you could convert the asp.net application to a series of webcontrols and host them within sharePoint directly as either controls on layoutpages or controls hosted by custom webparts.




回答4:


On our side, we completly changed the master page of the SharePoint site and rebranded the whole thing. The application totally behave like a normal ASP.NET application except for the "directories" or folders where users can create pages.

This allows us to have different sections where users edit and create pages directly in SharePoint while others are application pages.

So, you can put any of your pages anywhere within SharePoint. SharePoint Designer helps you do a lot of those things.

Cheers,



来源:https://stackoverflow.com/questions/231920/sharepoint-asp-net-controls-integration

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!