Apr 27

Salute to Granville Barnett for his third one! Yes, I am talking about the third article about introducing LINQ.
Here is an example:

In Part 2 we took a look at LINQ to SQL, how to generate an entity, and also how to query that entity. In this part we will look a little more at what entities are, as well as taking a closer look at the key types we can use and their application.

view original

Apr 26

This article I found in Digital Web Magazine and gives extensive idea of how everyone should use JavaScript nowadays. Here is a summary of the best practices which are described there:

- Branch when possible
- Make Flags
- Make bridges
- Try Event Delegation
- Include methods with your getElementsByWhatever
- Encapsulate your code
- Reinvent the wheel

view original

Apr 21


Last night I had the chance(meaning time) to download and install the new Beta1 release. Here will share some of my first impressions. Actually I played with WebDeveloper Express version and that one left me with very nice impression.

After clean install on my quite old PC seems very light and not memory consuming. I started new ASP.NET project and wrote some lines. What is obvious is that in the control toolbox on the left you can find all old set of controls as weel as some new ones like AJAX controls. Havent chance to play and investigate much but I have noticed nice and new XML controls.

That Express edition comes with lightweight web server which runs aside IIS, so you dont need to upgrade it or make any configuration there.

While writting code new intellisense made me nice impression as well as the ability to omit function parameters which arent used in the function body.

Stay tooned for more after the weekend.

Here is a link to updated Visual Studio Orcas Samples
Here is a link to Visual Web Developer Orcas Express Edition

Apr 20


Yes, its here! Well currently not final but it will show you the way. Many new features are planed to ship with the final release. So far some of the new features are:

- Intellisense Everywhere
- Relaxed Delegates
- Multi-Targeting

Here is the download page
Here is the link to a group blog from members of the VB team

Apr 19

Google keeps providning us with great services everyday. Today lets have a look at newly released AJAX Feed API. According to Mark Lucovsky from Google you can: “mash up feeds using only a few lines of JavaScript rather than dealing with complex server-side proxies”

JavaScript and XMLHttpRequest use the Same-Origin Policy (SOP). With this policy, scripts can access data from the same host from which the containing page of HTML was served, but not other hosts. This protects users from certain classes of scripting attacks, but prevents many developers from writing AJAX-based mashups. The Google AJAX Feed API offers a simple workaround to these restrictions for a specific type of content available on the web: syndication feeds.

The AJAX Feed API can return feeds in two formats: JSON and XML. By default, the API returns the feed in the JSON format.

The AJAX Feed API JSON format is an abbreviated, canonicalized version of the original feed. It maps Atom and RSS attributes like title, description, and summary to a set of common JSON properties so that you can access Atom and RSS feeds uniformly. For example, the JSON result format returns RSS attribute description as the JSON property content, just like Atom. Likewise, the RSS element pubDate is returned as the JSON property publishedDate to make the results uniform with Atom feeds. The JSON result format is useful if you only want to access standard RSS and Atom elements, and you don’t want to worry about the differences between feed formats.

Links related to the topic:

- Combined JSON/XML Result Format
- Google AJAX Feed API Developer Guide
- AJAX Tune Bar

Apr 16

Yesturday at the 2007 National Association of Broadcasters conference (NAB2007), Microsoft Corp. unveiled Microsoft® Silverlight™, a new cross-browser, cross-platform plug-in for delivering the next generation of media experiences and rich interactive applications (RIAs) for the Web.

Microsoft Silverlight, previously called Windows® Presentation Foundation Everywhere (WPF/E), integrates with existing Web technologies and assets to provide higher-quality experiences with lower costs for media delivery. Delivered to end users through a seamless, fast installation, Silverlight offers consistent experiences to both Macintosh and Windows users on a variety of browsers including Internet Explorer®, Firefox and Safari.

view Silverlight web site
view press release

Apr 16

Michael Schwarz has provided small example how to implement AJAXPro with jQuery and JSON support. Here are some valueable links and the actual code:

“I forgot to put the beta version online that will support jQuery and json.js from http://www.json.org. You can download the latest beta of the AjaxPro library at http://www.ajaxpro.info/download/jQueryAjaxPro.zip. The download currently includes only the .NET 2.0 library including a Visual Studio .NET 2005 Web Site project.

The C# AjaxMethod

I added a very simple AjaxMethod HelloWorld which will only return a string and get one argument. The reason is that I don’t have included the new JSON converters which will be ready in the next days.
[AjaxPro.AjaxMethod]
public static string HelloWorld(string s)
{
return “Hello ” + s + “!”;
}

view original

Apr 15

Today I came across this great article by Rick Strahl called “Beyond HTML: Rich Internet Applications”. He gives pretty good overview of current and future situation with RIA applications. In the article you will find his opinion over the following topics:

- Windows Presentation Foundation
- XBAP
- WPF/E
- Why Flash isnt the key

PS.
in one of the comments below somebody asks where is SVG, and why isnt it mentioned. I would like to say that SVG is way out of the picture. There are several factors that are seriously on the way to provide multiplatform solution:
- Adobe officially anounced that will stop supporting that format
- Creating SVG application isnt piece of cake and sometimes supporting these is also trouble
- There isnt native browsers support, you will need to install viewers to play SVG

Here is the link to original article by Rick

Apr 12

Gaia Ajax Widgets Q2 has just been released with some new features (Accordion and TreeView controls), tons of bugfixes and updates. Gaia is getting more stable in this release, in addition to the number of samples which doubled. And Frankly to say we cant ask for more from free widgets. I will personally test most of them when I had some free time(soon).

Ajax Logo Creator built with Gaia

Free version (Express Edition) of Gaia is available and can be downloaded from the website (require registration). To check out what Gaia is capable of, go to their samples section or if you are interested in viewing their videos or downloading the library visit http://ajaxwidgets.com
view original

Apr 11

Granville Barnett has provided us with his second part of his ‘Introducing LINQ’ articles. In the first one he explained LINQ basics and gave some examples. In that one he goes further by giving a specific example how do we use LINQ to SQL file.

Conceptual data access layer?

Conceptual what?! If you are familiar with the concept of a database schema then you don’t have much to worry about! You can think of a conceptual data access layer as being your applications view of the database.

I don’t want to bog you down with entities yet! That will come in part 3 of this series. Just know that what we deal with from our applications point of view is a series of entities describing the tables and relationships in our database schema. I will let you look forward to the diagrams explaining all of this in the next part!

Here is the original!