Using ASP.NET Virtual Earth Map control in ASP.NET 3.5

by Euo 16. August 2008 03:45

As I am excited in the new Map control for VS 2008, I immediately created a sample ASP.NET 3.5 application.

How did I do it? well.. 

Fire VS 2008. Select File -> New Website -> ASP.NET Windows Live Web Site

 

 

From the toolbox's Virtual Earth Tab, drag the Map control into page Default.aspx. Run the application. 

 

As easy as that I already have my website embedded with Virtual Earth. 

I then added a simple Shape called Pushpin by adding the code below in the Page Load event of the Default.aspx. 


        var latlong = new LatLongWithAltitude(34.0540, -118.2370);
        var s = new Shape(ShapeType.Pushpin, latlong);
        s.Title = "First hand in ASP.NET Live Controls";
        Map1.AddShape(s);
 

Run the application.

   

Tags:

Development | Virtual Earth | Windows Live

Windows Live Tools for Visual Studio - July 2008 CTP

by Euo 16. August 2008 01:17

Today, I downloaded the July 2008 CTP of Windows Live Tools for Visual Studio 2008.

 

Windows Live™ Tools for Microsoft® Visual Studio® 2008 are a set of control add-ins to make incorporating Windows Live services into your Web application easier with Visual Studio 2008 and Visual Web Developer Express 2008.

 

 There are 6 controls that were included in the CTP release:

  • Contacts Control
  • IDLoginStatus Control
  • IDLoginView Control 
  • MessengerChat Control 
  • SilverlightStreamingMediaPlayer Control
  • Map Control 

Among these controls, what I am excited to experiment with is the Map Control. I'm interested in developing application that uses maps, e.i. Google Maps, Yahoo Maps but I hate javascript so my plan didn't materialize. Thanks to this controls release for ASP.NET I can now start experimenting with these.  

Find the full details of the CTP and Windows Live Tools here.

Tags: , ,

Tool | Windows Live | Virtual Earth

Building snippets for VS 2008

by Euo 10. August 2008 03:18
I found here a great source of building and using code snippets for VS 2008.

Tags:

Code Snippet

Globe Innovation Convention

by Euo 8. August 2008 19:53
I just atttended the 2008 Globe Innovation Convention yesterday. It marks the launching of Globe Telecoms' Globe Labs APIs to the public developers.

Tags:

Uncategorized

disable debug mode, enable remote custom errors, and disable trace in one declaration

by Euo 3. August 2008 01:52

For security purposes, we should not put websites into  production environment with debug mode enabled nor trace enabled. I got this tip from a book published by SAMS. On the production server, add the following element inside the system.web section of the machine.config file:


<deployment retail=“true”/>

Adding this element disables debug mode, enables remote custom errors, and disables tracing on all of the ASP.NET websites on that server. 

Tags:

Development

BlogEngine.Net 1.4.5 released

by Euo 1. August 2008 15:34

Only last month was the latest update to BE.NET and now here is a new update.

 Feature enhancements includes:

  • Filter by APML
  • Database support out-of-the-box
  • File upload improvements
  • HTML editor defaults

 

read the post here or download the update here.

 

Tags:

BlogEngine.NET

calling a pl/sql procedure from sqldeveloper

by Euo 1. August 2008 15:17
I better write it here.

SET SERVEROUTPUT ON
DECLARE
L_COUNT NUMBER(38);
L_COUNTVALUE NUMBER(38);
L_FREE_RECORDS NUMBER(38);
L_TOTAL_RECORDS NUMBER(38);
L_OTHER_USER VARCHAR2(20);
BEGIN
EDGClaims.CountDocs
    ('12345',
     '20',
     'euo',
     L_COUNT,
     L_COUNTVALUE,
     L_FREE_RECORDS,
     L_TOTAL_RECORDS,
     L_OTHER_USER
    );
DBMS_OUTPUT.PUT_LINE('X'||L_OTHER_USER||'X');
END;

Tags: ,

Development

About the author

Something about the author

Month List

Page List