Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I want to use signalr with Sharepoint 2010, but unfortunately this uses .NET 4.0. So I need to make a custom ASP.NET 4.0 webapp and integrate it with Sharepoint. What are my options for this?

I saw a link that listed ways such as application pages etc but can't fidn that now.

Also, assume I build an "asp.net webapp".

Thanks

share|improve this question
add comment

3 Answers 3

up vote 0 down vote accepted

You may find this article useful.

share|improve this answer
    
I actually saw this link just after my question, and it helps immensely. WCF the way to go. –  gss11 May 25 '12 at 20:52
add comment

SharePoint 2010 is asp.net 3.5 and asp.net 4.0 can't run in the same application pool. You might be able to run seperate virtual directories as seperate apppool, but it's a hack and you just risk breaking both SharePoint and your app.

My recommendation would be to keep the 4.0 web app completely seperate from SharePoint. Don't try to integrate it as application pages or anything.

It may run on the same servers, but PLEASE put it as a seperate IIS site.

You can then create web parts or whatever you want to contain the HTML and javascript to talk to that web app and integrate these with SharePoint.

share|improve this answer
add comment

With out knowing the exact nature of what you are trying to do with your "integration" it's hard to give possible solutions. Two possible options that come to mind are:

Use the Javascript Client Object Model. You don't have the power that you do with the standard object model, but you can still create SharePoint applications that can do quite a bit.

Someone has also attempted to create a .net 2.0 compatible client library. You can find that here. I have not used it and cannot speak to how well it works. Good luck!

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.