Carlos Femmer's Blog

Carlos Femmer lives in Lafayette, LA and builds a few solutions for JCLS and Agency Virtual Tours

Ajax (ASP.NET) Roadmap Published

July 4, 2008 18:00 by carlos

The ASP.NET team recently released the ASP.NET Roadmap document on the codeplex site.  I love their goal of making ASP.NET Ajax the first-class choice for all Web 2.o developers ( Show us the love!!!).  They are planning on enhancing the DOM API's and planning to enable great mobile Ajax applications. 

Some of the other goals are to make client-centric Ajax development and UI experiences easy by providing or enhancing the following:

  • Client Data and UI Templates
  • Client Data Sources
  • Client Data and Server Data
  • Accessibility
  • Animation
  • Drag and Drop
  • Client-side Controls and Behavior
  • Interoperability

They also plan on providing great tools experiences for AJax development:

  • Reduced update lag for Javascript Intellisense
  • Javascript Intellisense support for a broader range of coding styles
  • Recognizing XML Metadata Comments in the Active Document
  • Recognizing OpenAjax-compliant Metadata Files
  • JavaScript Navigation Tools
  • JavaScript Build Tools
  • etc...

Looking forward to these new enhancements.  You can download the document here.


Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:
Categories: ASP.NET
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed

Microsoft announces Live Mesh

May 30, 2008 06:13 by carlos

I attended the Mix conference this year and was astounded by some of the new technology Microsoft is coming out with.  It was a good networking opportunity to meet PMs from different groups and get some insight to where Microsoft sees the future of the web.  Silverlight stole the show this year and I heard about a new product "Live Mesh" that was coming out soon.  I took a look at Mesh a couple of weeks ago and at first glance it seems to be a synced storage drive.  After diving into the technology a little more, it became apparent to me how impressive this technology really is.  This is a real platform that contains open web standards like REST, RSS, ATOM, JSON and more.  It is a platform to build Software and Services.  It has the capability to wrap existing web applications and take them offline (i.e. It contains a "Mesh Operation Environment - Tiny HTTP Server" that allows offline functionality).  There is always this pressing concern in the IT world as to which technology to use.  This is an exciting time to be a developer!


Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:
Categories: MESH
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed

Slides / Demos from Building Applications with Silverlight 2

April 1, 2008 05:10 by carlos

Thanks to everyone who attended the Acadiana .NET User Group Presentation.

Slides from the presentation

Source for Financial Demo

Source for Controls Demo

I will have a couple of follow up posts to answer some of the questions that came up during the meeting.  Also, I will post the full source for the Deep Zoom demo in a couple of days. 

 


Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags: ,
Categories: C# | Silverlight
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed

SQL Server 2008 Spatial Overview Part 1

March 24, 2008 19:15 by carlos

Here is part 1 of a multi part series describing the new spatial functionality in SQL Server 2008.  I am pretty pumped about Microsoft finally storing geometry in SQL Server.  Better late than never.  Anyway, I think this is a pretty exciting time to be working on Web / GIS applications.  There must be something unique about this space or Microsoft / Google / Yahoo /etc... would not be investing heavily in these areas.  Look at the popularity of Google Earth and more recently Virtual Earth.  Look at the explosion of mash ups where people are building applications from different sources and aggregating this information together.  Businesses need a mechanism to view their IP data in a graphical way.  There is still a need to use one of the big GIS companies (e.g. ESRI / Autodesk) but what about the small companies that don't need all the functionality and want to show a small amount of data.  I think this is where SQL Server 2008 and Virtual Earth come into play.  The nice thing is this is scalable and not limited to the small firms.  Big companies will find a cost benefit of displaying their data with SQL Server 2008 and Virtual Earth.  I am interested to see where Microsoft takes this technology over the next few years. 

SQL Server 2008 has two new data types so support spatial data (Geometry and Geography).  Geography is used to store geodetic data / ellipsoidal (Globe) and Geometry is used to support projected data / planar or Euclidean (Flat earth).  One thing to keep in mind if you are working with Virtual Earth in 2D.  Virtual Earth uses a Mercator projection to get from 3D to 2D.  The problem with this in Virtual Earth is your data is only good between 84 Degrees North and South.  I don't anticipate running into this problem (In VE) so I won't harp on it any longer.      

To get a better understanding of Geodesy, Projections and coordinate systems, click on the names of each.  

Geodetic Model

3DWorldGeodesy1

Projected Model

MercatorProjection1


Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Getting Started with SQL Server 2008

March 24, 2008 16:25 by carlos

Here is a quick and dirty tutorial to get your hands wet with the spatial features in SQL Server 2008.  There is an assumption that you have installed the SQL Server 2008 February 2008 CTP.

First - Download a sample database to play with.  You can download the sample database from here.

Second - Extract the two files somewhere on your hard drive.

Third - Attach the mdf to Sql Server 2008.

sql2008AttachDB  sql2008PickMDF  sql2008SpatialDB

Fourth - Right click on the feature (uscounties) and select "Select Top 1000 Rows".

sql2008ExecuteQuery

Fifth - Download the following tool from Morten's Blog to view the data (Download).  This is a very cool utility (Thanks Morten!)

There are 4 steps to follow.  Click on the image to increase the image size.

Sql2008SpatialQueryVisualizer

Cheers,

Carlos


Currently rated 3.7 by 3 people

  • Currently 3.666667/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:
Categories: GIS | Sql Server 2008
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed

Presenting at the Acadiana .NET User Group

March 24, 2008 15:37 by carlos

I will be giving a presentation this Thursday (March 27, 2008) in Lafayette, LA.  Hope to see you there!  Details follow below:

Flyer for event

Topic

Building Business Applications with Silverlight 2:

- A brief introduction to Silverlight 2
- RIA and Silverlight 2

- Silverlight 2 Controls
- Communication and Services

- Deep Dive with Deep Zoom
- Your questions

Cheers,

Carlos


Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

What is ADO.NET Data Services in plain English

March 18, 2008 09:57 by carlos

I am trying to get my head around the concept of ADO.NET Data Services.  Why is there a need for such a component and what was wrong with web services.  I did a search and found this interesting explanation by Mike Flasko.  Here is his explanation (Easy for me to understand!!!).

In general the goals of ADO.NET Data Services are to create a simple REST-based framework for exposing data centric services.  We built the framework in part from analysis of traditional websites and then looked at how architectures were changing with the move to AJAX and RIA based applications.  One key observation the team had was that in traditional approaches to web development the information exchanged between a client (ex. a webbrowser) and the mid tier was a combination of presentation + behavior + data (ex. HTML file with javascript and inline HTML tables of data) and that the core interactions to retrieve raw data was between the mid-tier and backend store (ex. SQL server or other).  When we looked at RIA, AJAX, smart client, etc applications it became apparent that these architectures pushed much more "smarts" to the client tier where the client first retrieves the presentation + behavior information (as a DLL in the case of a Silverlight application) and then as the user interacts with the client application, the app turns back (ex. background async call) to the mid-tier to retrieve the data needed to drive the user experience.  This is nothing new (separation of presentation + behavior from data), but its interesting to note it now not only a best practice but mandated in the architectures of today’s web and RIA apps. From this we looked at how such clients could consume data from the mid-tier today and how could we help improve the experience for the developer.  A few areas came up:

1)Creating and maintaining rich data oriented services with current approaches requires a significant developer investment

2) Building generation purpose client libs/tools with current approaches to data centric services is hard

For #1, imagine you wanted to expose the data in your CRM database to you client tier application.  Further assume you want to enable typical application scenarios like retrieving sorted views of the data, paging over the data, filtering, etc.  To expose this data as a set of callable remote methods (using current approaches to developing web services) you would need to write a large number of methods to expose each of the entities in your CRM DB (customers, orders, etc) and then add additional methods for each to retrieve entities by key, sort them, page over them, etc etc.  ADO.NET Data Services, addresses this issue by allowing you to declaratively state the contract of such a data centric service, by telling us the schema of the data and having the data services technology automatically create the required remote endpoints, enabling paging, sorting, etc with no code from the developer.  Then as you change your data model, your service endpoints also change.

For #2 above, an interesting artifact of a REST-based approach to web services is that it promotes creating a uniform interface.  That is, how you address items in an ADO.NET Data Service (i.e. how to construct URIs), how to interact with data (using HTTP verbs), etc is the same across any ADO.NET Data Service, regardless of the data it exposes.  This uniform interface enables code reuse against your web services such that one can create reusable client libraries and UI widgets for all their services.  For example, the ADO.NET Data Service team is doing this by shipping .NET , Silver light, AJAX, etc libraries which can talk to any data service.  In addition, this feature (uniform interface) enables us to add features such as LINQ to ADO.NET Data Services since the translation of LINQ query statements to URIs is stable and well known.

This is already probably a bit too long Smile, but in addition to the items noted above, additional advantages of REST-based approaches also apply such as rich integration with HTTP such that you can leverage existing HTTP infrastructure (ex. HTTP Proxies) deployed at large ... 

I hope that helps....

-Mike


Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

How to enable datagrid in Expression Blend - Silverlight 2

March 17, 2008 18:12 by carlos

Where is the datagrid??? 

Here are the steps to enable the datagrid in Expression Blend. 

If you expand the asset library you will find the datagrid missing.  To get the datagrid in your asset library, follow the steps below:

 

1) Right click on References and click Add Reference.

2) Browse to Silverlight SDK folder (c:\program files\microsoft sdks\Silverlight\v2.0\Libraries\Client) and select System.Windows.Controls.Data.dll (see image below).

3) Browse Asset library by selecting the arrow keys on the left toolbar.  You will now see the datagrid listed in the controls.  Odd way of adding it but I could not find any other way.  It works fine when building a solution.

 

Cheers,

Carlos


Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Registry Setting Change for ESRI License (Network / Single)

March 14, 2008 13:24 by carlos

I had a situation recently where I was unable to find my network ArcGIS dvd.  I only had the Single Use DVD which does not have the ability to select a network resource.  I made some registry changes and can now switch between Single an Network (Perfect for the road shows and when needing Info License in the office).

Notice how you are not able to select a network license:

To rectify, First open your registery via the Start -> Run and type in regedit.  This will bring up the registry.

Scroll down to License under the ESRI folder (see image below)

 

You will need to add a new registry string and modify 2 registry values.

1) Add a new registry string value by right clicking on the License Folder then selecting New ->String Value.  Type ArcGIS_Installed then right click on the new ArcGIS_Installed and select Modify.  Type TRUE into the value data text box.

2) Modify the value of LICENSE_SERVER and select your license server name (Don't forget to keep your @ sign in front of your server name -- See image below)

3) Modify the SEAT_PREFERENCE and change from Singel to Float

You can now change between Single and Network via the ArcGIS Desktop Administrator Panel:

 

Cheers,

Carlos


Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:
Categories: ESRI
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed

Scott has taken the wraps off of Silverlight 2.0!!!

February 25, 2008 05:29 by carlos

Scott has recently made public the list of features that will be seen in Silverlight 2.0.  He has a list of tutorials (8 you can view in this one post) instead of looking for them one by one.  He mentions that they are shortly going to release the first public beta of Silverlight 2.  We should see them unwrap the 2.0 package at MIX 08.

 Here are a few new features mentioned:

  • a bevy of built-in controls (2 way databinding controls)
  • Support for WCF 
  • Cross domain support (Very Cool)
  • LINQ to XML support (More AJAX support)

What I find most impressive is is the 4MB download.  We are talking about 3-11 seconds to install.  I will be attending MIX and will post about some of the new features that will be made public.

 Here is a snapshot of the hierachical structure of the controls in Silverlight 2.

  • FrameworkElement
    • Control
      • Calendar
      • ContentControl
        • ButtonBase
          • Button
            • HyperlinkButton
          • RepeatButton
          • ToggleButton
            • CheckBox
            • RadioButton
        • ScrollViewer
        • ToolTip
        • UserControl 
      • DataGrid
      • DatePicker
      • GridSplitter
      • ListBox
      • ScrollBar
      • Slider
      • TextBox
        • WatermarkedTextBox 
    • Decorator (?) 
      • Border
    • Glyphs
    • MediaBase
      • Image
        • BitmapImage
        • MultiScaleImage
      • MediaElement
    • Panel
      • Canvas
        • InkCanvas
      • Grid
      • StackPanel
    • Shape
      • Ellipse
      • Line
      • Path
      • Polygon
      • Polyline
      • Rectangle
    • TextBlock

  • Be the first to rate this post

    • Currently 0/5 Stars.
    • 1
    • 2
    • 3
    • 4
    • 5
    Tags:
    Categories: Silverlight
    Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed