Creating a WCF and adding to the Web project.

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
9/13/2009 12:44:07 AM
Gravatar
Total Posts 17

Creating a WCF and adding to the Web project.

I need to expose some methods via a WCF. I created my project outside the web project and added the files post build event.

I used the existing hostfactory class in my web service, but I can't get it to work. I get the no type error.

Do I need to use the web.config in web solution to add teh service?

 

9/13/2009 8:15:50 AM
Gravatar
Total Posts 18439

Re: Creating a WCF and adding to the Web project.

Yes, if your web service requires web.config settings then you would need to copy those to the mojoportal Web.config

9/13/2009 11:56:52 PM
Gravatar
Total Posts 17

Re: Creating a WCF and adding to the Web project.

I was wondering if I could get away with a hostfactory. I don't think we need to use the web.config. But I can be wrong, I will try again.

You must sign in to post in the forums. This thread is closed to new posts.