<?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/"
	>

<channel>
	<title>alex barberis &#187; webdev</title>
	<atom:link href="http://alexbarberis.com/tag/webdev/feed/" rel="self" type="application/rss+xml" />
	<link>http://alexbarberis.com</link>
	<description>my personal "blog"</description>
	<lastBuildDate>Sun, 29 Aug 2010 21:11:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Javascript Overload</title>
		<link>http://alexbarberis.com/2008/09/25/javascript-overload/</link>
		<comments>http://alexbarberis.com/2008/09/25/javascript-overload/#comments</comments>
		<pubDate>Thu, 25 Sep 2008 04:13:57 +0000</pubDate>
		<dc:creator>Alex Barberis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://www.alexbarberis.com/?p=91</guid>
		<description><![CDATA[I came across this great article at Smashing Magazine with links to a bunch of javascript controls. There are many great implementations of MooTools and jQuery. You can see the article.
I&#8217;m really into all the Mac-like script effects people come up with. Here are some of my favorites:
Slider Gallery (looks like the top portion of apple.com [...]]]></description>
			<content:encoded><![CDATA[<p>I came across this great <a href="http://www.smashingmagazine.com/2008/09/11/75-really-useful-javascript-techniques/">article</a> at <a href="http://www.smashingmagazine.com/">Smashing Magazine</a> with links to a bunch of javascript controls. There are many great implementations of <a href="http://mootools.net/">MooTools</a> and <a href="http://www.jquery.com/&lt;/a&gt;" class="broken_link" >jQuery</a>. You can see the article.</p>
<p>I&#8217;m really into all the Mac-like script effects people come up with. Here are some of my favorites:</p>
<p><a href="http://jqueryfordesigners.com/slider-gallery/">Slider Gallery</a> (looks like the top portion of apple.com that lets you scroll through product lines)</p>
<p><a href="http://safalra.com/web-design/javascript/mac-style-dock/">OS X Style Dock</a></p>
<p>It&#8217;s amazing how script has transformed the web so much in the last few years. I&#8217;d hate to think where we would be without it.</p>

	<div style="">
		<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-text="Javascript Overload" data-url="http://alexbarberis.com/2008/09/25/javascript-overload/"  data-via="plexi">Tweet</a>
	</div>
	<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>]]></content:encoded>
			<wfw:commentRss>http://alexbarberis.com/2008/09/25/javascript-overload/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>ASP.NET Membership and Profile Providers</title>
		<link>http://alexbarberis.com/2007/12/14/aspnet-membership-and-profile-providers/</link>
		<comments>http://alexbarberis.com/2007/12/14/aspnet-membership-and-profile-providers/#comments</comments>
		<pubDate>Fri, 14 Dec 2007 04:24:26 +0000</pubDate>
		<dc:creator>Alex Barberis</dc:creator>
				<category><![CDATA[asp.net]]></category>
		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://www.alexbarberis.com/2007/12/14/aspnet-membership-and-profile-providers/</guid>
		<description><![CDATA[This is something that I really overlooked with all the ASP.NET stuff I&#8217;ve done. I was messing around with a ASPNET 2.0 project and discovered this great mechanism that saved me from writing tons of code. Basically you setup a few tables on your SQL database, edit your web config with a connection string to [...]]]></description>
			<content:encoded><![CDATA[<p>This is something that I really overlooked with all the ASP.NET stuff I&#8217;ve done. I was messing around with a ASPNET 2.0 project and discovered this great mechanism that saved me from writing tons of code. Basically you setup a few tables on your SQL database, edit your web config with a connection string to that database and you&#8217;re done. Now you have a project with the ability to create users and store their profiles and you still haven&#8217;t written a line of code. I&#8217;m kind of suprised I blew this off for as long as I did.</p>
<p>Here are the technical details for anyone looking to implement this on a site. I looked around and pieced it together so this is all you need to do.</p>
<p><strong>First run &#8220;aspnet_regsql.exe -W&#8221; </strong> to setup your database schema. (I added the tables to an existing database rather than seperating it)</p>
<p><strong>Next, make changes to your web.config to point at the database.</strong></p>
<p>Add the connection string (connectionstrings section):</p>
<p><code><span class="kw1">name</span>=<span class="st0">"LocalSqlServer"</span> connectionString=<span class="st0">"User ID=USER;Password=PASSWORD;server=HOST;database=DB_NAME"</span></code></p>
<p>Point the providers to the connection string (system.web section):</p>
<p>Membership provider:</p>
<ol>
<li class="li1">
<div class="de1">&lt;profile&gt;</div>
</li>
<li class="li1">
<div class="de1">     &lt;<strong>providers</strong>&gt;</div>
</li>
<li class="li1">
<div class="de1">     &lt;remove name=&#8221;AspNetSqlProfileProvider&#8221;/&gt;</div>
</li>
<li class="li1">
<div class="de1">     &lt;add name=&#8221;AspNetSqlProfileProvider&#8221; type=&#8221;System.Web.Profile.SqlProfileProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&#8221; connectionStringName=&#8221;LocalSqlServer&#8221; applicationName=&#8221;APP_NAME&#8221;/&gt;</div>
</li>
<li class="li2">
<div class="de2">     &lt;/<strong>providers</strong>&gt;</div>
</li>
<li class="li1">
<div class="de1">     &lt;properties&gt;</div>
</li>
<li class="li1">
<div class="de1">          &lt;add name=&#8221;Property1&#8243;/&gt;</div>
</li>
<li class="li1">
<div class="de1">          &lt;add name=&#8221;Property2&#8243;/&gt;</div>
</li>
<li class="li1">
<div class="de1">     &lt;/properties&gt;</div>
</li>
<li class="li2">
<div class="de2">&lt;/profile&gt;</div>
</li>
</ol>
<p>The membership provider lets you specify options about password and lockout security. The options are pretty self explanatory. Another cool thing I found was you can add the properties and you get intellisense on these fields when you are storing profile information.</p>
<p><strong>Finally, write some code! You&#8217;re all done setting this up.</strong></p>
<p>Adding a user is as simple as:</p>
<p><code>Membership.CreateUser</code></p>
<p>Combine this with the <a href="http://quickstarts.asp.net/QuickStartv20/aspnet/doc/ctrlref/login/createuserwizard.aspx">Create User Wizard</a> and you&#8217;re creating users on a site in minutes.</p>
<p>When you want to store user profile information just use this:</p>
<p><code>Profile.Property1 = "foo"</code></p>
<blockquote><p><em>Note: If you need to pull this data from a procedure or anything behind the scenes in your database beware that the profile provider stores all profile information for a user in a single row. It stores everything in a text field with delimiters to tell where the next profile property starts. You might want to edit a procedure and put the stuff into seperate rows or whatever your application requires.</em></p>
</blockquote>
<p>These providers all integrate with Login suite of controls in ASP.NET. So far I&#8217;ve used the Login Name and Login Status controls. It&#8217;s been pretty drag and drop so far. If I have time I&#8217;ll try to post some tips about the other controls I use.</p>
<p>I know in the past I&#8217;ve had to create complex user creation and security mechanisms on sites. I feel like I wasted a lot of time now! <img src='http://alexbarberis.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Well, this won&#8217;t work for all sites but I&#8217;m sure with a little customization it can cover a large portion of sites. I hope this helps someone out who has any questions with this. If you have any specific questions or comments please let me know.</p>
<p>Enjoy!</p>

	<div style="">
		<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-text="ASP.NET Membership and Profile Providers" data-url="http://alexbarberis.com/2007/12/14/aspnet-membership-and-profile-providers/"  data-via="plexi">Tweet</a>
	</div>
	<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>]]></content:encoded>
			<wfw:commentRss>http://alexbarberis.com/2007/12/14/aspnet-membership-and-profile-providers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Speed up those .NET User Controls</title>
		<link>http://alexbarberis.com/2007/01/09/speed-up-those-net-user-controls/</link>
		<comments>http://alexbarberis.com/2007/01/09/speed-up-those-net-user-controls/#comments</comments>
		<pubDate>Tue, 09 Jan 2007 05:44:53 +0000</pubDate>
		<dc:creator>Alex Barberis</dc:creator>
				<category><![CDATA[asp.net]]></category>
		<category><![CDATA[dotnet]]></category>
		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://www.alexbarberis.com/2007/01/09/speed-up-those-net-user-controls/</guid>
		<description><![CDATA[I found an interesting article on Rob Gruen&#8217;s blog that helped speed up the loading time of a user control. Apparently adding the following lines to the constructor of your user control resolves some deadlock in the framework related to a timeout looking for a new version I guess&#8230; This problem seems to be specific [...]]]></description>
			<content:encoded><![CDATA[<p>I found an interesting article on <a onclick="window.open(this.href); return false;" href="http://blogs.msdn.com/robgruen/archive/2004/07/21/190600.aspx">Rob Gruen&#8217;s</a> blog that helped speed up the loading time of a user control. Apparently adding the following lines to the constructor of your user control resolves some deadlock in the framework related to a timeout looking for a new version I guess&#8230; This problem seems to be specific to hosting user controls in IE.</p>
<p>I&#8217;ve been using this for a while now and it seems to work well. A full explanation is available on his <a onclick="window.open(this.href); return false;" href="http://blogs.msdn.com/robgruen/archive/2004/07/21/190600.aspx">site</a>.</p>
<p><!-- code formatted by http://manoli.net/csharpformat/ --></p>
<div class="csharpcode">
<pre><span class="lnum">   1:  </span>System.Configuration.ConfigurationSettings.GetConfig(<span class="str">"simple text"</span>)</pre>
<pre><span class="lnum">   2:  </span><span class="kwrd">Dim</span> a() <span class="kwrd">As</span> <span class="kwrd">String</span> = Environment.GetCommandLineArgs()</pre>
<pre> </pre>
</div>
<p>Enjoy!</p>

	<div style="">
		<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-text="Speed up those .NET User Controls" data-url="http://alexbarberis.com/2007/01/09/speed-up-those-net-user-controls/"  data-via="plexi">Tweet</a>
	</div>
	<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>]]></content:encoded>
			<wfw:commentRss>http://alexbarberis.com/2007/01/09/speed-up-those-net-user-controls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASP.NET 2.0</title>
		<link>http://alexbarberis.com/2006/11/24/aspnet-20/</link>
		<comments>http://alexbarberis.com/2006/11/24/aspnet-20/#comments</comments>
		<pubDate>Fri, 24 Nov 2006 04:16:18 +0000</pubDate>
		<dc:creator>Alex Barberis</dc:creator>
				<category><![CDATA[ajax]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://www.alexbarberis.com/2006/11/24/aspnet-20/</guid>
		<description><![CDATA[I figured I would post about my first use with the new Visual Studio and its version of ASP.NET. Let me start off by saying I am very impressed. I&#8217;m always the last one to bash Microsoft about their product (at least the development portion). As far as I&#8217;m concerned, Microsoft has provided me with [...]]]></description>
			<content:encoded><![CDATA[<p>I figured I would post about my first use with the new Visual Studio and its version of ASP.NET. Let me start off by saying I am very impressed. I&#8217;m always the last one to bash Microsoft about their product (at least the development portion). As far as I&#8217;m concerned, Microsoft has provided me with a good development toolset to accomplish what I need to.</p>
<p>I got to work in the new studio for some work related stuff and boy was I impressed. Is it just me or the speed of that IDE is *very* fast? Granted I was working on a small web project but the UI felt so snappy and responsive. Even something simple like working on template columns in a grid was greatly improved. I found myself not having to revert between HTML and design view so much. The ASP.NET team definetly cleaned up the weak parts of the product.</p>
<p>I&#8217;ve been working on a few side projects messing around with ASP.NET 2.0, especially the &#8220;Atlas&#8221; framework (or whatever they want to call it this week). Looks like some very cool stuff to me.</p>
<p>This is some of the first free time I&#8217;ve had lately to put a post up on here. I&#8217;ve been working on pinball machines a lot lately and just working in general. It looks like I&#8217;ll be visiting St. Louis pretty soon, gotta find some interesting stuff to do while I&#8217;m there. I think it&#8217;s time I crash now since I&#8217;m stuffed from Thanksgiving. I have to go find some pumpkin pie tomorrow, there was none at the family dinner. Bummer!</p>

	<div style="">
		<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-text="ASP.NET 2.0" data-url="http://alexbarberis.com/2006/11/24/aspnet-20/"  data-via="plexi">Tweet</a>
	</div>
	<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>]]></content:encoded>
			<wfw:commentRss>http://alexbarberis.com/2006/11/24/aspnet-20/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
