Can I use WCF services methods in Umbraco? I have few methods that retrieve data from SQL Server db, those methods are exposed through WCF(Windows Communication services).
I think an ASP.NET user control (where WCF service methods are used) can be used in Umbraco.
Please refer any useful resources on this. Just getting started with Umbraco, been ASP.NET developer for 6yrs.
I don't know anyone who has successfully got WCF working in Umbraco. There's been quite a few posts on here about it but no one seems to have made it work.
Good news. WCF services works with Umbraco. This is how we implemented this.
Create a ASP.NET WCF Service and publish it.
Take the service dll(Assembly) and copy into Umbracobin directory.
Developed a user control where the control reads the data from the above WCF Service.
Migrate custom control to Umbraco custom controls folder
Copy WCF service web.config settings and required client settings into Umbraco web.config.
Thats it.
Create a macro for the user control and use it on a page to test it. Works great.
Here one point interesting to note is that Umbraco is acting as WCF service as well as Client i.e., self hosting service.
Objective:-
Object is to migrate the service as a stand alone one to a server and consume it in User control, which is used in Umbraco macro. Above works with no exception. so this must work as expected.
WCF web services support
Environment
Requirements
Can I use WCF services methods in Umbraco? I have few methods that retrieve data from SQL Server db, those methods are exposed through WCF(Windows Communication services).
I think an ASP.NET user control (where WCF service methods are used) can be used in Umbraco.
Please refer any useful resources on this. Just getting started with Umbraco, been ASP.NET developer for 6yrs.
Your help is appreciated.
Thanks,
I don't know anyone who has successfully got WCF working in Umbraco. There's been quite a few posts on here about it but no one seems to have made it work.
Thanks slace.
I think as long as user controls can be used in Umbraco, WCF services should work fine.
To make it clear:-
Let me know
I think .asmx (traditional web services) works fine within Umbraco? I noticed the .asmx file in installed folders.
Your help and insight is appreciated.
Hi Slace
Good news. WCF services works with Umbraco. This is how we implemented this.
Here one point interesting to note is that Umbraco is acting as WCF service as well as Client i.e., self hosting service.
Objective:-
Object is to migrate the service as a stand alone one to a server and consume it in User control, which is used in Umbraco macro. Above works with no exception. so this must work as expected.
is working on a reply...