Websites Functionality Reuse By Desktop Application

Nov 10, 2010

We are implementing some business functionality that it exposed through the asp.net web service. At the current stage user interface is required for some peace of it and we are going to implement it inside of already existing desktop application (it is MFC C++ application, but we are considering to integrate some WinForms/Wpf components). In the nearest future we plan to replace current desktop application with a web site version (it will be asp.net web site, or PROBABLY Silverlight application). Therefore, I would like to implement UI once on the web site and just re-use it in some way from desktop application. Am I clear enough? Is there any way to do that? For sure, I can implement web service and use it from desktop application right now and re-use it from web application when it will be required... But I hope there is a better way to do that.

View 3 Replies


Similar Messages:

Splitting Up EDM To Reuse Functionality Across Multiple Projects?

Jan 30, 2011

I currently have an ASP .NET MVC / EF4 project that contains many pieces of autonomous functionality such as a blogging, events, contests, wiki, etc.

The entities used by each system are all mapped to my database through one giant EDM file.

This works well for the main site, but I also have a few personal sites where I want to reuse just the blogging functionality from the mains ite.

My biggest problem is that due to the mac daddy EDM file, my blog sites have to constantly have their database schemas updated to reflect changes made to areas of functionality that they don't use (i.e. changes to the events system).

The only other gotcha is that there are some entities (Users and Tags) that have relationships with entities from each area of functionality, making it hard to simply split each area of functionality off into its own EDM.

With all of this said, I'm trying to figure out the most efficient way to set this up.

Should I go down the road of splitting up the EDMs by each area (blogs, events, contests, wiki) and figuring out a way to maintain relationships for the User and Tag entities?

Or should I just perhaps be creating an EDM for each website that only maps the entities that it will actually need? The only problem with this is that my repository layer takes in a UnitOfWork/ObjectContext, and by creating new ObjectContexts for each site I'd have problems reusing my repository code.

View 1 Replies

Visual Studio :: Mobile Vs Desktop Asp Websites?

Mar 8, 2011

If you have a website with alternate versions of your webpages, one set for say windows mobile, and another set for a desktop user. I have setup a small website with a logon page that is so basic that it would be serviceable for mobile and desktop screens, the remainder of the pages would require mobile and desktop versions. Long story short, I suppose I need to way to modify the login page that can detect the type of client and browse to mobile or desktop page accordingly. What is the preferred way to doing this? Are there any code samples or tutorials that you can point me towards? One thing I forgot to mention, I am coding in C#.

View 3 Replies

MVC :: Razor Function And Lambda Functions / Write A Function To Reuse Some Functionality?

Mar 8, 2011

I would like to write a function to reuse some functionality that I repeat over and over...

For example:

[code]....

What's changing, in every field, is only the lambda function to get the current field to edit (Name, City, Address, etc...).

What is the best method? Or better: is there ANY method to extract a generic function?

View 18 Replies

MVC :: Reuse Certain Data Across Application?

Nov 16, 2010

Using a SQL Server back end, I have a Company Name field that I want to reuse in different views of my application. I do not want to use it only in the Master layout but within the "view space". Is there another way to access this data without using a ".include" for that table in all of my methods? Is there a way to add dynamic data in the Shared folder that can be called up anytime? If it is in the Master page can I pull the variable into the specific "view space"?

View 5 Replies

C# - Possible To Deploy Application As Desktop Application (with Server Component)

Jul 7, 2010

Question: I created an ASP.NET web application. Now it originally was meant for deployment on a webserver.
That is working, so, so far so good. My question now is: Is it possible to deploy it as a desktop-application, too? That is to say the installer installs some kind of server, plus the web application, configures the server to run this application on a localhost URL, and then creates a link in the start menu/desktop, where it opens that url (website, the application) on localhost in a web browser?

I think it should be possible, though the server wouldn't be IIS, because this is a windows component which can't be separately installed. Is there anything like this already out there? The nonplusultra would be that it only starts the server when you click on the shortcut.

View 4 Replies

C# - How To Invoke An Executable Desktop Application From Within An Application

Feb 18, 2011

I have finished developing an executable desktop application to generate a fractal image based on the passed-in arguments. The output type is JPEG.Now I am developing a site under ASP.NET MVC 3. I want to use the executable from within my site.

