Calling a Stored Procedure from WCF Service

Hi. I'm trying to execute a Stored procedure from a WCF Service in Azure. Two files are created. IService1.cs and Service1.svc when I originally created the project. Can someone provide an explanation of what these 2 files are for, and more importantly what code should be found in each (with examples). My stored procedure takes in 5 parms and returns 2.

Much appreciated! 

 
March 24th, 2015 1:30pm

Hi,

Thanks for posting here.

We are looking into this and will update you with the suggestions at the earliest.

Stay tuned for details.

Girish Prajwal

Free Windows Admin Tool Kit Click here and download it now
March 24th, 2015 3:46pm

Hello Jeff, 

The IService1.cs file contains a default service contract.The file has the Service and Operation contracts.
Refer https://msdn.microsoft.com/en-us/library/ms731835(v=vs.110).aspx for details.

WCF services hosted in IIS are represented as special content files (.svc files) inside the IIS application. A .svc file contains a WCF-specific processing directive (@ServiceHost) that allows the WCF hosting infrastructure to activate hosted services in response to incoming messages. Please refer https://msdn.microsoft.com/en-us/library/aa751792.aspx for details.

Please refer https://msdn.microsoft.com/en-us/library/ms733766.aspx for a sample code on service hosted by IIS.

Regards,

Kumar Bijayanta

March 24th, 2015 9:56pm

Hello Jeff, 

The IService1.cs file contains a default service contract.The file has the Service and Operation contracts.
Refer https://msdn.microsoft.com/en-us/library/ms731835(v=vs.110).aspx for details.

WCF services hosted in IIS are represented as special content files (.svc files) inside the IIS application. A .svc file contains a WCF-specific processing directive (@ServiceHost) that allows the WCF hosting infrastructure to activate hosted services in response to incoming messages. Please refer https://msdn.microsoft.com/en-us/library/aa751792.aspx for details.

Please refer https://msdn.microsoft.com/en-us/library/ms733766.aspx for a sample code on service hosted by IIS.

Regards,

Kumar Bijayanta

Free Windows Admin Tool Kit Click here and download it now
March 25th, 2015 1:54am

Hello Jeff, 

The IService1.cs file contains a default service contract.The file has the Service and Operation contracts.
Refer https://msdn.microsoft.com/en-us/library/ms731835(v=vs.110).aspx for details.

WCF services hosted in IIS are represented as special content files (.svc files) inside the IIS application. A .svc file contains a WCF-specific processing directive (@ServiceHost) that allows the WCF hosting infrastructure to activate hosted services in response to incoming messages. Please refer https://msdn.microsoft.com/en-us/library/aa751792.aspx for details.

Please refer https://msdn.microsoft.com/en-us/library/ms733766.aspx for a sample code on service hosted by IIS.

Regards,

Kumar Bijayanta

March 25th, 2015 1:54am

Hello Jeff, 

The IService1.cs file contains a default service contract.The file has the Service and Operation contracts.
Refer https://msdn.microsoft.com/en-us/library/ms731835(v=vs.110).aspx for details.

WCF services hosted in IIS are represented as special content files (.svc files) inside the IIS application. A .svc file contains a WCF-specific processing directive (@ServiceHost) that allows the WCF hosting infrastructure to activate hosted services in response to incoming messages. Please refer https://msdn.microsoft.com/en-us/library/aa751792.aspx for details.

Please refer https://msdn.microsoft.com/en-us/library/ms733766.aspx for a sample code on service hosted by IIS.

Regards,

Kumar Bijayanta

Free Windows Admin Tool Kit Click here and download it now
March 25th, 2015 1:54am

Hello Jeff, 

The IService1.cs file contains a default service contract.The file has the Service and Operation contracts.
Refer https://msdn.microsoft.com/en-us/library/ms731835(v=vs.110).aspx for details.

WCF services hosted in IIS are represented as special content files (.svc files) inside the IIS application. A .svc file contains a WCF-specific processing directive (@ServiceHost) that allows the WCF hosting infrastructure to activate hosted services in response to incoming messages. Please refer https://msdn.microsoft.com/en-us/library/aa751792.aspx for details.

Please refer https://msdn.microsoft.com/en-us/library/ms733766.aspx for a sample code on service hosted by IIS.

Regards,

Kumar Bijayanta

March 25th, 2015 1:54am

Hello Jeff, 

The IService1.cs file contains a default service contract.The file has the Service and Operation contracts.
Refer https://msdn.microsoft.com/en-us/library/ms731835(v=vs.110).aspx for details.

WCF services hosted in IIS are represented as special content files (.svc files) inside the IIS application. A .svc file contains a WCF-specific processing directive (@ServiceHost) that allows the WCF hosting infrastructure to activate hosted services in response to incoming messages. Please refer https://msdn.microsoft.com/en-us/library/aa751792.aspx for details.

Please refer https://msdn.microsoft.com/en-us/library/ms733766.aspx for a sample code on service hosted by IIS.

Regards,

Kumar Bijayanta

Free Windows Admin Tool Kit Click here and download it now
March 25th, 2015 1:54am

Hello Jeff, 

The IService1.cs file contains a default service contract.The file has the Service and Operation contracts.
Refer https://msdn.microsoft.com/en-us/library/ms731835(v=vs.110).aspx for details.

WCF services hosted in IIS are represented as special content files (.svc files) inside the IIS application. A .svc file contains a WCF-specific processing directive (@ServiceHost) that allows the WCF hosting infrastructure to activate hosted services in response to incoming messages. Please refer https://msdn.microsoft.com/en-us/library/aa751792.aspx for details.

Please refer https://msdn.microsoft.com/en-us/library/ms733766.aspx for a sample code on service hosted by IIS.

Regards,

Kumar Bijayanta

March 25th, 2015 1:54am

Hello Jeff, 

The IService1.cs file contains a default service contract.The file has the Service and Operation contracts.
Refer https://msdn.microsoft.com/en-us/library/ms731835(v=vs.110).aspx for details.

WCF services hosted in IIS are represented as special content files (.svc files) inside the IIS application. A .svc file contains a WCF-specific processing directive (@ServiceHost) that allows the WCF hosting infrastructure to activate hosted services in response to incoming messages. Please refer https://msdn.microsoft.com/en-us/library/aa751792.aspx for details.

Please refer https://msdn.microsoft.com/en-us/library/ms733766.aspx for a sample code on service hosted by IIS.

Regards,

Kumar Bijayanta

Free Windows Admin Tool Kit Click here and download it now
March 25th, 2015 1:54am

Hello Jeff, 

The IService1.cs file contains a default service contract.The file has the Service and Operation contracts.
Refer https://msdn.microsoft.com/en-us/library/ms731835(v=vs.110).aspx for details.

WCF services hosted in IIS are represented as special content files (.svc files) inside the IIS application. A .svc file contains a WCF-specific processing directive (@ServiceHost) that allows the WCF hosting infrastructure to activate hosted services in response to incoming messages. Please refer https://msdn.microsoft.com/en-us/library/aa751792.aspx for details.

Please refer https://msdn.microsoft.com/en-us/library/ms733766.aspx for a sample code on service hosted by IIS.

Regards,

Kumar Bijayanta

March 25th, 2015 1:54am

Hello Jeff, 

The IService1.cs file contains a default service contract.The file has the Service and Operation contracts.
Refer https://msdn.microsoft.com/en-us/library/ms731835(v=vs.110).aspx for details.

WCF services hosted in IIS are represented as special content files (.svc files) inside the IIS application. A .svc file contains a WCF-specific processing directive (@ServiceHost) that allows the WCF hosting infrastructure to activate hosted services in response to incoming messages. Please refer https://msdn.microsoft.com/en-us/library/aa751792.aspx for details.

Please refer https://msdn.microsoft.com/en-us/library/ms733766.aspx for a sample code on service hosted by IIS.

Regards,

Kumar Bijayanta

Free Windows Admin Tool Kit Click here and download it now
March 25th, 2015 1:54am

Hello Jeff, 

The IService1.cs file contains a default service contract.The file has the Service and Operation contracts.
Refer https://msdn.microsoft.com/en-us/library/ms731835(v=vs.110).aspx for details.

WCF services hosted in IIS are represented as special content files (.svc files) inside the IIS application. A .svc file contains a WCF-specific processing directive (@ServiceHost) that allows the WCF hosting infrastructure to activate hosted services in response to incoming messages. Please refer https://msdn.microsoft.com/en-us/library/aa751792.aspx for details.

Please refer https://msdn.microsoft.com/en-us/library/ms733766.aspx for a sample code on service hosted by IIS.

Regards,

Kumar Bijayanta

March 25th, 2015 1:54am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics