<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>.Net Hive</title>
	<atom:link href="http://dotnethive.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://dotnethive.wordpress.com</link>
	<description>A blog about Microsoft .Net Platform &#38; other industry happenings</description>
	<lastBuildDate>Thu, 23 Jul 2009 11:41:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='dotnethive.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/597a3e8ba54cd0af6fd4ba5ac92db3b7?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>.Net Hive</title>
		<link>http://dotnethive.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://dotnethive.wordpress.com/osd.xml" title=".Net Hive" />
	<atom:link rel='hub' href='http://dotnethive.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Custom Events in ASP.NET User Controls</title>
		<link>http://dotnethive.wordpress.com/2009/07/23/custom-events-in-asp-net-user-controls/</link>
		<comments>http://dotnethive.wordpress.com/2009/07/23/custom-events-in-asp-net-user-controls/#comments</comments>
		<pubDate>Thu, 23 Jul 2009 11:39:57 +0000</pubDate>
		<dc:creator>skullbocks</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[custom events]]></category>
		<category><![CDATA[user controls]]></category>

		<guid isPermaLink="false">http://dotnethive.wordpress.com/?p=105</guid>
		<description><![CDATA[Hello Everyone, Yesterday I was working on a user control and I came across a situation where I wanted to notify the parent page when ever the button in the user control get clicks. This situation calls for a requirement of having a custom event associated with the user control I can then use in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnethive.wordpress.com&amp;blog=8276330&amp;post=105&amp;subd=dotnethive&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hello Everyone,</p>
<p>Yesterday I was working on a user control and I came across a situation where I wanted to notify the parent page when ever the button in the user control get clicks.</p>
<p>This situation calls for a requirement of having a custom event associated with the user control I can then use in the host page, which encapsulates the user control.</p>
<p>Here is the core source code to required to achieve this functionality:</p>
<p><strong>CustomUserControl.ascx.cs</strong></p>
<blockquote><p>using System;<br />
using System.Collections.Generic;<br />
using System.Web;<br />
using System.Web.UI;<br />
using System.Web.UI.WebControls;<br />
using System.Data;</p>
<p>public partial class CustomUserControl : System.Web.UI.UserControl<br />
{<br />
public event EventHandler SubmitClick;</p>
<p>protected void btnSubmit_Click(object sender, EventArgs e)<br />
{<br />
this.OnSubmitClick(e);<br />
}</p>
<p>protected void OnSubmitClick(EventArgs e)<br />
{<br />
if (SubmitClick != null)<br />
{<br />
SubmitClick(this, e);<br />
}<br />
}<br />
}</p></blockquote>
<p>Because I needed the event to be executed when ever the submit button get executed, there for I invoked the method at the Submit button click. You can change it according to your requirement.</p>
<p><strong>HostWebPage.aspx.cs</strong></p>
<blockquote><p>
using System.Collections.Generic;<br />
using System.Web;<br />
using System.Web.UI;<br />
using System.Web.UI.WebControls;<br />
using System.Data; </p>
<p>public partial class HostWebPage : System.Web.UI.Page<br />
{<br />
protected void Page_Load(object sender, EventArgs e)<br />
{<br />
userCustomControl.SubmitClick += new EventHandler(userCustomControl_SubmitClick);<br />
}</p>
<p>void userCustomControl_SubmitClick(object sender, EventArgs e)<br />
{<br />
//DO ANY WORK<br />
}<br />
}</p></blockquote>
<p>I tried to make this example as simple as possible. Let me know if this helped. Any suggestion or queries are welcome.</p>
<p>Happy Reading</p>
<p>Waqas Ahmed</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnethive.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnethive.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnethive.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnethive.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dotnethive.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dotnethive.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dotnethive.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dotnethive.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnethive.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnethive.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnethive.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnethive.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnethive.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnethive.wordpress.com/105/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnethive.wordpress.com&amp;blog=8276330&amp;post=105&amp;subd=dotnethive&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotnethive.wordpress.com/2009/07/23/custom-events-in-asp-net-user-controls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d7659ef8341f17774a312108587bf329?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">skullbocks</media:title>
		</media:content>
	</item>
		<item>
		<title>jQuery Controls for ASP.NET</title>
		<link>http://dotnethive.wordpress.com/2009/07/08/jquery-controls-for-asp-net/</link>
		<comments>http://dotnethive.wordpress.com/2009/07/08/jquery-controls-for-asp-net/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 05:18:27 +0000</pubDate>
		<dc:creator>skullbocks</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Server Controls]]></category>
		<category><![CDATA[UI]]></category>

		<guid isPermaLink="false">http://dotnethive.wordpress.com/?p=89</guid>
		<description><![CDATA[I know all of you like to use jQuery in your asp.net applications. And why not, it&#8217;s the best thing ever happened in past few time. But managing things up do get out of control. Today I am introducing set of server side controls which help you to easily implement jQuery in ASP.NET Application. You [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnethive.wordpress.com&amp;blog=8276330&amp;post=89&amp;subd=dotnethive&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I know all of you like to use jQuery in your asp.net applications. And why not, it&#8217;s the best thing ever happened in past few time. But managing things up do get out of control. Today I am introducing set of server side controls which help you to easily implement jQuery in ASP.NET Application. You can use these controls as you use your other server side controls.</p>
<p>I came across this toolkit written by Sike Mulliven. And he really did this job perfectly.</p>
<p>In the toolkit, you will find four different controls along with designer and another control inspired from Rick Strahl&#8217;s article on the jQueryCalender.</p>
<p>To use the controls all you have to do is just add CSS file references to your page and drag &amp; drop the controls from the ToolBox. Some Screen captures attached for your reference.</p>
<p><strong>jQuery Controls</strong></p>
<p><img class="alignnone size-full wp-image-91" title="jQuery Controls" src="http://dotnethive.files.wordpress.com/2009/07/jquery12.png?w=406" alt="jQuery Controls"   /></p>
<p><strong>jQuery TabView</strong></p>
<p><strong><img class="alignnone size-full wp-image-94" title="jQuery TabView (Design)" src="http://dotnethive.files.wordpress.com/2009/07/jquery4.png?w=406" alt="jQuery TabView (Design)"   /></strong></p>
<p> </p>
<p><img class="alignnone size-full wp-image-95" title="jQuery TabView (Runtime)" src="http://dotnethive.files.wordpress.com/2009/07/jquery5.png?w=406" alt="jQuery TabView (Runtime)"   /></p>
<p><strong>jQuery Dialog</strong></p>
<p><strong><img class="alignnone size-full wp-image-96" title="jQuery Dialog (Design)" src="http://dotnethive.files.wordpress.com/2009/07/jquery6.png?w=406" alt="jQuery Dialog (Design)"   /></strong></p>
<p><strong><img class="alignnone size-full wp-image-97" title="jQuery Dialog (Runtime)" src="http://dotnethive.files.wordpress.com/2009/07/jquery7.png?w=406" alt="jQuery Dialog (Runtime)"   /></strong></p>
<p><strong>jQuery Slider</strong></p>
<p><strong><img class="alignnone size-full wp-image-98" title="jQuery Slider (Design)" src="http://dotnethive.files.wordpress.com/2009/07/jquery8.png?w=406" alt="jQuery Slider (Design)"   /></strong></p>
<p><strong><img class="alignnone size-full wp-image-99" title="jQuery Slider (Runtime)" src="http://dotnethive.files.wordpress.com/2009/07/jquery9.png?w=406" alt="jQuery Slider (Runtime)"   /></strong></p>
<p><strong>jQuery Accordion</strong></p>
<p><strong><img class="alignnone size-full wp-image-92" title="jQuery Accordion (Design)" src="http://dotnethive.files.wordpress.com/2009/07/jquery2.png?w=406" alt="jQuery Accordion (Design)"   /></strong></p>
<p><strong><img class="alignnone size-full wp-image-93" title="jQuery Accordion (Runtime)" src="http://dotnethive.files.wordpress.com/2009/07/jquery3.png?w=406" alt="jQuery Accordion (Runtime)"   /></strong></p>
<p>You can download these control from the following location</p>
<p><a href="http://cid-cce8a29919c8f422.skydrive.live.com/self.aspx/Public/jQuery/Mullivan.Web.zip">http://cid-cce8a29919c8f422.skydrive.live.com/self.aspx/Public/jQuery/Mullivan.Web.zip</a></p>
<p>The solution contains the source code for the controls and the test project for it.</p>
<p>I hope these jQuery controls will really add a spice in your UI development for ASP.NET Application. Thanks to Sike Mullivan.</p>
<p>Let me know about your comments and how helpful it can be for you.</p>
<p>Waqas Ahmed</p>
<p><strong><br />
</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnethive.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnethive.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnethive.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnethive.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dotnethive.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dotnethive.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dotnethive.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dotnethive.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnethive.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnethive.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnethive.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnethive.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnethive.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnethive.wordpress.com/89/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnethive.wordpress.com&amp;blog=8276330&amp;post=89&amp;subd=dotnethive&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotnethive.wordpress.com/2009/07/08/jquery-controls-for-asp-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d7659ef8341f17774a312108587bf329?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">skullbocks</media:title>
		</media:content>

		<media:content url="http://dotnethive.files.wordpress.com/2009/07/jquery12.png" medium="image">
			<media:title type="html">jQuery Controls</media:title>
		</media:content>

		<media:content url="http://dotnethive.files.wordpress.com/2009/07/jquery4.png" medium="image">
			<media:title type="html">jQuery TabView (Design)</media:title>
		</media:content>

		<media:content url="http://dotnethive.files.wordpress.com/2009/07/jquery5.png" medium="image">
			<media:title type="html">jQuery TabView (Runtime)</media:title>
		</media:content>

		<media:content url="http://dotnethive.files.wordpress.com/2009/07/jquery6.png" medium="image">
			<media:title type="html">jQuery Dialog (Design)</media:title>
		</media:content>

		<media:content url="http://dotnethive.files.wordpress.com/2009/07/jquery7.png" medium="image">
			<media:title type="html">jQuery Dialog (Runtime)</media:title>
		</media:content>

		<media:content url="http://dotnethive.files.wordpress.com/2009/07/jquery8.png" medium="image">
			<media:title type="html">jQuery Slider (Design)</media:title>
		</media:content>

		<media:content url="http://dotnethive.files.wordpress.com/2009/07/jquery9.png" medium="image">
			<media:title type="html">jQuery Slider (Runtime)</media:title>
		</media:content>

		<media:content url="http://dotnethive.files.wordpress.com/2009/07/jquery2.png" medium="image">
			<media:title type="html">jQuery Accordion (Design)</media:title>
		</media:content>

		<media:content url="http://dotnethive.files.wordpress.com/2009/07/jquery3.png" medium="image">
			<media:title type="html">jQuery Accordion (Runtime)</media:title>
		</media:content>
	</item>
		<item>
		<title>If the internet is a nation? who would be its president?</title>
		<link>http://dotnethive.wordpress.com/2009/07/06/if-the-internet-is-a-nation-who-would-be-its-president/</link>
		<comments>http://dotnethive.wordpress.com/2009/07/06/if-the-internet-is-a-nation-who-would-be-its-president/#comments</comments>
		<pubDate>Mon, 06 Jul 2009 09:29:28 +0000</pubDate>
		<dc:creator>skullbocks</dc:creator>
				<category><![CDATA[Others]]></category>

		<guid isPermaLink="false">http://dotnethive.wordpress.com/?p=83</guid>
		<description><![CDATA[Just came across a very interesting poll at TechRepublic. So I though why not share with you and have your opinion added to it. To cast you vote. The poll is at the following URL http://blogs.techrepublic.com.com/hiner/?p=1894&#38;tag=nl.e101 This poll is create by Jason Hiner of TechRepublic and he is a editor in chief. It will open [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnethive.wordpress.com&amp;blog=8276330&amp;post=83&amp;subd=dotnethive&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Just came across a very interesting poll at TechRepublic. So I though why not share with you and have your opinion added to it. To cast you vote.</p>
<p>The poll is at the following URL</p>
<p><a href="http://blogs.techrepublic.com.com/hiner/?p=1894&amp;tag=nl.e101">http://blogs.techrepublic.com.com/hiner/?p=1894&amp;tag=nl.e101</a></p>
<p>This poll is create by <strong><span style="font-weight:normal;">Jason Hiner of TechRepublic and he is a editor in chief.</span></strong></p>
<p><strong><span style="font-weight:normal;">It will open on Saturday, July 4, 2009 and then <strong><span style="font-weight:normal;">the poll will close  promptly on July 11, 2009 at 11:59 PM Eastern (8:59 PM Pacific).</span></strong></span></strong></p>
<p>Do give your feedback about your potential candidate for this run up and why?</p>
<p><strong><span style="font-weight:normal;"><strong><span style="font-weight:normal;">Waqas Ahmed</span></strong></span></strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnethive.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnethive.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnethive.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnethive.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dotnethive.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dotnethive.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dotnethive.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dotnethive.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnethive.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnethive.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnethive.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnethive.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnethive.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnethive.wordpress.com/83/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnethive.wordpress.com&amp;blog=8276330&amp;post=83&amp;subd=dotnethive&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotnethive.wordpress.com/2009/07/06/if-the-internet-is-a-nation-who-would-be-its-president/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d7659ef8341f17774a312108587bf329?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">skullbocks</media:title>
		</media:content>
	</item>
		<item>
		<title>Socket / Network Programming in C#</title>
		<link>http://dotnethive.wordpress.com/2009/07/06/socket-network-programming-in-c/</link>
		<comments>http://dotnethive.wordpress.com/2009/07/06/socket-network-programming-in-c/#comments</comments>
		<pubDate>Mon, 06 Jul 2009 04:01:02 +0000</pubDate>
		<dc:creator>skullbocks</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[sockets]]></category>

		<guid isPermaLink="false">http://dotnethive.wordpress.com/?p=77</guid>
		<description><![CDATA[Today I have decided to give a quick tutorial on Sockets/Network programming in C#. For this I have taken an example of a simple Client/Server application scenario. Where a Socket listen on a specific port and waits for the client to be connected. Once the client is connected, The client application will send a test [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnethive.wordpress.com&amp;blog=8276330&amp;post=77&amp;subd=dotnethive&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today I have decided to give a quick tutorial on Sockets/Network programming in C#. For this I have taken an example of a simple Client/Server application scenario. Where a Socket listen on a specific port and waits for the client to be connected. Once the client is connected, The client application will send a test message to the server application. I will try to achieve this functionality using minimal code and to give a concept of how socket programming works.</p>
<p>Hope this will be helpful. Following is the server application code.<br />
<code><br />
using System;<br />
using System.Text;<br />
using System.Net;<br />
using System.Net.Sockets;</code></p>
<p><code> </code></p>
<p><code>class SocketServer<br />
{<br />
  public static void Main()<br />
  {<br />
    StreamWriter streamWriter;<br />
    StreamReader streamReader;<br />
    NetworkStream networkStream;<br />
    TcpListener tcpListener = new TcpListener(3333);<br />
    tcpListener.Start();<br />
    Console.WriteLine("Server Started. Waiting for Client Connection at port 3333");<br />
    Socket serverSocket = tcpListener.AcceptSocket();<br />
    try<br />
    {<br />
        if (serverSocket.Connected)<br />
        {<br />
            while (true)<br />
            {<br />
                Console.WriteLine("Client Connected at port 3333");<br />
                networkStream = new NetworkStream(serverSocket);<br />
                streamWriter = new StreamWriter(networkStream);<br />
                streamReader = new StreamReader(networkStream);<br />
                Console.WriteLine(streamReader.ReadLine());</code></p>
<p><code> </code></p>
<p><code>            }<br />
        }<br />
        if (serverSocket.Connected)<br />
            serverSocket.Close();<br />
        Console.Read();<br />
    }<br />
    catch (SocketException ex)<br />
    {<br />
        Console.WriteLine(ex);<br />
    }<br />
  }<br />
}</code></p>
<p>When the above code is executed, it will try to listen on port 3333 and will wait for an incoming connection from a client application. Upon start, server application will display a message “Server Started. Waiting for Client Connection at port 3333”. As soon as the server application recives the connection from client application, it show the message “Client Connected at port 3333”.</p>
<p>Now let’s see how our client application code looks like. Our client application will try to connect at port 3333. Following is the Client Application Code:<br />
<code><br />
using System;<br />
using System.Text;<br />
using System.Net;<br />
using System.Net.Sockets;</code></p>
<p><code> </code></p>
<p><code>class SocketClient<br />
{<br />
  static void Main(string[]args)<br />
  {<br />
    TcpClient tcpClient;<br />
    NetworkStream networkStream;<br />
    StreamReader streamReader;<br />
    StreamWriter streamWriter;<br />
    try<br />
    {<br />
        tcpClient = new TcpClient("localhost", 3333);<br />
        networkStream = tcpClient.GetStream();<br />
        streamReader = new StreamReader(networkStream);<br />
        streamWriter = new StreamWriter(networkStream);<br />
        streamWriter.WriteLine("Client connected at port 3333");<br />
        streamWriter.Flush();<br />
    }<br />
    catch (SocketException ex)<br />
    {<br />
        Console.WriteLine(ex);<br />
    }<br />
    Console.Read();<br />
  }<br />
}</code></p>
<p>When the above client application code will execute, it will look for an opened connection from a server application at port 3333. As soon as it finds the connection, it will establish the connection with it and will send a message &#8220;Client connected at port 3333&#8243;. This test message will be displayed on server application console.</p>
<p>A Port is an integer that identifies a process running over a network for the purpose of providing a service. A socket is the end point of a two way communication between two processes running over a network. Microsoft .NET provides excellent support for writing programs that leverage the power of Sockets to implement programs that can run over a network to communicate and share data and information. </p>
<p>In this entry we tried look at how we can work with Sockets using Microsoft .NET and how we can implement a simple client-server program that can communicate over a network. </p>
<p>Your comments and suggestions are welcome.</p>
<p>Happy reading!</p>
<p>Waqas Ahmed</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnethive.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnethive.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnethive.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnethive.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dotnethive.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dotnethive.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dotnethive.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dotnethive.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnethive.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnethive.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnethive.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnethive.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnethive.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnethive.wordpress.com/77/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnethive.wordpress.com&amp;blog=8276330&amp;post=77&amp;subd=dotnethive&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotnethive.wordpress.com/2009/07/06/socket-network-programming-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d7659ef8341f17774a312108587bf329?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">skullbocks</media:title>
		</media:content>
	</item>
		<item>
		<title>Data Access with ADO.NET 3.5 – LINQ to SQL</title>
		<link>http://dotnethive.wordpress.com/2009/07/04/data-access-with-ado-net-3-5-linq-to-sql/</link>
		<comments>http://dotnethive.wordpress.com/2009/07/04/data-access-with-ado-net-3-5-linq-to-sql/#comments</comments>
		<pubDate>Sat, 04 Jul 2009 17:39:42 +0000</pubDate>
		<dc:creator>skullbocks</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[entity framework]]></category>
		<category><![CDATA[LINQ]]></category>

		<guid isPermaLink="false">http://dotnethive.wordpress.com/?p=73</guid>
		<description><![CDATA[Alright, going back to our series where we discussed LINQ and all related extensions. Lat time we discussed LINQ itself. Today, we are going to talk about LINQ to SQL extension. Well LINQ to SQL is more than just a LINQ implementation for relational databases; it includes a very easy to use graphical object/relational mapping [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnethive.wordpress.com&amp;blog=8276330&amp;post=73&amp;subd=dotnethive&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Alright, going back to our series where we discussed LINQ and all related extensions. Lat time we discussed LINQ itself. Today, we are going to talk about LINQ to SQL extension.</p>
<p>Well LINQ to SQL is more than just a LINQ implementation for relational databases; it includes a very easy to use graphical object/relational mapping tool. This tool generates an entity class for each table you select from the SQL Server database to which the project connects. The tool also generates an association that relates to each foreign key constraint. Associations eliminate the need to specify joins in LINQ queries that include projections of fields from related tables. The ability to navigate associations is an important feature of LINQ implementations and the Entity Framework.</p>
<p>The advantage of moving from the relational model of tables, rows, and keys to the entity model of entity classes, entity instances, and associations is that entities usually do represent business objects, such as customers, partners, vendors, employees, products, and services. An entity model enables developers to design real world objects with custom properties, associations, and behaviors suited to the organization’s business processes.</p>
<p>LINQ to SQL is intended for 1:1 mapping of tables:entities, although it does have limited support for entity inheritance of the Table per Hierarchy (TPH) type based on discriminator columns. Read only entities can be based on views or stored procedures. The Entity Framework’s Entity Data Model supports joining multiple tables to create a single updatable entity, as well as several types of entity inheritance.</p>
<p>This entry covers a brief overview about LINQ to SQL extension or you can say a LINQ to SQL in a nutshell. I will try to give some examples about the auto generated classes for entities which entity framework create, in some later post.</p>
<p>Till than, Happy Reading.</p>
<p>Waqas Ahmed</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnethive.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnethive.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnethive.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnethive.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dotnethive.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dotnethive.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dotnethive.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dotnethive.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnethive.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnethive.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnethive.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnethive.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnethive.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnethive.wordpress.com/73/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnethive.wordpress.com&amp;blog=8276330&amp;post=73&amp;subd=dotnethive&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotnethive.wordpress.com/2009/07/04/data-access-with-ado-net-3-5-linq-to-sql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d7659ef8341f17774a312108587bf329?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">skullbocks</media:title>
		</media:content>
	</item>
		<item>
		<title>Integrating jQuery in ASP.NET</title>
		<link>http://dotnethive.wordpress.com/2009/07/02/integrating-jquery-in-asp-net/</link>
		<comments>http://dotnethive.wordpress.com/2009/07/02/integrating-jquery-in-asp-net/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 07:47:18 +0000</pubDate>
		<dc:creator>skullbocks</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://dotnethive.wordpress.com/?p=63</guid>
		<description><![CDATA[Almost all of you have tried ASP.NET AJAX for Ajax related operations. But there are times when you need something more from ASP.NET AJAX, and unfortunately you cannot. These are the times you ask for alternatives. The available alternatives for AJAX behavior in your application belong to open source community. Some of the open source [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnethive.wordpress.com&amp;blog=8276330&amp;post=63&amp;subd=dotnethive&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Almost all of you have tried ASP.NET AJAX for Ajax related operations. But there are times when you need something more from ASP.NET AJAX, and unfortunately you cannot. These are the times you ask for alternatives.</p>
<p>The available alternatives for AJAX behavior in your application belong to open source community. Some of the open source frameworks for AJAX are</p>
<ul>
<li><a href="http://www.prototypejs.org/" target="_blank">Prototype</a></li>
<li><a href="http://developer.yahoo.com/yui/" target="_blank">Yahoo User Interface Library</a></li>
<li><a href="http://www.jquery.com/" target="_blank">jQuery</a></li>
</ul>
<p>My personal favorite is jQuery. There are many reasons for that. One very important one is related to the UI flexibility provided by jQuery.</p>
<p>So, I have decided to run down a simple example for all of you where we will utilize jQuery in ASP.NET application to fetch the Server Side DateTime. Note that we will be developing this demo application in ASP.NET 1.1, to prove a point that how easy it is to integrate jQuery in already deployed application as compare to ASP.NET AJAX.</p>
<p>Some of the Pre-requisites, you should care about is the one and only jQuery library itself. You can get the library from here jQuery Download [http://jqueryui.com/download]. One great thing you will notice, when you will go to download section; it allows you to select/deselect different features of the framework along with theme selection as well. This feature helps the developer to avoid bulky packages and be functionality centric. You should also bookmark the website, as you will need it later on for different knowledge base articles regarding the framework. Also, the forums and discussion boards are very active and usually you get the response to your questions quite quickly.</p>
<p>Coming to the demo, first we have to include the jQuery library in the default.aspx</p>
<blockquote><p>&lt;script type=&#8221;text/javascript&#8221; src=&#8221;jquery-1.1.js&#8221;&gt;</p></blockquote>
<p>First we will define the action which will get triggered when user will click on &#8220;Get Server Time&#8221;</p>
<blockquote><p>$(function() {<br />
    $(&#8220;a#runSample1&#8243;).click(function() {<br />
        $.get(&#8220;GetServerTime.aspx&#8221;, function(response) {<br />
            alert(response);<br />
         });<br />
    });<br />
});</p></blockquote>
<p>For your reference, let’s take a look at when we just did.</p>
<p>This code will be executed on page onload event.</p>
<blockquote><p>$(function() {</p></blockquote>
<p>This  code, we are binding an event with the &#8220;onclick&#8221; event of the hyperlink. Which user will click?</p>
<blockquote><p>$(&#8220;a#runSample1&#8243;).click(function() {</p></blockquote>
<p>The above code allows us to define that, when user clicks the link &#8220;Get Server Time&#8221;, the action will get fired and will call a proxy page which we will create later on. That proxy page will return the server time into the response object which we just mentioned in the above code. And it will be displayed in message box.</p>
<blockquote><p>$.get(&#8220;GetServerTime.aspx&#8221;, function(response) {<br />
    alert(response);<br />
});</p></blockquote>
<p>Now proceeding to the proxy page &#8220;GetServerTime.aspx&#8221;. On this page, we don&#8217;t need the HTML. Therefore, we will only keep the top declaration and will remove rest of the HTML</p>
<blockquote><p>&lt;%@ Page Codebehind=&#8221;GetServerTime.aspx.cs&#8221; AutoEventWireup=&#8221;false&#8221; Inherits=&#8221;AJAXJQuerySample.GetServerTime&#8221; %&gt;</p></blockquote>
<p>The code behind of the proxy page will be</p>
<blockquote><p>private void Page_Load(object sender, System.EventArgs e)<br />
{<br />
    Response.Expires = -1;<br />
    //required to keep the page from being cached on the client&#8217;s browser<br />
    Response.ContentType = &#8220;text/plain&#8221;;<br />
    Response.Write(DateTime.Now.ToString());<br />
    Response.End();<br />
}</p></blockquote>
<p>In the page_load method, Response.Expires = -1, allowes us to make sure that page wont get cached in the browser.</p>
<blockquote><p>Response.ContentType = &#8220;text/plain&#8221;;<br />
Response.Write(DateTime.Now.ToString());<br />
Response.End();</p></blockquote>
<p>The above code just set the content of the response to plain text and writes the current time to the response stream.</p>
<p>This is it. Now, we can run our sample application and click the &#8220;Get Server Time&#8221; link, this should give us the current time in an alert box:</p>
<p> </p>
<div id="attachment_66" class="wp-caption alignnone" style="width: 410px"><img class="size-full wp-image-66" title="Demo Screenshot" src="http://dotnethive.files.wordpress.com/2009/07/demo1.jpg?w=406" alt="Demo Screenshot"   /><p class="wp-caption-text">Demo Screenshot</p></div>
<p>Hope this will be hlpful to get you started. Let me know about it.</p>
<p>Waqas Ahmed</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnethive.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnethive.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnethive.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnethive.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dotnethive.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dotnethive.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dotnethive.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dotnethive.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnethive.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnethive.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnethive.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnethive.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnethive.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnethive.wordpress.com/63/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnethive.wordpress.com&amp;blog=8276330&amp;post=63&amp;subd=dotnethive&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotnethive.wordpress.com/2009/07/02/integrating-jquery-in-asp-net/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d7659ef8341f17774a312108587bf329?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">skullbocks</media:title>
		</media:content>

		<media:content url="http://dotnethive.files.wordpress.com/2009/07/demo1.jpg" medium="image">
			<media:title type="html">Demo Screenshot</media:title>
		</media:content>
	</item>
		<item>
		<title>Language Integrated Query &#8211; LINQ</title>
		<link>http://dotnethive.wordpress.com/2009/06/29/language-integrated-query-linq/</link>
		<comments>http://dotnethive.wordpress.com/2009/06/29/language-integrated-query-linq/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 05:29:33 +0000</pubDate>
		<dc:creator>skullbocks</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[ADO.NET 3.5]]></category>
		<category><![CDATA[Data]]></category>
		<category><![CDATA[LINQ]]></category>

		<guid isPermaLink="false">http://dotnethive.wordpress.com/?p=56</guid>
		<description><![CDATA[In my previous post, I introduced some of the extensions provided in ADO.NET 3.5 and I told you that we will be talking about each of the extension individually later on. To start, today I have picked LINQ. Language Integrated Query aka LINQ, is all about achieving query operations in a well comprehensive and open [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnethive.wordpress.com&amp;blog=8276330&amp;post=56&amp;subd=dotnethive&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In my previous post, I introduced some of the extensions provided in ADO.NET 3.5 and I told you that we will be talking about each of the extension individually later on.</p>
<p>To start, today I have picked LINQ. Language Integrated Query aka LINQ, is all about achieving query operations in a well comprehensive and open form. It allows you to query data regardless of any type, May it be relational databases, XML or Objects. Considering this phenomenon of querying across any kind of data source, this will be a great breakthrough and major shift in how our programmers deal with data related tasks. Having the possibility at your fingertip to query any kind of data will really change the way we program.</p>
<p>LINQ provides a set of patterns for querying any kind of data, whether it has a particular object model implemented or not. LINQ specifies how an object can be a “queryable,” with all the basic query operations needed, like: SELECT, WHERE, GROUP BY, ORDER BY, JOIN along with many other new operations like SelectMany, GroupJoin, TakeWhile, SkipWhile, ElementAt etc.</p>
<p>The syntax is the part where the real ease and flexibility shows up. You can have any language, that is supported on .Net Platform;  to be able to support LINQ.  C# and VB.NET has this built in features to interfacing LINQ. An example, where you have an array of Employees objects and you want a name of an employees having salary greater then 10000, you can write this query that looks like this:</p>
<blockquote><p>var query_results =  from c in Employees<br />
                                           let sal = 10000<br />
                                           where c.Salary &lt; sal<br />
                                           select c.Name;</p>
<p>foreach (var result in query_results)<br />
{<br />
          Response.Write(result.ToString());<br />
}</p></blockquote>
<p>The above example mimics a scenario for a relational database. What happens if we have a dynamic data source like an RSS feed? Here is the simple example for that</p>
<blockquote><p>XElement orders = &#8230;;<br />
int order_amount = Convert.ToInt32(orders.Element(“amount”));</p></blockquote>
<p>As you have seen that, LINQ is a way to go for data related operations due its flexibility and its data source independence. I have tried to give you an overview of LINQ but there are whole lot of information and resources available for you to get your hands dirty in LINQ <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . I’m including some of the references below for your help:</p>
<ul>
<li><a href="http://en.wikipedia.org/wiki/Language_Integrated_Query#Language_Extensions">http://en.wikipedia.org/wiki/Language_Integrated_Query#Language_Extensions</a></li>
<li><a href="http://msdn.microsoft.com/en-us/netframework/aa904594.aspx">http://msdn.microsoft.com/en-us/netframework/aa904594.aspx</a></li>
<li><a href="http://msdn.microsoft.com/hi-in/library/bb308960(en-us).aspx">http://msdn.microsoft.com/hi-in/library/bb308960(en-us).aspx</a></li>
</ul>
<p>Happy Reading</p>
<p>Waqas Ahmed</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnethive.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnethive.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnethive.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnethive.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dotnethive.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dotnethive.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dotnethive.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dotnethive.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnethive.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnethive.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnethive.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnethive.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnethive.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnethive.wordpress.com/56/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnethive.wordpress.com&amp;blog=8276330&amp;post=56&amp;subd=dotnethive&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotnethive.wordpress.com/2009/06/29/language-integrated-query-linq/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d7659ef8341f17774a312108587bf329?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">skullbocks</media:title>
		</media:content>
	</item>
		<item>
		<title>Data Access with ADO.NET 3.5 &#8211; Extensions</title>
		<link>http://dotnethive.wordpress.com/2009/06/27/data-access-with-ado-net-3-5-extensions/</link>
		<comments>http://dotnethive.wordpress.com/2009/06/27/data-access-with-ado-net-3-5-extensions/#comments</comments>
		<pubDate>Sat, 27 Jun 2009 14:32:30 +0000</pubDate>
		<dc:creator>skullbocks</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[.Net 3.5]]></category>
		<category><![CDATA[ADO.NET 3.5]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[LINQ]]></category>

		<guid isPermaLink="false">http://dotnethive.wordpress.com/?p=49</guid>
		<description><![CDATA[In our last post, we looked into objectives of the ADO.NET 3.5 which get shipped with VS 2008 Service Pack1. To achieve those objectives, we have some very good language extensions for ADO.NET 3.5. in C# and VB. LINQ extension for VB 9.0 and C# 3.0 language provides a set of standard query operators to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnethive.wordpress.com&amp;blog=8276330&amp;post=49&amp;subd=dotnethive&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In our last post, we looked into objectives of the ADO.NET 3.5 which get shipped with VS 2008 Service Pack1. To achieve those objectives, we have some very good language extensions for ADO.NET 3.5. in C# and VB.</p>
<ul>
<li><strong>LINQ</strong> extension for VB 9.0 and C# 3.0 language provides a set of standard query operators to query many different kind of data sources using SQL like syntax. This extension for VB and C# implements LINQ pattern.</li>
<li><strong>LINQ to Object</strong> is the default implementation for LINQ. It enables the developer to execute queries against a data persisted in memory that implements IEnumerable or IQueryable interface.</li>
<li><strong>LINQ to SQL</strong> extension to LINQ to Objects provide an O/RM tool to generate and manage classes for business objects and to persist their instances in SQL Server tables.</li>
<li><strong>LinqDataSource</strong> server control introduced in ASP.NET 3.5 simplifies the headache to bind data enabled web controls to business objects created with LINQ to SQL.</li>
</ul>
<p>Later on we will discuss each of the above mentioned extensions individually, to look under the hood of ADO.NET 3.5 and it&#8217;s working.</p>
<p>Until than happy reading <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Waqas Ahmed</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnethive.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnethive.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnethive.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnethive.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dotnethive.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dotnethive.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dotnethive.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dotnethive.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnethive.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnethive.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnethive.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnethive.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnethive.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnethive.wordpress.com/49/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnethive.wordpress.com&amp;blog=8276330&amp;post=49&amp;subd=dotnethive&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotnethive.wordpress.com/2009/06/27/data-access-with-ado-net-3-5-extensions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d7659ef8341f17774a312108587bf329?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">skullbocks</media:title>
		</media:content>
	</item>
		<item>
		<title>Data Access with ADO.NET 3.5 &#8211; Primary Objectives</title>
		<link>http://dotnethive.wordpress.com/2009/06/27/data-access-with-ado-net-3-5-primary-objectives/</link>
		<comments>http://dotnethive.wordpress.com/2009/06/27/data-access-with-ado-net-3-5-primary-objectives/#comments</comments>
		<pubDate>Sat, 27 Jun 2009 08:58:14 +0000</pubDate>
		<dc:creator>skullbocks</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[.Net 3.5]]></category>
		<category><![CDATA[ADO.NET 3.5]]></category>
		<category><![CDATA[LINQ]]></category>
		<category><![CDATA[Visual Studio 2008]]></category>

		<guid isPermaLink="false">http://dotnethive.wordpress.com/?p=47</guid>
		<description><![CDATA[Release of Service Pack 1 for Visual Studio 2008 brought us some of the major lift updates .Net Framework. One of those update is ADO.NET 3.5 along with whole set of new languages and methodologies for data access as compare to .Net Framework 2.0. Some of the primary objectives of these updates are: Increase developers [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnethive.wordpress.com&amp;blog=8276330&amp;post=47&amp;subd=dotnethive&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Release of Service Pack 1 for Visual Studio 2008 brought us some of the major lift updates .Net Framework. One of those update is ADO.NET 3.5 along with whole set of new languages and methodologies for data access as compare to .Net Framework 2.0. Some of the primary objectives of these updates are:</p>
<ul>
<li>Increase developers productivity with minimal code required to achieve certain database/data related tasks.</li>
<li>Allow strong-type checking of database query syntax for relational data and their resultsets.</li>
<li>Enhancements to DataSet integration with multi Tier application architecture.</li>
<li>Enabled data intensive Winform projects with a local, synchronizable data cache derived from SQL Server Compact Edition v3.5</li>
<li>Enabled data intensive Winform projects with a local, synchronizable data cache derived from SQL Server Compact Edition v3.5.</li>
<li>Eliminate often known as the resistant mismatch between the code for data management, which usually involves SQL and OOPs programming.</li>
</ul>
<p>Next time we will talk about the introduction of different extensions to LINQ related components /frameworks.</p>
<p>Waqas Ahmed</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnethive.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnethive.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnethive.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnethive.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dotnethive.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dotnethive.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dotnethive.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dotnethive.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnethive.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnethive.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnethive.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnethive.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnethive.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnethive.wordpress.com/47/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnethive.wordpress.com&amp;blog=8276330&amp;post=47&amp;subd=dotnethive&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotnethive.wordpress.com/2009/06/27/data-access-with-ado-net-3-5-primary-objectives/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d7659ef8341f17774a312108587bf329?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">skullbocks</media:title>
		</media:content>
	</item>
		<item>
		<title>Microsoft Axum &#8211; Parallel Programming Language</title>
		<link>http://dotnethive.wordpress.com/2009/06/25/microsoft-axum-parallel-programming-language/</link>
		<comments>http://dotnethive.wordpress.com/2009/06/25/microsoft-axum-parallel-programming-language/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 11:55:59 +0000</pubDate>
		<dc:creator>skullbocks</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[Axum]]></category>
		<category><![CDATA[Parallel Computing]]></category>
		<category><![CDATA[Parallel Programming Model]]></category>

		<guid isPermaLink="false">http://dotnethive.wordpress.com/?p=45</guid>
		<description><![CDATA[Axum is an incubation project from Microsoft’s Parallel Computing Platform that aims to validate a safe and productive parallel programming model for the .NET framework. It’s a language that builds upon the architecture of the web and the principles of isolation, actors, and message-passing to increase application safety, responsiveness, scalability and developer productivity. Other advanced [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnethive.wordpress.com&amp;blog=8276330&amp;post=45&amp;subd=dotnethive&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Axum is an incubation project from Microsoft’s Parallel Computing Platform that aims to validate a safe and productive parallel programming model for the .NET framework.</p>
<p>It’s a language that builds upon the architecture of the web and the principles of isolation, actors, and message-passing to increase application safety, responsiveness, scalability and developer productivity. Other advanced concepts we are exploring are data flow networks, asynchronous methods, and type annotations for taming side-effects. </p>
<p>You can get Microsoft Axum from <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=CFE70D5D-37AA-4C4C-8EEB-D4576C41BAA2&amp;displaylang=en">http://www.microsoft.com/downloads/details.aspx?FamilyID=CFE70D5D-37AA-4C4C-8EEB-D4576C41BAA2&amp;displaylang=en</a></p>
<p>Waqas Ahmed</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnethive.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnethive.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnethive.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnethive.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dotnethive.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dotnethive.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dotnethive.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dotnethive.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnethive.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnethive.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnethive.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnethive.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnethive.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnethive.wordpress.com/45/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnethive.wordpress.com&amp;blog=8276330&amp;post=45&amp;subd=dotnethive&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotnethive.wordpress.com/2009/06/25/microsoft-axum-parallel-programming-language/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d7659ef8341f17774a312108587bf329?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">skullbocks</media:title>
		</media:content>
	</item>
	</channel>
</rss>
