MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Converting my Windows app. to ASP

This is a discussion on Converting my Windows app. to ASP within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi, My Windows application has MapPoint ActivreX tightly integrated to perform address lookups, travel times and distances, and to provide ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-12-2005
Senior Member
Green Belt
 
Join Date: Jul 2005
Posts: 105
Converting my Windows app. to ASP

Hi,

My Windows application has MapPoint ActivreX tightly integrated to perform address lookups, travel times and distances, and to provide a map to the user, with the user's current information displayed. But I need to quickly develop an ASP version of my prorgram, and wonder if I will need to abandon MapPoint to make the tranisition.

The MapPoint webservice is not an option for me, due to the high cost per lookup. I operate in a very low margin business and do a lot of lookups, so even 1.6 cents per lookup breaks my cost model.

I have flexibility about the number of machines I'll be running. So does it make sense to have a dedicated Windows machine which uses the ActiveX control to provide my ASP program with addresss lookups and travel times lookups? That would fit nicely into my cost model since a slow machine can do 5-10 lookups per second. I could start with a slow machine and scale up as needed. Would this violate the license? It would be a single machine, yes, so in that sense would not violate the license. But it may be a violation, like trying to use a VCR to show a movie to a crowded movie theater. That's against the rules, and using a single Windows machine to process (for free) address lookups for a bunch of different location may be also a violation, but I hope to hear other people's opinions.

In addition to the issue of rights, how would I do it technically. I'm new to ASP, and wonder would I connect my ASP app. to the computer running MapPoint? Would I need to make a web service? Could I just map a drive and write the lookup results to a shared file?

And lastly, what about providing mapping via ASP? How might that work?

Thanks,
Bob
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 10-12-2005
Junior Member
Yellow Belt
 
Join Date: Oct 2005
Posts: 13
I think you have to pay one licence of MapPoint for everyone connects to your site.

So if you think your ASP application will be used by 40 different users, you have to pay 40 licences of MapPoint so the MapPoint Web Service could be a cheeper solution.

I created too a personal MapPoint webservice with .NET, the elaboration is performed by a Windows Service (yes I noticed that there are problems of multiple instances of MapPoint with Window Service so you have to use a Simple windows form application communicating with the Web Service for example via sockets).

I think you can have problems of DCOM authorization if you use MapPoint object directly by ASP pages (and maybe you have to check if you can run more then 5 instances of MapPoint at the same time).

You can read my topic about "MAPPOINT doesn't work as Window Service".

Michele
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 10-12-2005
Senior Member
Green Belt
 
Join Date: Jul 2005
Posts: 105
article

Michele,

I'd love to read: "MAPPOINT doesn't work as Window Service", but can't seem to pull it up on the search. How should I search for it?


Bob
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 10-13-2005
calv1ns's Avatar
Member
Green Belt
 
Join Date: Mar 2005
Posts: 91
Hey Bob

One way to find a post by a certain user is to click on their profile then click on "Find All Post by This User"

Good Luck,
__________________
Calv1ns
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 10-13-2005
Junior Member
Yellow Belt
 
Join Date: Sep 2005
Posts: 22
There are some technical issues using maPoint in asp.net. Asp net is initialized in a MTA apartment thread and Mapoint controls live in an STA thread. You can create an STA thread for the mappoint control and use a a container with a hWnd handle for the control. It might be easier to just use your windows forms application and just get requests and send maps out with tcp/ip. Just write a little servlet. Or even use filesystemwatcher and use a hard disk to exchange data.

The big issue with MS is always that EULA restriction about exposing any MapPoint controls to the internet.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 10-14-2005
Senior Member
Green Belt
 
Join Date: Jul 2005
Posts: 105
oxcarz,

There's a lot of information on your reply. Thanks. Very helpful.

But I wanted to ask about this, "The big issue with MS is always that EULA restriction about exposing any MapPoint controls to the internet."

Do you mean icons, like the little red car or the pushpin? What type of controls are you talking about.


Thanks,
Bob
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7 (permalink)  
Old 10-15-2005
Junior Member
Yellow Belt
 
Join Date: Sep 2005
Posts: 22
Hi Bob,

I think the intent of the EULA, besides encouraging you to use the MP webservice, is to prohibit exposing any maps to the internet. Static maps are OK, but "live" maps, routes, etc would be a no-no.

However, an asp.net application that serves maps on your LAN or intranet is fine.....u need a license for each browser that views the maps though.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8 (permalink)  
Old 10-17-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,112
Hi,

There is also something for one thousand copies of the same map. I forgot what it reallly menth. Have to search agin in the agreement if you want.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
app, asp, converting, windows


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
converting lat lon to x y Dazzer MapPoint 2006/2009 Discussion 6 08-14-2008 06:03 AM
Converting XY to Lat Long Anonymous MapPoint 2006/2009 Discussion 1 11-22-2004 03:35 AM
Converting Lat/Long to x,y Pixels Anonymous MapPoint 2006/2009 Discussion 2 09-08-2004 05:24 PM
Converting points to lines Anonymous MapPoint 2006/2009 Discussion 3 04-20-2004 01:45 PM
Converting pushpins to data? Anonymous MapPoint 2006/2009 Discussion 1 01-16-2004 08:33 AM


All times are GMT -5. The time now is 07:13 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54