Is it possible to use it as is without converting it to a class library and recompiling?

View 3 Replies

Use System.Web In Desktop Application

Jul 12, 2010

I just added System.Web reference to a dll assembly, the assembly is for windows applications and for web applications. IF the assembly will be deployed on a server, System.Web will be shared using GAC, and there is no overhead. But what about windows clients. I am wondering if there are extra resources or any kind of problems when System.Web is loaded into memory?

View 1 Replies

C# - How To Get Web Application To Communicate With Desktop Application

Aug 3, 2010

I have developed a Web and windows application, both in C#.NET. Now, what I would like to do is when a button is clicked on a particular page in the web application, a signal has to be sent to the windows app saying a link has been clicked. How could I do this really easily? I would like to stay away from socket programming...

I thought of the web app storing cookies and the desktop application monitoring the cookies folder but that seems a bit clumsy.

View 6 Replies

How To Embed A Database In A Desktop Application

Sep 8, 2010

I'm going to develop a desktop tool that will require a database.

How would I go about doing it in a way that will allow me to post the code to a website so that all of the desktop applications see a new version and download the database.

View 2 Replies

VS 2008 Web Service Or Own Desktop Application?

Sep 27, 2010

I am developing one Intranet Que type project for a small Travel agency. I need one logic to route the customer que over all sales agent so anyone once free he will be buzzup to pickup the customer till here is Okay. But i need some timeout if no sales agent pickup the Que it will forward to the supervisor. Now here is my Question should i make a small desktop application and run in server to moinitor the time and forward the task.... or Is Web Service is suitable for this? (Forward means just it will update one field of table so it will start displaying in Supervisor screen.)

View 1 Replies

Make Desktop Application Web Interfaceable?

Jun 17, 2010

Is there a way to make a desktop application easily interfaceable via Web ? Meaning, can you have a way to interface with a single desktop application as if you were remote desktop'd into the machine but not? I am looking at doing this in ASP.NET or Silverlight.

View 2 Replies

How To Create A Desktop Sharing Application

Feb 2, 2011

how can we create a desktop sharing application in asp.net? can we use silverlight for this?

or any third party tool that we can use?

View 3 Replies

C# - Synchronizing Database In Web And Desktop Application?

Jun 6, 2010

I am trying to develop a web application(Using ASP.NET and c#) that uses a specific database hosted on web server. I will have another desktop application that will use a local database. Both databases have same structure and data at start up. Then databases will change when users add data to web application and an employee adds data to the desktop application. After a while I have to sync both databases.

What will be best way to do this? Is there any opensource example/ starter kit to start with?

View 3 Replies

Is It Possible To Connect To A Remote Desktop From Application

Dec 3, 2010

Is it possible to connect to a Remote Desktop from my ASP.net application,If so can you guide me through it.

View 1 Replies

C# - Render ASP Controls In Desktop Application?

Feb 16, 2010

Is it possible to take a page object, or maybe just a single ASP.NET control, and render it in a desktop application in some way? For example, Visual Studio, being a desktop application renders ASP.NET controls in the design surface. I want to do something similar.

Edit:

I am brainstorming on how to make a very simple designer for a very simple data entry application. I would have some custom ASP.NET data entry controls, and I want lay users to be able to see what the page might look like as close as possible. So I would want a panel in the application to show the rendered collection of controls, but the panel does not need to be interactive in any way. I.e. no click and drag or resizing of controls, etc. There will be standard windows form controls that the form author interacts with for defining the layout of the page.

I will simply save a list of the controls they added with some other information the "designer"(who are non-technical experts) provides, and I will use that information to later create the actual aspx page, either through a manual or automated process, TBD.

View 4 Replies

Web Forms :: Invoke Desktop Application From URL?

Mar 9, 2010

Is it possible to invoke/execute a particular desktop application why entering an URL in the browser. i.e, when a specific request is executed on the browser, our desktop application should be invoked.

View 2 Replies

Security :: Membership And A Desktop Application?

Feb 19, 2010

I have an MVC application which uses the Membership services.I am importing a user list from another application that doesn't have any sort of Membership use, so I'm just using a csv file for the import, and writing a standalone C# app to do it. How do I get the standalone app to use the MVC application's database? The code works, in that calls to Membership.CreateUser are returning, but I'm not seeing the users appear in the correct database. So if the database is on my local machine and called "FooBar" how do I tell the Provider to use that instead of whatever default it's using?

View 5 Replies

Send Popup In Desktop Application From Web Page

Jul 31, 2010

I have a web application and on that application i update a sql database what i want is that when i update the database from the web application a notification will be sent to any one openening my application or a pop up appears to them on their desktop informing them that the database is updated to check all this will be in an intranet. I'm using ASP.Net and I'm the admin for all the PCs in the network and the server.

View 2 Replies

Web Forms :: Asp Application Running On Server Or Desktop?

Jul 16, 2010

is there any way i can make use of windows programming in my asp.net based application and i can determine if my application is running on server or desktop?

View 2 Replies

Install Different Silverlight Application To Desktop Than One That Is Running Currently

Mar 1, 2011

Specifically, I have the main application running in the browser. I would like to offer a link to install a set of tools that provide the user to perform a subset of the functionality provided in the main application. I'd like to have a link that says, "Install Tools," and this would in turn kick off the Out Of Browser installation of the tools, not the main application.

View 1 Replies

How To Get Webpage To Return Value To Desktop Application Caller

Sep 18, 2010

I need to make an autoupdater for my application. This has been done, and it is working perfectly. However, my application currently downloads version.txt, and reads it to work out whether it needs to download the new application. This is hideous, and slow, and was only supposed to be very temporary. It is also very annoying that we have to update this file every time we release a new version.

My boss wants me to create a webpage that reads the version data from the uploaded .exe, and then returns that to the Desktop application. Therefore, I would be able to call www.example.com/version.aspx, and it would return the version number, such as 1.1. I could then compare to the current version (don't worry, it is generated on the fly, and not hard coded) and then I could download the application if required.

Here comes my question. How would I go about this? I have heard of CGI scripts, and asp.net. Which one of these has the power to solve my problem. If you could just tell me that, then I will be all sorted, as I could read up on it, learn, and broaden my knowledge.

If this is not possible, or not easily possible, is there any way of reading the file version of a remote .exe, without downloading it. This would also be preferable in many ways.

P.S. I did try to explain this to my boss, and suggested that maybe he could either do it, but he is not very good at web applications, and refused, saying that it would broaden my education in this matter.

EDIT: Somehow forgot to add: I normally program in C#, although this application should be so small, that it would not really matter. Also, C# code would be ideal, if there is a way to check the version of a file on a remote server.

View 1 Replies

DataSource Controls :: LINQ To SQL For Web Or Desktop Application (WCF)

Apr 1, 2010

is it good for desktop application (WCF) or web application.I am little confuse about LINQ functionalities i have read some articles which are discourage LINQ (due to poor performance) for web applica

View 3 Replies

C# - Best Practices For Exchanging Data Between Desktop And Web Application

Apr 8, 2010

I have to pass information from a desktop application to Web application and vice versa. What are the best practices that are regularly used? Currrently I'm using Asp.Net and a Winforms. To pass data to Web Site im creating a (POST) WebRequest and posting an xml to the siteTo pass data to Application im using .Net Remoting from Asp.ne(I'm using Winforms is an adminstration and monitoring application.)

View 4 Replies

Architecture :: Local Website Or Desktop Application?

Aug 5, 2010

I want to create a suite of three products. One is a website, so that is set in stone. Another is a mobile application, so that will be written as an application (for whatever devices). The third product is something that the user can use locally on their machine. However, I'm not sure if I want to make it a desktop application or a local website. With a desktop application, if I make a significant change to my business rules, I have to make it in three places (assuming the dll change needs a GUI change). However, if I make it a local website, then almost everything would be the same as the regular website. Desktop applications seem to provide more controls that are easier to use though. And since I'm taking this project on alone (right now) easy sounds best. But I don't want to sacrifice easy now for easy later.

The website I want to write will be using MVC architecture. I'm not even sure how to deploy a website yet either to a server or to a local machine. The only thing I've done was set up a local website before for a website that was already created in house by my co-workers. And that was solely ASP.Net, no MVC architecture.

My questions are:What do you guys think would be best in the long run; a local website that mimics the regular website or a desktop application?

Is there a way to create an install package to install a website so the user doesn't have to tinker with their computer at all?

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved