Written by Scott Watermasysk
Implementation supports all of the Boss API except for spell checking. This includes Image, News, and Web searches. Search results are returned in three formats: Xml, JSON, and an object set.
Here are a couple examples.
Example 1: Search for “Telligent”:
var result = new WebSearch(“BOSS_ID”).Query(“Telligent”).Get();
Example 2: Search for “Telligent” and limit the results to 5 and get the second page of results.
XElement result = new WebSearch(“BOSS_ID”).Query(“Telligent”).Take(5).Skip(5).GetXML();
Example 3: Search for “Telligent” but limit it to it to a couple of sites:
string json = new WebSearch(“Boss_ID”).Query(“Telligent”).Site(“simpable.com”).Site(“telligent.com”).GetJSON();
Example 4: Search for “Telligent” mentions in the news for the last week.
var result = new NewsSearch(“Boss_ID”).Query(“Telligent”).Age(7).Get();
Example 5: Search for “Telligent” images:
var result = new ImageSearch(“Boss_ID”).Query(“Telligent”).Filter(false).Get
What is ASP.NET Dynamic Data?
Fundamentally, Dynamic data is new controls for DetailsView, FormView, GridView, or ListView controls along with a lot of meta-infrastructure classes to make it possible. The design uses convention over configuration in a number of places, and this marks, IMHO, the recognition of a simpler way to do things.
If you can point at one thing in Dynamic Data and say, “that’s it!”, it’d be DynamicControl. it’s a control that takes metadata from your Database model (LINQ to SQL or LINQ to Entities in v1, other POCOs (Plain Old CLR Objects) or ORM’s possibly in v.Next) and selects from a FieldTemplateUserControl.
Dynamic Data introduces a new web control called DynamicControl. It can be used in FormView and ListView controls to provide a UI based on database-level schema. When using GridView and DetailsView, you add a DynamicField, which is a replacement for the BoundField that internally has a DynamicControl. (Thus has all of the features of a DynamicControl.)
This results in your Grids and data entry forms being built around tables and columns of your database with whatever smart data entry controls you like, such as the AJAX Control Toolkit’s MaskedTextBoxExtender on a textbox or your favorite third party controls. The database schema also determines the validators for this column. That avoids errors implementing the right validators or updating them when the database schema is modified. (No more “how do I validate a BoundField?” issues!)
To me, Dynamic Data is a major step forward in developing data entry oriented web applications for ASP.NET.
One of the demo’s that is often shown is Dynamic Data’s “scaffolding” feature. Basically, you point the wizard at a database and “poof” you’ve got a nice DataGrid Admin-like site. However, to dismiss it as a scaffolding tool is just the mistake I made when I first saw it.
How does it work?
- LINQ to Amazon
- LINQ to Active Directory
- LINQ to Bindable Sources (SyncLINQ)
- LINQ over C# project
- LINQ to CRM
- LINQ To Geo – Language Integrated Query for Geospatial Data
- LINQ to Excel
- LINQ to Expressions (MetaLinq)
- LINQ Extender (Toolkit for building LINQ Providers)
- LINQ to Flickr
- LINQ to Google
- LINQ to Indexes (LINQ and i40)
- LINQ to IQueryable (Matt Warren on Providers)
- LINQ to JSON
- LINQ to NHibernate
- LINQ to LDAP
- LINQ to LLBLGen Pro
- LINQ to Lucene
- LINQ to Metaweb(freebase)
- LINQ to MySQL, Oracle and PostgreSql (DbLinq)
- LINQ to NCover
- LINQ to Opf3
- LINQ to Parallel (PLINQ)
- LINQ to RDF Files
- LINQ to Sharepoint
- LINQ to SimpleDB
- LINQ to Streams
- LINQ to WebQueries
- LINQ to WMI
- LINQ to XtraGrid
- A Snippet editor integreated inside of the IDE.
- Access it by opening any .snippet file or going to File -> New -> File -> Code Snippet File
- It uses the native Visual Studio code editor so that you can write the snippets in the same enviorment you write your code.
- It lets you easily mark replacements by a convenient righ click menu.
- It displays properties of the snippet inside the Visual Studio properties window.
- A Snippet Explorer tool window to search snippets on your computer.
- It is located under View -> Other Windows -> Snippet Explorer
- This tool window contains a code preview window which lets to peek inside the snippet to see what it is without opening the file.
- Maintains an index of snippets on your computer for quick searching.
- Provides a quick way to find a code snippet to use, edit or delete
- A right Click “Export as Snippet” menu option added to C#, VB and XML code editor to send highlighted code directly to the Snippet Editor