[2.0] webApplication and windowsApplication
hi there..
right now, i got a web application written in asp.net using c# behind page.
i also write a windows application written using c#.
the problem is : is it possible to combine the two of them ? (the web and the windows application together in one project )
Actually, i just need to get data from the windows application to be used in my web.
thx..
i'm using vs 2005. and 2.0 net framework
Re: [2.0] webApplication and windowsApplication
You can store the data in a database, then you can read from both windowsApp and WebApp
Re: [2.0] webApplication and windowsApplication
erm..
actually, the windows application retrieve data from database and modify the data. After it is modified, i need to display it in the web application.
Supposed that making another new table to store modified data is not an option here, is there other any way to do this ?
is it possible for windows application to store the data in session variables , so that web application can read it?
thx for da reply : :)
Re: [2.0] webApplication and windowsApplication
This all sounds rather odd. Why would someone be running a Windows app and a Web app that access the same data at the same time? Why wouldn't you just be using one or the other?
You cannot have two applications in one project. Each project is compiled to a single assembly and each assembly is either an application or a library. You can have more than one project in a single solution, but solutions are only a loose association of projects to afford some conveniences. It doesn't really bind the projects together.
Re: [2.0] webApplication and windowsApplication
I think you should sort out which user model you are going to implement before implementing it.
Re: [2.0] webApplication and windowsApplication
it's just because i already got a system written in a web application, and now i want to combine it with the windows application that i've just created. If the data between Web and Windows applications is not interchangeable, maybe the option available here is only rewrite my Windows application in the form of Web application.
am i right ?
is there any other option ? (besides creating a new table inside my Database to store the data temporarely)
Re: [2.0] webApplication and windowsApplication
Well, you shouldn't be running a WinForms app to facilitate a WebForms one. If your code is already written you can salvage it and chuck it into a Web app. Or if you can't be bothered doing that you could reference your Winforms app as a library. That's not as neat as having it all in the one project though.
Re: [2.0] webApplication and windowsApplication
Quote:
Originally Posted by ini_hendry
it's just because i already got a system written in a web application, and now i want to combine it with the windows application that i've just created. If the data between Web and Windows applications is not interchangeable, maybe the option available here is only rewrite my Windows application in the form of Web application.
am i right ?
is there any other option ? (besides creating a new table inside my Database to store the data temporarely)
Yeah you should do the editing of data in your web apps to make it neat rather than creating a windows apps.
Just my 2 cents.