0

I am in the process of developing a project that will require communication both ways between a ASP.NET website and a C# Application.

For example if I wanted to click a button on an ASP.NET webpage to retrieve the status of something.

How could I implement this communication between them?

Please note I have never used ASP.NET before, hence my question.

5
  • 2
    Need more clarity on 'from where you intend to get the status'. From the description, it looks like you need a webservice. Commented Nov 14, 2013 at 11:59
  • SignalR. Basically built for this. Commented Nov 14, 2013 at 12:00
  • please specify type of c#appliction i.e class library,console application,windows form application,web service etc Commented Nov 14, 2013 at 12:01
  • I suggest u to read tutorials of asp.net ... Commented Nov 14, 2013 at 12:23
  • I think I found what I was looking for: codeproject.com/Articles/406096/… Commented Nov 14, 2013 at 12:29

5 Answers 5

1

You can use same database in both website and application. If you want to transfer something from application to website, like a file, then you will need a web service or WCF service. But your wish seems like a shared database by website and application.

Sign up to request clarification or add additional context in comments.

Comments

1

I think You should go through this link.....it has all the basics of asp.net and c# in very easy manner compared to all the other websites.... http://www.w3schools.com/

Comments

0

You could make the C# application write data somewhere and have ASP.NET read it there. Either to a database (which makes the most sense), or to some file, like an XML or JSON.

Comments

0

Storing communication on a database seems like an easy way to do it.

You could use a webservice, but that would need to be hosted by the website. The application could still poll this to write and read when needed though.

Comments

0

I think I found what I was looking for:

A Beginner's Tutorial for Understanding Windows Communication Foundation (WCF) http://www.codeproject.com/Articles/406096/A-beginners-tutorial-for-understanding-Windows

1 Comment

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.