Need sample code to use wcf in real time asp.net application.

Posted by Prabu_Spark under WCF on 5/8/2013 | Points: 10 | Views : 16639 | Status : [Member] | Replies : 5
Hi sir,
I need sample code to use wcf concept in real time asp.net application. I heard about duplex communication
between web application and wcf in real time. Can u give me the example to understand clearly. I developed
simple application like inserting and selecting the records from the database. I dont know how to use in
real time projects. Kindly give me the sample code to use wcf in real time asp.net projects.

With regards,
J.Prabu.
[Email:prbspark@gmail.com]



Responses

Posted by: aswinialuri-19361 on: 5/8/2013 [Member] Starter | Points: 25

Up
0
Down
hi prabhu,

I thought after seeing this link you can understand inserting deleteing etc... in wcf
first of all you have to learn about basics of wcf after that you will understand
basics Means -bindings, contracts,hosting etc.....after that you can esaily understand
http://www.c-sharpcorner.com/uploadfile/rohatash/insert-update-and-delete-data-in-gridview-using-wcf-service/
if you have any doubts regarding this send me a query.
Thanks&Regards
Mark as Answer if it helps you
aswinialuri@gmail.com


Mark as Answer if it helps you
Thanks&Regards
Aswini Aluri

Prabu_Spark, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ranjeet_8 on: 5/8/2013 [Member] [MVP] Gold | Points: 25

Up
0
Down
Hi,
Please go though this url
http://nareshkamuni.blogspot.in/2012/04/inserting-and-retrieving-data-from.html
http://www.codeproject.com/Tips/468354/WCF-example-for-inserting-and-displaying-data-from

Please Mark As Answer if this helps you.

.

Prabu_Spark, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: KASANI007 on: 6/5/2014 [Member] Starter | Points: 25

Up
0
Down
what is the use of using wcf service for insertion,deletion,updation in real time projects ?please Explain ?

Prabu_Spark, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sriramvvs on: 1/12/2015 [Member] Starter | Points: 25

Up
0
Down
First of all every one tell me what is WCF ? where it was used and give some real time example ?


Prabu_Spark, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sriramvvs on: 1/12/2015 [Member] Starter | Points: 25

Up
0
Down
Lets say you have one database for your application and it has Products table.
Products table contains its ID, barcode, price, qty, reorder qty and other product details

You have two different applications one is web application and one is back office. Web application displays your product details on web site and sell it to end cusotmer.

Backoffice used to manage inventory like adding qty, adding new products, updating products, update selling price, discount

IF you add those functionality in wcf services both application can talk to service and gather required data or do the database operation.

Now you want to introduce affiliate marketing kind of tool for third party website to display your products on their website and increase your revenue. You can not give database access to those third party website instead you will expose endpoints for them using it they will get real time product details.

You can start your wcf learning from
http://dotnetmentors.com/how-to-start-with-creating-wcf-services-and-test-using-wcftestclient.aspx

Sriram.

Prabu_Spark, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response