473,378 Members | 1,364 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Linq on the client

I would like to use linq on the client to navigate the DOM rather then
jquery or javascript. Is this possible. Is linq only server side?

J
Jul 25 '08 #1
7 1083
The only way I know of to use LINQ client side, without some kludges, is
with Silverlight 2, which is a mini .NET Framework for browsers.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

********************************************
| Think outside the box! |
********************************************
"GiJeet" <gi****@yahoo.comwrote in message
news:82**********************************@m73g2000 hsh.googlegroups.com...
>I would like to use linq on the client to navigate the DOM rather then
jquery or javascript. Is this possible. Is linq only server side?

J
Jul 26 '08 #2
>On Jul 25, 11:06*pm, "Cowboy \(Gregory A. Beamer\)" <NoSpamMgbwo...@comcast.netNoSpamMwrote:
The only way I know of to use LINQ client side, without some kludges, is
with Silverlight 2, which is a mini .NET Framework for browsers.
Well, since there's lots of DOM navigation via querying on the client,
MS needs to MAKE a client-side linq! Are you listening
Microsoft?? :) Then we'd have a real one language query tool.

Gi

Jul 26 '08 #3
Hi

Silverlight 2 does gives the user support to get a reference of html
dom .... via System.Windows.Browser namespace's
HtmlDocument Class...

but can linq will be available with it,,,, not sure though

regards

Munna
Jul 26 '08 #4
>I would like to use linq on the client to navigate the DOM rather then
jquery or javascript. Is this possible. Is linq only server side?

Not quite sure how much... but you can definitely look at dojo.query in Dojo
Toolkit (www.dojotoolkit.org)
A fantastic API to query DOM.

--
Happy Hacking,
Gaurav Vaish | http://dwt.sourceforge.net
http://blogs.mastergaurav.com | http://eduzine.edujini-labs.com
--------------------------------


Jul 27 '08 #5
>On Jul 27, 3:42*am, "Gaurav Vaish \(a.k.a. MasterGaurav\)" <gaurav.nospam.va...@nospam.gmail.comwrote:
>not quite sure how much... but you can definitely look at dojo.query in Dojo
Toolkit (www.dojotoolkit.org) A fantastic API to query DOM.
this defeats the whole purpose. trying to master several languages is
not efficient. this is the purpose of linq - master one language for
multiple purposes. but we need a client-side linq! that would make
linq a powerhouse.

Gi
Jul 27 '08 #6
I agree this could be nice, but it is not as easy as it sounds, as each
browser would need the code present to run the LINQ on the browser. MS could
do this in JavaScript, of course, but it would end up being a string you
send elsewhere, and not truly client side LINQ.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

********************************************
| Think outside the box! |
********************************************
"GiJeet" <gi****@yahoo.comwrote in message
news:40**********************************@b1g2000h sg.googlegroups.com...
>On Jul 25, 11:06 pm, "Cowboy \(Gregory A. Beamer\)"
<NoSpamMgbwo...@comcast.netNoSpamMwrote:
The only way I know of to use LINQ client side, without some kludges, is
with Silverlight 2, which is a mini .NET Framework for browsers.
Well, since there's lots of DOM navigation via querying on the client,
MS needs to MAKE a client-side linq! Are you listening
Microsoft?? :) Then we'd have a real one language query tool.

Gi

Jul 29 '08 #7
True, since it is still in beta it might not be added. I believe I saw
somewhere stating it was roadmapped, but that can change.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

********************************************
| Think outside the box! |
********************************************
"Munna" <mu******@gmail.comwrote in message
news:bd**********************************@w1g2000p rk.googlegroups.com...
Hi

Silverlight 2 does gives the user support to get a reference of html
dom .... via System.Windows.Browser namespace's
HtmlDocument Class...

but can linq will be available with it,,,, not sure though

regards

Munna
Jul 29 '08 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Ronald S. Cook | last post by:
I've always been taught that stored procedures are better than writing SQL in client code for a number of reasons: - runs faster as is compiled and lives on the database server - is the more...
1
by: Bob Johnson | last post by:
Just wondering if LINQ might be useful and appropriate in the following scenario: I'm writing a Windows Forms app that enables the user to search for a "client account". The client account is...
15
by: EDBrian | last post by:
My problem is this. Our clients create different fields they want to collect and we allow them build dynamic filters, reports etc... We run some TSQL to actually create the column and all works...
1
by: john | last post by:
LINQ works a lot like an Access DB Recordset in the way it functions, one of the things I could do in Access is refer to the Fields thru a Variable as below allowing me to Iterate over the...
3
by: Dean Slindee | last post by:
I'm confused. After all these years of promoting 3-tier architecture, isn't LINQ moving us back to a 2-tier architecture (no stored procedures?). Are there scenarios where LINQ would be a better...
2
by: timor.super | last post by:
Hi group, In my database, I have a table with fields like this : id | title | xml ------------------------------------ 1 | title1 | <datas><data><item...
4
by: Andrus | last post by:
Checking Client-only framework subset in VS2008 SP1 project properties causes in my application compile error The type 'System.Data.Linq.ITable' is defined in an assembly that is not...
14
by: thj | last post by:
Hi, I was wondering what you guys are using and why? LINQ to SQL or NHibernate? Thanks in advance, Tommy
0
by: Mike Gleason jr Couturier | last post by:
Hi, I often write libraries that rely on a particular table in the application database... I used to put a key in the web.config to tell the library which table to use.. (in the library's...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.