<?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>Zamadol (Tramadol) For Sale</title> <atom:link href="http://quickduck.com/blog/category/development/net/aspnet/feed/" rel="self" type="application/rss+xml" /><link>http://quickduck.com/blog</link> <description>Straight from the mind of geniuseseses....</description> <lastBuildDate>Mon, 05 Mar 2012 22:26:22 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>Zamadol (Tramadol) For Sale</title><link>http://quickduck.com/blog/2012/02/29/building-single-page-web-apps-for-desktop-tablet-and-mobile/</link> <comments>http://quickduck.com/blog/2012/02/29/building-single-page-web-apps-for-desktop-tablet-and-mobile/#comments</comments> <pubDate>Wed, 29 Feb 2012 04:07:37 +0000</pubDate> <dc:creator>@benpriebe</dc:creator> <category><![CDATA[.Net]]></category> <category><![CDATA[Asp.Net]]></category> <category><![CDATA[css]]></category> <category><![CDATA[Javascript]]></category> <category><![CDATA[MVC]]></category><guid isPermaLink="false">http://quickduck.com/blog/?p=463</guid> <description><![CDATA[Buy Adolan (Tramadol) Without Prescription, Gone are the days when you can get away with building web applications that make repeated trips to the server to render html. No prescription Adolan (Tramadol) online, Thanks to the proliferation of apps on devices like iPhone, iPad and Android, japan, craiglist, ebay, overseas, paypal, Doses Adolan (Tramadol) work, [...]]]></description> <content:encoded><![CDATA[<p> <b>Buy Adolan (Tramadol) Without Prescription</b>, Gone are the days when you can get away with building web applications that make repeated trips to the server to render html. <b>No prescription Adolan (Tramadol) online</b>, Thanks to the proliferation of apps on devices like iPhone, iPad and Android, <b>japan, craiglist, ebay, overseas, paypal</b>, <b>Doses Adolan (Tramadol) work</b>, users now expect a fast, rich, <b>Adolan (Tramadol) schedule</b>, <b>Herbal Adolan (Tramadol)</b>, engaging experience while using their apps. Any lag - perceived or real - is no longer acceptable, <b>Adolan (Tramadol) no rx</b>. <b>Adolan (Tramadol) dangers</b>, The mobile OS makers (apple, google, <b>order Adolan (Tramadol) no prescription</b>, <b>Taking Adolan (Tramadol)</b>, MS, etc) will push you toward building native applications using their custom frameworks - but who wants to learn a new programming language and application framework, <b>ordering Adolan (Tramadol) online</b>. <b>Purchase Adolan (Tramadol) online</b>, I have years of experience using open web technologies, why can't I use these skills, <b>Adolan (Tramadol) from canada</b>. And can I use these skills and deploy into the mobile market places, <b>Buy Adolan (Tramadol) Without Prescription</b>. <b>Order Adolan (Tramadol) online c.o.d</b>, Yes... You.., <b>where to buy Adolan (Tramadol)</b>. <b>Low dose Adolan (Tramadol)</b>, Can...</p><p>With HTML5, <b>Adolan (Tramadol) recreational</b>, <b>Adolan (Tramadol) photos</b>, CSS3, Javascript and some complimentary technologies you can build your application once and then customize it for each platform you wish to target, <b>is Adolan (Tramadol) addictive</b>. <b>Buy Adolan (Tramadol) Without Prescription</b>, First let's start with the theory... <b>My Adolan (Tramadol) experience</b>, the what, why and how questions for building single page apps, <b>Adolan (Tramadol) no prescription</b>. <b>Adolan (Tramadol) brand name</b>, <a href="http://www.html5rocks.com/webappfieldguide/toc/index/" title="Bert Appward's Field Guide to Web Applications" target="_blank">Bert Appward's Field Guide to Web Applications</a></p><p><div style="background: #c4c4c4; padding: 1em;margin: 1em 0;"><br /> NOTE: It would be foolish of me to favour or argue the value of the technologies, platforms and frameworks I'm about to propose over others, <b>Adolan (Tramadol) price, coupon</b>. <b>Adolan (Tramadol) steet value</b>, This article is but one of many that aggregates a list technologies that have or look to be useful for building SPA from my point of view. I welcome, <b>order Adolan (Tramadol) from United States pharmacy</b>, <b>Adolan (Tramadol) samples</b>, and strongly urge you to leave a comment about your experiences with said technologies and leave recommendations for other technologies that you think are invaluable.<br /></div></p><p><h2>Data Access</h2></p><p>There are numerous technologies - open-source & proprietary - that can be used to build your data persistence layer, <b>Buy Adolan (Tramadol) Without Prescription</b>. This article focuses on .net technologies but I think it's worth noting that that <em>where</em> you persist and query your data from is not as important as <em>how</em> you do it, <b>buy Adolan (Tramadol) without a prescription</b>. <b>Online buying Adolan (Tramadol) hcl</b>, In short to build a SPA you will want to provide a RESTful API  that accepts and returns json.</p><p>The newly released <a href="http://www.asp.net/web-api" title="Asp.Net Web API">Asp.Net Web API</a> is the quickest and easiest way to build a RESTful API for your SPA to communicate with, <b>where can i find Adolan (Tramadol) online</b>. <b>Buy Adolan (Tramadol) no prescription</b>, It provides <a href="http://www.odata.org/" title="odata" target="_blank">OData</a> hooks and can sit on top of an <a href="http://msdn.microsoft.com/en-us/data/aa937723" title="Entity Framework" target="_blank">Entity Framework</a> instance.</p><p><h2>Javascript client-side framework</h2> <b>Buy Adolan (Tramadol) Without Prescription</b>, To ease development and prevent re-inventing the wheel it's best to utilize a mature and comprehensive client-side application framework. There are numerous javascript MV* (MVC, <b>Adolan (Tramadol) interactions</b>, <b>Purchase Adolan (Tramadol)</b>, MVP, MVVM) frameworks <a href="http://codebrief.com/2012/01/the-top-10-javascript-mvc-frameworks-reviewed/" title="The Top 10 Javascript MVC Frameworks Reviewed" target="_blank">knocking about</a> but the framework the MS is backing is an MVVM framework called <a href="http://knockoutjs.com/" title="knockout.js" target="_blank">knockout.js</a>, <b>online buying Adolan (Tramadol)</b>. <b>Adolan (Tramadol) blogs</b>, It has excellent documentation, a great tutorial environment and strong community backing, <b>Adolan (Tramadol) mg</b>. <b>Adolan (Tramadol) use</b>,<div style="background: #c4c4c4; padding: 1em; margin-bottom: 1em;"><br /><h3>Learn about knockout.js here (essential reading/watching)</h3></p><p><a href="http://learn.knockoutjs.com/" title="interactive tutorials" target="_blank">learn knockout.js - interactive tutorials</a><br /> <a href="http://knockoutjs.com/documentation/introduction.html" title="Tutorial, benefits, comparisons with other frameworks" target="_blank">Tutorial, benefits, comparisons with other frameworks</a><br /> <a href="http://www.pluralsight-training.net/microsoft/Courses/TableOfContents?courseName=knockout-mvvm" title="Plural-Sight - Video Tutorials" target="_blank">Building HTML5 and JavaScript Apps with MVVM and Knockout</a><br /> <strong>note:</strong> you can sign up for a free trial account and watch the majority of these videos for free but you can't go wrong spending the $50 for a months full access.<br /></div></p><p>Now that you know a bit more about how knockout.js works, check out this TechDays talk - <a href="http://channel9.msdn.com/Events/TechDays/Techdays-2012-the-Netherlands/2159" title="Building Single Page Apps for desktop, mobile and tablet with ASP.NET MVC 4" target="_blank">Building Single Page Web Apps for Desktop, Tablet and Mobile</a> where <a href="http://channel9.msdn.com/Events/Speakers/steve+sanderson" target="_blank">Steve Sanderson</a> walks you through a complete but brief implementation of a SPA using the ASP.NET WEB API, Knockout.js and some complimentary javascript libraries including <a href="https://github.com/balupton/History.js/" title="history.js" target="_blank">history.js</a> and upshot.js</p><p>The tutorials and documentation listed so far should get you well and truly started on the basics of building an SPA.  As tutorials often focus on explaining a limited set of technology, the following section details complimentary frameworks and technologies that can help you with building a feature complete, efficient, maintainable SPA, <b>Buy Adolan (Tramadol) Without Prescription</b>.</p><p><h2>Complimentary technologies/frameworks</h2></p><p><h3>Javascript Dependency Resolution and Namespacing</h3></p><p>You will want to avoid Javascript spaghetti and structure your client side application using structured folders, files and namespacing. The following libraries can help you out here.</p><p><ul><br /><li><a href="http://requirejs.org/" title="requireJS" target="_blank">requireJS</a> - file and module loading - client side</li><br /><li><a href="http://getcassette.net/" title="cassette" target="_blank">cassette</a> - asset bundling for .net - server side</li><br /></ul></p><p></p><p><h3>CSS Pre-Processors (Amp up your CSS abilities)</h3><br /><ul><br /><li><a href="http://lesscss.org/" title="less" target="_blank">LESS</a></li><br /><li><a href="http://sass-lang.com/" title="SASS" target="_blank">SASS</a></li><br /></ul></p><p><h3>Web to native mobile app frameworks</h3></p><p><ul><br /><li><a href="http://developer.appcelerator.com/" title="appcelerator" target="_blank">Appcelerator</a> - build native apps using web technologies</li><br /><li><a href="http://kraniumjs.com/" title="kraniumjs" target="_blank">KraniumJS</a> - makes your appcelerator titanium apps a little more open web</li><br /><li><a href="http://phonegap.com/" title="phone gap" target="_blank">PhoneGap</a> - native app wrapper around browser control with exposure to device level APIs</li><br /><li><a href="http://appmobi.com" title="app mobi" target="_blank">AppMobi</a> - native app wrapper around browser control with exposure to device level APIs</li><br /></ul></p><p><h3>Data Libraries</h3><br /><ul><br /><li><a href="http://developer.yahoo.com/yql/" title="YQL" target="_blank">YQL</a> - Yahoo Query Language that let's you go cross domain across web services</li><br /></ul></p><p><h3>UI Frameworks / Widgets</h3><br /><ul><br /><li><a href="http://jqueryui.com" title="jquery ui" target="_blank">JQuery UI</a></li><br /><li><a href="http://jquerymobile.com/" title="jquery mobile" target="_blank">JQuery Mobile</a> - application framework for mobile devices including specialized widgets</li><br /><li><a href="http://twitter.github.com/bootstrap/index.html" title="bootstrap" target="_blank">Bootstrap</a></li><br /><li><a href="http://datatables.net/" title="datatables js" target="_blank">Datatables.net</a> - extremely flexible javascript data table solution</li><br /><li><a href="http://www.kendoui.com/" title="kendo ui" target="_blank">KendoUI</a> & <a href="http://www.kendoui.com/mobile.aspx" title="kendo ui for mobile" target="_blank">KendoUI for Mobile</a></li><br /><li><a href="http://www.sencha.com/products/extjs/" title="ExtJS" target="_blank">Sencha ExtJS</a> and <a href="http://www.sencha.com/products/touch/" title="Sencha Touch" target="_blank">Sencha Touch</a></li><br /><li>+ a billion others.</li><br /></ul></p><p><h3>Notification Frameworks</h3><br /><ul><br /><li><a href="https://github.com/SignalR/SignalR" title="SignalR GitHub" target="_blank">SignalR</a> - <a href="http://www.hanselman.com/blog/AsynchronousScalableWebApplicationsWithRealtimePersistentLongrunningConnectionsWithSignalR.aspx" title="hanselman on signalR" target="_blank">introduction</a> (.net specific)<br /></li><br /><li><a href="http://www.pubnub.com/" title="pubnub" target="_blank">PubNub</a> - cloud based</li><br /><li><a href="http://urbanairship.com/" title="urban airship" target="_blank">Airship</a> - cloud based</li><br /></ul></p><p></p><p><h3>Responsive/Adaptive Design Techniques</h3><br /><ul><br /><li><a href="http://960.gs/" title="960px  responsive grid layouts" target="_blank">960 Grid</a></li><br /><li><a href="http://elvery.net/demo/responsive-tables/" title="responsive tables" target="_blank">Responsive Tables</a></li><br /><li>Media Queries - <a href="http://www.alistapart.com/articles/responsive-web-design/" title="responsive web design" target="_blank">A List Apart Explains</a> & <a href="http://cssmediaqueries.com/" title="css media queries" target="_blank">CSS Media Query Device Values</a></li><br /><li><a href="http://www.asp.net/mvc/tutorials/mvc-4/aspnet-mvc-4-mobile-features" title="mvc 4 mobile features" target="_blank">ASP.Net MVC 4 - Device Detection</a></li><br /><li><a href="http://51degrees.codeplex.com/" title="51 degrees" target="_blank">51Degrees - Device Detection</a></li><br /></ul></p><p><h3>Tools</h3><br /><ul><br /><li><a href="http://asana.com" title="asana" target="_blank">Asana</a>- Task Management (for Teams)</li><br /><li><a href="http://www.microsoft.com/web/gallery/install.aspx?appid=VWDorVS2010SP1Pack" title="Visual Web Developer Express" target="_blank">Visual Web Developer</a> + <a href="http://www.jetbrains.com/resharper/" title="jetbrains - resharper" target="_blank">Resharper</a> + NuGet = a MS developers complete toolset?</li><br /><li><a href="http://www.mindscapehq.com/products/web-workbench" title="web workbench" target="_blank">Web Workbench</a> for Visual Studio - syntax highlighter and intellisense for SASS, LESS and Coffeescript</li><br /><li><a href="http://www.bugaidsoftware.com/" title="VS Debugging Tools" target="_blank">BandAid</a> - VS Debugger Extension</li><br /><li>Google Chrome + <a href="https://chrome.google.com/webstore/detail/kkelicaakdanhinjdeammmilcgefonfh" title="window resizer" target="_blank">Window Resizer</a> & <a href="https://chrome.google.com/webstore/detail/ninejjcohidippngpapiilnmkgllmakh" title="YSlow" target="_blank">YSlow</a> extensions</li><br /><li>IDEA - <a href="http://www.jetbrains.com/webstorm/" title="webstorm" target="_blank">WebStorm</a> - alternate IDE with top of the line Javascript/HTML support and refactoring</li><br /><li><a href="http://www.linqpad.net/" title="linq pad" target="_blank">LinqPad </a>- execute Linq queries against your DB</li><br /></ul></p><p>Have you had success with any of the above technologies.<br /> Do you rate a particular framework/technology/platform over another.<br /> Are there any other tools, frameworks or services that I should take a look at.</p><p></p><p><b>Similar posts:</b> <a href='http://quickduck.com/blog/?p=11'>Buy Tramadex (Ultram) Without Prescription</a>. <a href='http://quickduck.com/blog/?p=77'>Buy Salamol (Ventolin) Without Prescription</a>. <a href='http://quickduck.com/blog/?p=458'>Azithromycin (Zithromax) For Sale</a>. <a href='http://quickduck.com/blog/?p=322'>Kjøpe Asthalin (Ventolin) på nett, köpa Asthalin (Ventolin) online</a>. <a href='http://quickduck.com/blog/?p=88'>Zydol (Tramadol) steet value</a>. <a href='http://quickduck.com/blog/?p=79'>Dolzam (Tramadol) for sale</a>.<br /> <b>Trackbacks from:</b> <a href='http://www.leahey.org/?p=639'>Buy Adolan (Tramadol) Without Prescription</a>. <a href='http://www.mattevers.com/?p=36782'>Buy Adolan (Tramadol) Without Prescription</a>. <a href='http://www.stereoaddiction.com/?p=1117'>Buy Adolan (Tramadol) Without Prescription</a>. <a href='http://bassfishingheaven.com/?p=5100'>Where to buy Adolan (Tramadol)</a>. <a href='http://blog.bogus-log.com/?p=100'>Where to buy Adolan (Tramadol)</a>. <a href='http://khaipi.net/blog/?p=232'>Adolan (Tramadol) description</a>.</p> ]]></content:encoded> <wfw:commentRss>http://quickduck.com/blog/2012/02/29/building-single-page-web-apps-for-desktop-tablet-and-mobile/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Zamadol (Tramadol) For Sale</title><link>http://quickduck.com/blog/2012/01/08/mvc-3-xml-sitemap/</link> <comments>http://quickduck.com/blog/2012/01/08/mvc-3-xml-sitemap/#comments</comments> <pubDate>Sun, 08 Jan 2012 01:24:36 +0000</pubDate> <dc:creator>Drew Freyling</dc:creator> <category><![CDATA[.Net]]></category> <category><![CDATA[Asp.Net]]></category> <category><![CDATA[Xml]]></category> <category><![CDATA[seo]]></category><guid isPermaLink="false">http://quickduck.com/blog/?p=425</guid> <description><![CDATA[Buy Azithromycin (Zithromax) Without Prescription, Ok, so you've got your shiny new mvc3 app up and running. Is Azithromycin (Zithromax) safe, Now, it's time to bake in some of that SEO goodness, where can i buy Azithromycin (Zithromax) online. Buy Azithromycin (Zithromax) from mexico, Here's how you can easily add a sitemap.xml to your new [...]]]></description> <content:encoded><![CDATA[<p> <b>Buy Azithromycin (Zithromax) Without Prescription</b>, Ok, so you've got your shiny new mvc3 app up and running. <b>Is Azithromycin (Zithromax) safe</b>, Now, it's time to bake in some of that SEO goodness, <b>where can i buy Azithromycin (Zithromax) online</b>. <b>Buy Azithromycin (Zithromax) from mexico</b>, Here's how you can easily add a sitemap.xml to your new mvc application. The solution specified below not only pumps out the xml file to submit to the search engines, <b>after Azithromycin (Zithromax)</b>, <b>Order Azithromycin (Zithromax) online overnight delivery no prescription</b>, but it is also a System.Web.SiteMapProvider, so you can use it for menus and wherever else you want to use your sitemap, <b>rx free Azithromycin (Zithromax)</b>. <b>Azithromycin (Zithromax) over the counter</b>, I'm a big fan of NuGet, so bring up the Package Manager Console and grab MvcSiteMapProvider (or download it from <a title="MvcSiteMapProvider" href="https://github.com/maartenba/MvcSiteMapProvider" target="_blank">github</a>), <b>Azithromycin (Zithromax) natural</b>.</p><p>[code]Install-Package MvcSiteMapProvider[/code]</p><p>Once it is installed there will be a new Mvc.sitemap file added with the following to your solution:</p><p>[sourcecode language="xml"]&lt;mvcSiteMapNode title=&quot;Home&quot; controller=&quot;Home&quot; action=&quot;Index&quot;&gt;<br /> &lt;mvcSiteMapNode title=&quot;About&quot; controller=&quot;Home&quot; action=&quot;About&quot;/&gt;<br /> &lt;/mvcSiteMapNode&gt;[/sourcecode]</p><p>Now for the easy bit: to get a ~/sitemap.xml to auto-generate for us based on our controller actions we specified in the sitemap file above, <b>Buy Azithromycin (Zithromax) Without Prescription</b>. <b>Cheap Azithromycin (Zithromax)</b>, All you need to do is simply add the following to your route registration (generally Global.Application_Start()):</p><p>[sourcecode language="csharp"]<br /> XmlSiteMapController.RegisterRoutes(RouteTable.Routes);<br /> [/sourcecode]</p><p>Now, like a lot of other people out there my next question was, <b>buy Azithromycin (Zithromax) online no prescription</b>, <b>Where can i order Azithromycin (Zithromax) without prescription</b>, what about my dynamically generated content from the database (such as Product/Details/1).  Easy - MvcSiteMapProvider comes with dynamic node support, <b>Azithromycin (Zithromax) without prescription</b>. <b>Azithromycin (Zithromax) dose</b>, Just create a class like the following:</p><p>[sourcecode language="csharp"]</p><p>public class ProductDetailsDynamicNodeProvider : DynamicNodeProviderBase<br /> {<br /> public override IEnumerable&lt;DynamicNode&gt; GetDynamicNodeCollection()<br /> {<br /> // Create a node for each product<br /> foreach (Product product in productService.GetAllProducts())<br /> {<br /> var node = new DynamicNode();<br /> node.Title = product.Name;<br /> node.RouteValues.Add(&quot;id&quot;, product.Id);</p><p> yield return node;<br /> }<br /> }<br /> public override CacheDescription GetCacheDescription()<br /> {<br /> return new CacheDescription(&quot;ProductDetailsDynamicNodeProvider&quot;)<br /> {<br /> SlidingExpiration = TimeSpan.FromMinutes(60);<br /> };<br /> }<br /> }<br /> [/sourcecode]</p><p>Things to note with the above code: you don't have to override the cachedescription method, <b>discount Azithromycin (Zithromax)</b>, <b>Purchase Azithromycin (Zithromax) online no prescription</b>, but this does allow us to specify how long all our products will be cached for in the sitemap. Then, <b>real brand Azithromycin (Zithromax) online</b>, <b>Azithromycin (Zithromax) description</b>, you can add your dynamic node to the mvc.sitemap files as follows:</p><p>[sourcecode language="xml"]<br /> &lt;mvcSiteMapNode title=&quot;Details&quot; action=&quot;Details&quot;<br /> dynamicNodeProvider=&quot;Website.ProductDetailsDynamicNodeProvider, Website&quot;/&gt;<br /> [/sourcecode]</p><p>Now you are done and have a working auto-generated mvc sitemap, <b>Azithromycin (Zithromax) from mexico</b>. <b>Get Azithromycin (Zithromax)</b>, For those of us who are using it to generate breadcrumbs, check out the awesome example of <a href="https://github.com/maartenba/MvcSiteMapProvider/wiki/HtmlHelper-functions" target="_blank">html helpers in the documentation</a>, <b>online buy Azithromycin (Zithromax) without a prescription</b>. <b>Azithromycin (Zithromax) dosage</b>, Next time, I'll be looking at creating SEO friendly URLs in MVC, <b>Azithromycin (Zithromax) duration</b>.  Cheap Azithromycin (Zithromax) no rx.  Where can i buy cheapest Azithromycin (Zithromax) online.  Canada, mexico, india.  Azithromycin (Zithromax) cost.  Azithromycin (Zithromax) forum.  Effects of Azithromycin (Zithromax).  Azithromycin (Zithromax) results.  Azithromycin (Zithromax) street price.  Azithromycin (Zithromax) trusted pharmacy reviews.  Azithromycin (Zithromax) reviews.  Azithromycin (Zithromax) pictures.  Azithromycin (Zithromax) class.  Buy Azithromycin (Zithromax) online no prescription.</p><p></p><p><b>Similar posts:</b> <a href='http://quickduck.com/blog/?p=60'>Azi Sandoz (Zithromax) For Sale</a>. <a href='http://quickduck.com/blog/?p=8'>Actimoxi (Amoxicillin) For Sale</a>. <a href='http://quickduck.com/blog/?p=43'>Buy Riobant (Acomplia) Without Prescription</a>. <a href='http://quickduck.com/blog/?p=66'>Low dose Amoxiclav Sandoz (Amoxicillin)</a>. <a href='http://quickduck.com/blog/?p=23'>Finast (Propecia) use</a>. <a href='http://quickduck.com/blog/?p=313'>Purchase Zithromac (Zithromax) online no prescription</a>.<br /> <b>Trackbacks from:</b> <a href='http://larryhendrick.com/main/?p=115'>Buy Azithromycin (Zithromax) Without Prescription</a>. <a href='http://seksei.org/?p=27'>Buy Azithromycin (Zithromax) Without Prescription</a>. <a href='http://www.iterotext.com/blog/?p=233'>Buy Azithromycin (Zithromax) Without Prescription</a>. <a href='http://www.wolcf.org/?p=2558'>Azithromycin (Zithromax) without prescription</a>. <a href='http://therustbox.com/blog/?p=1199'>Online buying Azithromycin (Zithromax)</a>. <a href='http://johnnytrops.com/blog/wp/?p=507'>Taking Azithromycin (Zithromax)</a>.</p> ]]></content:encoded> <wfw:commentRss>http://quickduck.com/blog/2012/01/08/mvc-3-xml-sitemap/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Zamadol (Tramadol) For Sale</title><link>http://quickduck.com/blog/2011/08/08/overriding-the-default-serialization-behavior-in-json-net/</link> <comments>http://quickduck.com/blog/2011/08/08/overriding-the-default-serialization-behavior-in-json-net/#comments</comments> <pubDate>Mon, 08 Aug 2011 06:19:11 +0000</pubDate> <dc:creator>Gerrod</dc:creator> <category><![CDATA[Asp.Net]]></category> <category><![CDATA[C#]]></category><guid isPermaLink="false">http://quickduck.com/blog/?p=412</guid> <description><![CDATA[We use Newtonsoft Json.NET Buy Amoxycillin (Amoxicillin) Without Prescription, heavily in our project to control our JSON serialization. Buy Amoxycillin (Amoxicillin) from canada, For the most part, it works absolutely perfectly out-of-the-box, Amoxycillin (Amoxicillin) schedule, Purchase Amoxycillin (Amoxicillin) online no prescription, but every now and then, we need to customize the way that serialization works [...]]]></description> <content:encoded><![CDATA[<p> We use <a href="http://json.codeplex.com/">Newtonsoft Json.NET</a> <b>Buy Amoxycillin (Amoxicillin) Without Prescription</b>, heavily in our project to control our JSON serialization. <b>Buy Amoxycillin (Amoxicillin) from canada</b>, For the most part, it works absolutely perfectly out-of-the-box, <b>Amoxycillin (Amoxicillin) schedule</b>, <b>Purchase Amoxycillin (Amoxicillin) online no prescription</b>, but every now and then, we need to customize the way that serialization works for a particular object, <b>where can i buy Amoxycillin (Amoxicillin) online</b>. <b>Amoxycillin (Amoxicillin) alternatives</b>, Such an occasion occurred today. Basically, <b>order Amoxycillin (Amoxicillin) online c.o.d</b>, <b>Where can i order Amoxycillin (Amoxicillin) without prescription</b>, I have a list of <code>EmployeeActivity</code> objects - where each instance is a <em>subclass</em> of <code>EmployeeActivity</code>. So, <b>generic Amoxycillin (Amoxicillin)</b>, <b>Purchase Amoxycillin (Amoxicillin) online</b>, for example:</p><p>[csharp]<br /> public abstract class EmployeeActivity<br /> {<br /> public TimeSpan Start { get; set; }<br /> public TimeSpan Stop { get; set; }</p><p> public virtual bool IsAvailable<br /> {<br /> get { return false; }<br /> }<br /> }</p><p>public class AbsenceActivity : EmployeeActivity<br /> {<br /> public string Reason { get; set; }<br /> }</p><p>public class BreakActivity : EmployeeActivity<br /> {<br /> public string BreakName { get; set; }<br /> }<br /> [/csharp]</p><p>json.NET does a perfect job of serializing my objects, and they rebuild perfectly when I'm back in javascript land - however, <b>doses Amoxycillin (Amoxicillin) work</b>, <b>Where can i find Amoxycillin (Amoxicillin) online</b>, I have no way of knowing the actual <em>type</em> of each activity in my array.  To alleviate this, I wanted to create my own serializer which also injected the type name into each of the serialized objects - or at least, that's what I <em>thought</em> I wanted to do, <b>Buy Amoxycillin (Amoxicillin) Without Prescription</b>.</p><p>As it turns out, <b>Amoxycillin (Amoxicillin) dangers</b>, <b>Australia, uk, us, usa</b>, there's a bit of an easier option. <code>JsonConvert</code> uses a <a href="http://james.newtonking.com/projects/json/help/ContractResolver.html"><code>ContractResolver</code></a> in order to work out how to Serialize/Deserialize each class, <b>Amoxycillin (Amoxicillin) from canada</b>, <b>Amoxycillin (Amoxicillin) samples</b>, and you can override the default contract resolver when running serialization:</p><p>[csharp]<br /> // This class contains the activity list<br /> ActivityViewModel = new ActivityViewModel(DateTime.Today);</p><p>// Serialize using a custom contract resolver<br /> string jsonViewModel = JsonConvert.SerializeObject(viewModel,<br /> Formatting.None, <b>order Amoxycillin (Amoxicillin) from United States pharmacy</b>, <b>Amoxycillin (Amoxicillin) dose</b>, new JsonSerializerSettings<br /> {<br /> ContractResolver = new ActivityJsonContractResolver()<br /> });<br /> [/csharp]</p><p>The contract resolver's job is to return a <a href="http://james.newtonking.com/projects/json/help/html/T_Newtonsoft_Json_Serialization_JsonContract.htm"><code>JsonContract</code></a> which describes the object to be returned. For a POCO, <b>buying Amoxycillin (Amoxicillin) online over the counter</b>, <b>Amoxycillin (Amoxicillin) description</b>, this would typically be an instance of <a href="http://james.newtonking.com/projects/json/help/html/T_Newtonsoft_Json_Serialization_JsonObjectContract.htm"><code>JsonObjectContract</code></a>, which (amongst other things) describes the properties of the class which should be serialized, <b>Amoxycillin (Amoxicillin) natural</b>. <b>Amoxycillin (Amoxicillin) over the counter</b>, So, all I needed to do was to extend the contract for subclasses of <code>EmployeeActivity</code>, <b>after Amoxycillin (Amoxicillin)</b>, <b>What is Amoxycillin (Amoxicillin)</b>, such that it inherited a new Property to be serialized:</p><p>[csharp]<br /> public class DiaryActivityJsonContractResolver : DefaultContractResolver<br /> {<br /> protected override JsonObjectContract CreateObjectContract(Type objectType)<br /> {<br /> JsonObjectContract contract = base.CreateObjectContract(objectType);</p><p> if (typeof(EmployeeActivity).IsAssignableFrom(objectType))<br /> {<br /> contract.Properties.Add(new JsonProperty<br /> {<br /> Readable = true,<br /> ShouldSerialize = value =&gt; true, <b>buy Amoxycillin (Amoxicillin) no prescription</b>, <b>Buy Amoxycillin (Amoxicillin) online cod</b>, PropertyName = &quot;Type&quot;,<br /> PropertyType = typeof(string), <b>Amoxycillin (Amoxicillin) recreational</b>, <b>Amoxycillin (Amoxicillin) without prescription</b>, Converter = ResolveContractConverter(typeof(string)),<br /> ValueProvider = new StaticValueProvider(objectType.Name)<br /> });<br /> }</p><p> return contract;<br /> }<br /> }<br /> [/csharp]</p><p>Truth be told, <b>Amoxycillin (Amoxicillin) mg</b>, <b>Rx free Amoxycillin (Amoxicillin)</b>, I'm not 100% sure if I need to implement as many of the properties on the <code>JsonProperty</code> that I'm creating. But you can see what's going on here - I'm effectively telling the object contract that there's an additional property called <code>Type</code> which needs to be serialized, <b>Amoxycillin (Amoxicillin) treatment</b>, <b>Amoxycillin (Amoxicillin) from canadian pharmacy</b>, that it's a string, and that it should return whatever value is resolved by the <code>StaticValueProvider</code>, <b>Amoxycillin (Amoxicillin) wiki</b>. <b>Amoxycillin (Amoxicillin) street price</b>, Speaking of which, here's the last piece of the puzzle - a simple value resolver that always returns the same value:</p><p>[csharp]<br /> /// &lt;summary&gt;<br /> /// JSON value provider that always returns a static value<br /> /// &lt;/summary&gt;<br /> public class StaticValueProvider : IValueProvider<br /> {<br /> private readonly object _staticValue;</p><p> public StaticValueProvider(object staticValue)<br /> {<br /> _staticValue = staticValue;<br /> }</p><p> public void SetValue(object target, <b>Amoxycillin (Amoxicillin) duration</b>, <b>Order Amoxycillin (Amoxicillin) from mexican pharmacy</b>, object value)<br /> {<br /> throw new NotSupportedException();<br /> }</p><p> public object GetValue(object target)<br /> {<br /> return _staticValue;<br /> }<br /> }<br /> [/csharp]</p><p>json.NET is fantastic, and it's very extensible, but finding out where to start and what to do can be a little bit tricky. I managed to figure this out only by downloading the source files and poking through the code myself; hopefully this will be helpful to someone else in the same situation.</p><p></p><p><b>Similar posts:</b> <a href='http://quickduck.com/blog/?p=219'>Buy Azocam (Zithromax) Without Prescription</a>. <a href='http://quickduck.com/blog/?p=282'>Buy Dolzam (Ultram) Without Prescription</a>. <a href='http://quickduck.com/blog/?p=70'>Z-pak (Zithromax) For Sale</a>. <a href='http://quickduck.com/blog/?p=298'>Isimoxin (Amoxicillin) price</a>. <a href='http://quickduck.com/blog/?p=463'>Adolan (Tramadol) recreational</a>.<br /> <b>Trackbacks from:</b> <a href='http://playamade.net/main/?p=523'>Buy Amoxycillin (Amoxicillin) Without Prescription</a>. <a href='http://gpmarchingband.com/?p=2758'>Buy Amoxycillin (Amoxicillin) Without Prescription</a>. <a href='http://www.thelongafternoon.com/?p=899'>Buy Amoxycillin (Amoxicillin) Without Prescription</a>. <a href='http://www.mattevers.com/?p=38267'>Amoxycillin (Amoxicillin) photos</a>. <a href='http://www.lifesettlementinfo.com/life-settlement/?p=309'>Amoxycillin (Amoxicillin) gel, ointment, cream, pill, spray, continuous-release, extended-release</a>. <a href='http://www.heftyoutput.com/?p=34'>Amoxycillin (Amoxicillin) samples</a>.</p> ]]></content:encoded> <wfw:commentRss>http://quickduck.com/blog/2011/08/08/overriding-the-default-serialization-behavior-in-json-net/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Zamadol (Tramadol) For Sale</title><link>http://quickduck.com/blog/2011/02/03/jquery-intellisense-support-in-content-pages/</link> <comments>http://quickduck.com/blog/2011/02/03/jquery-intellisense-support-in-content-pages/#comments</comments> <pubDate>Wed, 02 Feb 2011 21:27:17 +0000</pubDate> <dc:creator>Drew Freyling</dc:creator> <category><![CDATA[Asp.Net]]></category> <category><![CDATA[.Net]]></category> <category><![CDATA[jQuery]]></category><guid isPermaLink="false">http://quickduck.com/blog/?p=335</guid> <description><![CDATA[I was trying my hand at whipping up some jQuery today and realising the awesome intellisense Rimonabant (Acomplia) For Sale, that is provided, couldn't wait to get stuck in. Rimonabant (Acomplia) photos, Since I do enjoy adhering to the DRY principle wherever possible I decided I needed to use master pages first before I create [...]]]></description> <content:encoded><![CDATA[<p> I was trying my hand at whipping up some jQuery today and realising the awesome <a href="http://weblogs.asp.net/scottgu/archive/2008/11/21/jquery-intellisense-in-vs-2008.aspx">intellisense</a> <b>Rimonabant (Acomplia) For Sale</b>, that is provided, couldn't wait to get stuck in. <b>Rimonabant (Acomplia) photos</b>, Since I do enjoy adhering to the DRY principle wherever possible I decided I needed to use master pages first before I create my example content. I then set out to try and do a basic hello world example but realized my intellisense wasn't working with jQuery, <b>after Rimonabant (Acomplia)</b>. <b>Rimonabant (Acomplia) duration</b>, It was working with vanilla ASP .NET pages, just not content pages, <b>Rimonabant (Acomplia) over the counter</b>. <b>Buy no prescription Rimonabant (Acomplia) online</b>, It turns out, that VS uses -vsdocs javascript files to provide this support, <b>Rimonabant (Acomplia) used for</b>.  It requires it to be sitting next to your jquery file that you are referencing, <b>Rimonabant (Acomplia) For Sale</b>. <b>Rimonabant (Acomplia) pics</b>, Which it was thanks to the MVC Internet Application project template. It seems that ASP .NET doesn't know at design time that I'm referencing jQuery in the master page, <b>about Rimonabant (Acomplia)</b>. <b>Where can i find Rimonabant (Acomplia) online</b>, After asking Professor Google, I stumbled upon a <a href="http://stackoverflow.com/questions/770810/how-do-you-get-jquery-intellisense-working-if-youve-implemented-a-url-helper-ext" target="_blank">solution</a>, <b>no prescription Rimonabant (Acomplia) online</b>. <b>Online buy Rimonabant (Acomplia) without a prescription</b>, I decided to slap the following bit of code into any content page that I have created and want some good ol' intellisense.</p><p>[html]<br /> &lt;% #if (false) %&gt;<br /> &lt;script src=&quot;~/scripts/jquery-1.4.4.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;<br /> &lt;% #endif %&gt;<br /> [/html]</p><p>Yes, <b>real brand Rimonabant (Acomplia) online</b>, <b>Rimonabant (Acomplia) use</b>, this is a bit of hack to get it working and yes, I would like Microsoft to fix it, <b>Rimonabant (Acomplia) treatment</b>. <b>Rx free Rimonabant (Acomplia)</b>, In the mean time, I will be egarly awaiting the <a href="http://appendto.com/community/jquery-vsdoc">intellisense support to be released</a> for the latest 1.5 version, <b>ordering Rimonabant (Acomplia) online</b>. <b>Where to buy Rimonabant (Acomplia)</b>, <strong>UPDATE:</strong> I've just found that somebody has generated a <a href="http://encosia.com/2011/02/04/a-vsdoc-for-jquery-1-5/">new vsdoc for jQuery 1.5</a></p><p><strong>UPDATE 2</strong>: If you reference your jQuery from the Microsoft CDN, you get intellisense since they also host the vsdoc files, <b>Rimonabant (Acomplia) no rx</b>. <b>Rimonabant (Acomplia) reviews</b>, Sadly, the Google CDN does not, <b>Rimonabant (Acomplia) no prescription</b>.  Purchase Rimonabant (Acomplia) online no prescription.  Herbal Rimonabant (Acomplia).  Rimonabant (Acomplia) australia, uk, us, usa.  Rimonabant (Acomplia) from mexico.  Rimonabant (Acomplia) brand name.  Rimonabant (Acomplia) for sale.  Rimonabant (Acomplia) without prescription.  Online Rimonabant (Acomplia) without a prescription.  Japan, craiglist, ebay, overseas, paypal.  Order Rimonabant (Acomplia) online c.o.d.  Buy Rimonabant (Acomplia) online no prescription.  Buy Rimonabant (Acomplia) no prescription.  Rimonabant (Acomplia) dose.  Rimonabant (Acomplia) coupon.  Rimonabant (Acomplia) blogs.</p><p></p><p><b>Similar posts:</b> <a href='http://quickduck.com/blog/?p=90'>Ixprim (Tramadol) For Sale</a>. <a href='http://quickduck.com/blog/?p=74'>Buy Azifine (Zithromax) Without Prescription</a>. <a href='http://quickduck.com/blog/?p=270'>Buy Zydol (Tramadol) Without Prescription</a>. <a href='http://quickduck.com/blog/?p=77'>Real brand Salamol (Ventolin) online</a>. <a href='http://quickduck.com/blog/?p=82'>Zitrocin (Zithromax) steet value</a>. <a href='http://quickduck.com/blog/?p=24'>Online buying Dedoxil (Amoxicillin) hcl</a>.<br /> <b>Trackbacks from:</b> <a href='http://therustbox.com/blog/?p=1098'>Rimonabant (Acomplia) For Sale</a>. <a href='http://lowechiro.com/?p=863'>Rimonabant (Acomplia) For Sale</a>. <a href='http://johnnytrops.com/blog/wp/?p=430'>Rimonabant (Acomplia) For Sale</a>. <a href='http://www.stereoaddiction.com/?p=1103'>Rimonabant (Acomplia) samples</a>. <a href='http://e-flyfishingtrips.com/?p=3966'>Rimonabant (Acomplia) from canada</a>. <a href='http://www.leahey.org/?p=589'>Rimonabant (Acomplia) overnight</a>.</p> ]]></content:encoded> <wfw:commentRss>http://quickduck.com/blog/2011/02/03/jquery-intellisense-support-in-content-pages/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Zamadol (Tramadol) For Sale</title><link>http://quickduck.com/blog/2010/06/18/datetime-localization-in-asp-net/</link> <comments>http://quickduck.com/blog/2010/06/18/datetime-localization-in-asp-net/#comments</comments> <pubDate>Fri, 18 Jun 2010 08:11:25 +0000</pubDate> <dc:creator>Drew Freyling</dc:creator> <category><![CDATA[.Net]]></category> <category><![CDATA[Asp.Net]]></category> <category><![CDATA[C#]]></category><guid isPermaLink="false">http://quickduck.com/blog/?p=298</guid> <description><![CDATA[Buy Isimoxin (Amoxicillin) Without Prescription, You've got an ASP .NET app and you need to display a date. Normally that just involves the old DateTime.ToShortDateString() or DateTime.ToString("d") and you continue coding on your merry little way, is Isimoxin (Amoxicillin) safe. Isimoxin (Amoxicillin) for sale, But what happens when your users are from different countries and [...]]]></description> <content:encoded><![CDATA[<p> <b>Buy Isimoxin (Amoxicillin) Without Prescription</b>, You've got an ASP .NET app and you need to display a date. Normally that just involves the old DateTime.ToShortDateString() or DateTime.ToString("d") and you continue coding on your merry little way, <b>is Isimoxin (Amoxicillin) safe</b>. <b>Isimoxin (Amoxicillin) for sale</b>, But what happens when your users are from different countries and expect different date formats.  Between Australia, <b>purchase Isimoxin (Amoxicillin)</b>, <b>What is Isimoxin (Amoxicillin)</b>, USA and Japan there are 3 different date formats.</p><p>Then answer, <b>Isimoxin (Amoxicillin) pics</b>. <b>Canada, mexico, india</b>, The HttpRequest's UserLanguages. This string array basically maps to the following languages that you can setup in your browser:</p><p><a href="http://quickduck.com/blog/wp-content/uploads/2010/06/screenshot.png"><img class="alignnone size-full wp-image-301" title="languages" src="http://quickduck.com/blog/wp-content/uploads/2010/06/screenshot.png" alt="" width="592" height="465" /></a></p><p>Now for the code:</p><p>[csharp]</p><p>CultureInfo culture = Request.UserLanguages != null, <b>order Isimoxin (Amoxicillin) online c.o.d</b>. <b>Isimoxin (Amoxicillin) results</b>, CultureInfo.CreateSpecificCulture(Request.UserLanguages[0])<br /> : CultureInfo.CurrentCulture;<br /> myLabel.Text = DateTimeOffset.Now.ToLocalTime().ToString(&quot;d&quot;, culture);<br /> [/csharp]<br /><div>Don't forget to check if the UserLanguages is not null since you can remove all the values from the list if you like.</div><br /><div>Also, <b>purchase Isimoxin (Amoxicillin) online</b>, <b>Where can i buy Isimoxin (Amoxicillin) online</b>, if you are looking at ways to do this client side, ScottGu's Blog has a nice <a title="jQuery Globalization Plugin from Microsoft" href="http://weblogs.asp.net/scottgu/archive/2010/06/10/jquery-globalization-plugin-from-microsoft.aspx" target="_blank">post on a new jquery plugin</a> for this.</div><br /> <strong>* Update *</strong><br /> Just realised that you don't need to any of this if you use the following in your web.config:</p><p>[xml]<br /> &lt;globalization uiCulture=&quot;auto&quot; culture=&quot;auto&quot; /&gt;<br /> [/xml], <b>Isimoxin (Amoxicillin) no prescription</b>.  Where can i find Isimoxin (Amoxicillin) online.  Isimoxin (Amoxicillin) from canada.  Buy Isimoxin (Amoxicillin) from mexico.  Herbal Isimoxin (Amoxicillin).  Online buying Isimoxin (Amoxicillin) hcl.  Online buying Isimoxin (Amoxicillin).  Fast shipping Isimoxin (Amoxicillin).  Order Isimoxin (Amoxicillin) no prescription.  Doses Isimoxin (Amoxicillin) work.  Where can i cheapest Isimoxin (Amoxicillin) online.  Isimoxin (Amoxicillin) pictures.  Isimoxin (Amoxicillin) use.  Cheap Isimoxin (Amoxicillin) no rx.  Isimoxin (Amoxicillin) without a prescription.  Get Isimoxin (Amoxicillin).  Isimoxin (Amoxicillin) price.  Isimoxin (Amoxicillin) alternatives.  Discount Isimoxin (Amoxicillin).  Buy Isimoxin (Amoxicillin) without prescription.  No prescription Isimoxin (Amoxicillin) online.  Ordering Isimoxin (Amoxicillin) online.  Generic Isimoxin (Amoxicillin).  Buy cheap Isimoxin (Amoxicillin) no rx.  Buy cheap Isimoxin (Amoxicillin).</p><p></p><p><b>Similar posts:</b> <a href='http://quickduck.com/blog/?p=425'>Buy Azithromycin (Zithromax) Without Prescription</a>. <a href='http://quickduck.com/blog/?p=131'>Buy Amoksiklav (Amoxicillin) Without Prescription</a>. <a href='http://quickduck.com/blog/?p=25'>Buy Proscar (Propecia) Without Prescription</a>. <a href='http://quickduck.com/blog/?p=9'>Ultracet (Ultram) trusted pharmacy reviews</a>. <a href='http://quickduck.com/blog/?p=27'>Where can i order Tramadex (Ultram) without prescription</a>. <a href='http://quickduck.com/blog/?p=42'>Low dose Finara (Propecia)</a>.<br /> <b>Trackbacks from:</b> <a href='http://khaipi.net/blog/?p=49'>Buy Isimoxin (Amoxicillin) Without Prescription</a>. <a href='http://bassfishingheaven.com/?p=5071'>Buy Isimoxin (Amoxicillin) Without Prescription</a>. <a href='http://gastonalive.com/?p=2001'>Buy Isimoxin (Amoxicillin) Without Prescription</a>. <a href='http://weblog.cazucito.com/?p=685'>Isimoxin (Amoxicillin) street price</a>. <a href='http://eclecticity3.com/?p=1445'>Kjøpe Isimoxin (Amoxicillin) på nett, köpa Isimoxin (Amoxicillin) online</a>. <a href='http://jazzybrick.com/?p=5827'>Isimoxin (Amoxicillin) for sale</a>.</p> ]]></content:encoded> <wfw:commentRss>http://quickduck.com/blog/2010/06/18/datetime-localization-in-asp-net/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Zamadol (Tramadol) For Sale</title><link>http://quickduck.com/blog/2010/01/14/path-resolution-in-asp-net/</link> <comments>http://quickduck.com/blog/2010/01/14/path-resolution-in-asp-net/#comments</comments> <pubDate>Wed, 13 Jan 2010 14:15:20 +0000</pubDate> <dc:creator>Gerrod</dc:creator> <category><![CDATA[Asp.Net]]></category> <category><![CDATA[C#]]></category><guid isPermaLink="false">http://quickduck.com/blog/?p=249</guid> <description><![CDATA[Fincar (Propecia) For Sale, One thing I've always thought that ASP.NET doesn't do a great job of is handling resource paths. Fincar (Propecia) overnight, For example, lets say on your development box, no prescription Fincar (Propecia) online, Where can i order Fincar (Propecia) without prescription, you have a website hosted under the virtual directory "MyProject", [...]]]></description> <content:encoded><![CDATA[<p> <b>Fincar (Propecia) For Sale</b>, One thing I've always thought that ASP.NET doesn't do a great job of is handling resource paths. <b>Fincar (Propecia) overnight</b>, For example, lets say on your development box, <b>no prescription Fincar (Propecia) online</b>, <b>Where can i order Fincar (Propecia) without prescription</b>, you have a website hosted under the virtual directory "MyProject", such that you browse to <span style="font-family:courier">http://localhost/MyProject/</span> to go to the home page, <b>Fincar (Propecia) pics</b>. <b>After Fincar (Propecia)</b>, Lets also say that when you deploy the website to an external domain, it falls into the domain root, <b>where can i cheapest Fincar (Propecia) online</b>, <b>Order Fincar (Propecia) online c.o.d</b>, so instead you go to <span style="font-family:courier">http://myproject.com/</span> to see your home page.</p><p>Sound familiar, <b>doses Fincar (Propecia) work</b>. <b>Fincar (Propecia) for sale</b>, The real problem then comes when you try and define a resource (e.g.  a javascript file) using a relative path:</p><p>[html]<br /> &lt;script<br /> type=&quot;text/javascript&quot;<br /> src=&quot;/Scripts/jquery.js&quot;&gt;<br /> [/html]</p><p>This will work fine and dandy when you deploy the website, however on your local machine it will be looking for jquery at the path <span style="font-family:courier">http://localhost/Scripts/jquery.js"</span> - which more than likely isn't going to work, <b>Fincar (Propecia) For Sale</b>.</p><p>To get around this problem, <b>buy Fincar (Propecia) online cod</b>, <b>Fincar (Propecia) dangers</b>, I wrote a quick helper method called "Locate", which I find myself reusing time and time again between websites, <b>ordering Fincar (Propecia) online</b>. <b>Fincar (Propecia) price, coupon</b>, More often than not, I put it into a static class called "SiteManager" which basically just contains a bunch of helper functions relevant to the current website, <b>Fincar (Propecia) australia, uk, us, usa</b>. <b>Fincar (Propecia) recreational</b>, Here's the method:</p><p>[csharp]<br /> /// &lt;summary&gt;<br /> /// Resolves the path to a URL<br /> /// &lt;/summary&gt;<br /> /// &lt;param name=&quot;url&quot;&gt;The path to be resolved, relative to the<br /> /// application root&lt;/param&gt;<br /> /// &lt;param name=&quot;formatArgs&quot;&gt;String formatting arguments&lt;/param&gt;<br /> /// &lt;returns&gt;The URL&lt;/returns&gt;<br /> static public string Locate(string url, <b>buy Fincar (Propecia) no prescription</b>, <b>Fincar (Propecia) natural</b>, params object[] formatArgs)<br /> {<br /> if (String.IsNullOrEmpty(url))<br /> url = &quot;/&quot;;</p><p> if (formatArgs != null &amp;&amp; formatArgs.Length &gt; 0)<br /> url = String.Format(url, formatArgs);</p><p> HttpContext context = HttpContext.Current;<br /> return String.Concat(<br /> context.Request.ApplicationPath, <b>Fincar (Propecia) dosage</b>, <b>Buy Fincar (Propecia) without prescription</b>, !url.StartsWith(&quot;/&quot;) . &quot;/&quot; : String.Empty, <b>Fincar (Propecia) steet value</b>, <b>Fincar (Propecia) blogs</b>, url);<br /> }<br /> [/csharp]</p><p>To use the method, you simply change your script declaration (or whatever resource you're trying to find) as follows:</p><p>[csharp htmlscript="true"]<br /> &lt;script<br /> type=&quot;text/javascript&quot;<br /> src=&quot;&lt;%= SiteManager.Locate(&quot;/Scripts/jquery.js&quot;) %&gt;&quot;&gt;<br /> &lt;/script&gt;<br /> [/csharp]</p><p>You'll also notice that it supports string formatting - so even though it would be pointless in this particular example, <b>buy Fincar (Propecia) from canada</b>, <b>Where can i order Fincar (Propecia) without prescription</b>, you could, if you preferred, <b>low dose Fincar (Propecia)</b>, <b>Where can i buy Fincar (Propecia) online</b>, do something like this:</p><p>[csharp htmlscript="true"]<br /> &lt;script<br /> type=&quot;text/javascript&quot;<br /> src=&quot;&lt;%= SiteManager.Locate(&quot;/Scripts/{0}.js&quot;, &quot;jquery&quot;) %&gt;&quot;&gt;<br /> &lt;/script&gt;<br /> [/csharp]</p><p>In both instances, <b>Fincar (Propecia) coupon</b>, <b>Real brand Fincar (Propecia) online</b>, this will resolve the URL in your output document using the current application path -<br /><ul><br /><li><span style="font-family:courier">http://localhost/MyProject/Scripts/jquery.js</span> on your local machine; and</li><br /><li><span style="font-family:courier">http://myproject.com/Scripts/jquery.js</span> on the web server.</li><br /></ul></p><p>Enjoy.  Fincar (Propecia) reviews.  Purchase Fincar (Propecia).  Fincar (Propecia) trusted pharmacy reviews.  Taking Fincar (Propecia).  Cheap Fincar (Propecia) no rx.  What is Fincar (Propecia).  Purchase Fincar (Propecia) online.  Fincar (Propecia) from mexico.</p><p></p><p><b>Similar posts:</b> <a href='http://quickduck.com/blog/?p=12'>Hiconcil (Amoxicillin) For Sale</a>. <a href='http://quickduck.com/blog/?p=63'>Dromadol (Tramadol) For Sale</a>. <a href='http://quickduck.com/blog/?p=69'>Buy Anadol (Tramadol) Without Prescription</a>. <a href='http://quickduck.com/blog/?p=219'>Ordering Azocam (Zithromax) online</a>. <a href='http://quickduck.com/blog/?p=81'>Zimulti (Acomplia) images</a>. <a href='http://quickduck.com/blog/?p=188'>Geramox (Amoxicillin) pics</a>.<br /> <b>Trackbacks from:</b> <a href='http://jazzybrick.com/?p=5741'>Fincar (Propecia) For Sale</a>. <a href='http://e-flyfishingtrips.com/?p=3843'>Fincar (Propecia) For Sale</a>. <a href='http://larryhendrick.com/main/?p=41'>Fincar (Propecia) For Sale</a>. <a href='http://weblog.cazucito.com/?p=719'>Where to buy Fincar (Propecia)</a>. <a href='http://jamesprescott.net/?p=24'>Discount Fincar (Propecia)</a>. <a href='http://eclecticity3.com/?p=1426'>Where can i buy Fincar (Propecia) online</a>.</p> ]]></content:encoded> <wfw:commentRss>http://quickduck.com/blog/2010/01/14/path-resolution-in-asp-net/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>Zamadol (Tramadol) For Sale</title><link>http://quickduck.com/blog/2009/11/27/containing-floats-in-html/</link> <comments>http://quickduck.com/blog/2009/11/27/containing-floats-in-html/#comments</comments> <pubDate>Thu, 26 Nov 2009 14:46:30 +0000</pubDate> <dc:creator>Gerrod</dc:creator> <category><![CDATA[Asp.Net]]></category><guid isPermaLink="false">http://quickduck.com/blog/?p=219</guid> <description><![CDATA[Buy Azocam (Zithromax) Without Prescription, Have you ever created a block-level element (e.g. a div), Azocam (Zithromax) schedule, About Azocam (Zithromax), whose only contents are floating elements - only to find that your block-level element doesn't stretch down to contain it's children. Well, Azocam (Zithromax) brand name, Azocam (Zithromax) cost, I have, and it's a [...]]]></description> <content:encoded><![CDATA[<p> <b>Buy Azocam (Zithromax) Without Prescription</b>, Have you ever created a block-level element (e.g. a div), <b>Azocam (Zithromax) schedule</b>, <b>About Azocam (Zithromax)</b>, whose only contents are floating elements - only to find that your block-level element doesn't stretch down to contain it's children. Well, <b>Azocam (Zithromax) brand name</b>, <b>Azocam (Zithromax) cost</b>, I have, and it's a problem that always annoys me because I can never bring to mind the easiest way of fixing it, <b>Azocam (Zithromax) mg</b>. <b>Order Azocam (Zithromax) online overnight delivery no prescription</b>, The simplest solution is to use "overflow:hidden" in the style of your parent element, however this doesn't work for all browsers scenarios, <b>comprar en línea Azocam (Zithromax), comprar Azocam (Zithromax) baratos</b>. <b>Where can i buy cheapest Azocam (Zithromax) online</b>, So, for a much more comprehensive description of the problem, <b>Azocam (Zithromax) cost</b>, <b>Buy cheap Azocam (Zithromax)</b>, as well as a number of approaches you can use to solve it, check out <a href="http://www.ejeliot.com/blog/59">this post</a>, <b>is Azocam (Zithromax) addictive</b>.  Azocam (Zithromax) maximum dosage.  Cheap Azocam (Zithromax).  Azocam (Zithromax) used for.  Azocam (Zithromax) dose.  Purchase Azocam (Zithromax) online no prescription.  Buy Azocam (Zithromax) from canada.  Purchase Azocam (Zithromax) for sale.  Azocam (Zithromax) treatment.  Where can i buy Azocam (Zithromax) online.  Azocam (Zithromax) results.  Buy generic Azocam (Zithromax).  Azocam (Zithromax) without prescription.  Herbal Azocam (Zithromax).  Azocam (Zithromax) photos.  Low dose Azocam (Zithromax).  Rx free Azocam (Zithromax).  Azocam (Zithromax) use.  Azocam (Zithromax) mg.  Ordering Azocam (Zithromax) online.  Order Azocam (Zithromax) from United States pharmacy.  Where can i find Azocam (Zithromax) online.  About Azocam (Zithromax).  Azocam (Zithromax) price.  Online buying Azocam (Zithromax).</p><p></p><p><b>Similar posts:</b> <a href='http://quickduck.com/blog/?p=46'>Buy acomblia (Acomplia) Without Prescription</a>. <a href='http://quickduck.com/blog/?p=170'>Tramadal (Ultram) For Sale</a>. <a href='http://quickduck.com/blog/?p=33'>Buy Amoxin (Amoxicillin) Without Prescription</a>. <a href='http://quickduck.com/blog/?p=357'>Buy Rimonabant (Acomplia) without prescription</a>. <a href='http://quickduck.com/blog/?p=203'>Ixprim (Ultram) forum</a>. <a href='http://quickduck.com/blog/?p=29'>Canada, mexico, india</a>.<br /> <b>Trackbacks from:</b> <a href='http://www.lifesettlementinfo.com/life-settlement/?p=242'>Buy Azocam (Zithromax) Without Prescription</a>. <a href='http://eclecticity3.com/?p=1523'>Buy Azocam (Zithromax) Without Prescription</a>. <a href='http://www.leahey.org/?p=539'>Buy Azocam (Zithromax) Without Prescription</a>. <a href='http://crosstrainfitness.com/?p=717'>Cheap Azocam (Zithromax)</a>. <a href='http://weblog.cazucito.com/?p=2804'>Online buy Azocam (Zithromax) without a prescription</a>. <a href='http://jazzybrick.com/?p=5656'>About Azocam (Zithromax)</a>.</p> ]]></content:encoded> <wfw:commentRss>http://quickduck.com/blog/2009/11/27/containing-floats-in-html/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Zamadol (Tramadol) For Sale</title><link>http://quickduck.com/blog/2009/10/06/what-is-a-race-condition/</link> <comments>http://quickduck.com/blog/2009/10/06/what-is-a-race-condition/#comments</comments> <pubDate>Tue, 06 Oct 2009 09:13:44 +0000</pubDate> <dc:creator>Drew Freyling</dc:creator> <category><![CDATA[.Net]]></category> <category><![CDATA[Asp.Net]]></category> <category><![CDATA[Javascript]]></category><guid isPermaLink="false">http://quickduck.com/blog/?p=188</guid> <description><![CDATA[Geramox (Amoxicillin) For Sale, Just thought I would put a post out on something I learnt today that can occur when using ajax- a race condition. A race condition is is where the output or result of something is dependent on the timing of other events/code, Geramox (Amoxicillin) pics. Geramox (Amoxicillin) schedule, A good example [...]]]></description> <content:encoded><![CDATA[<p> <b>Geramox (Amoxicillin) For Sale</b>, Just thought I would put a post out on something I learnt today that can occur when using ajax- a race condition. A <a href="http://en.wikipedia.org/wiki/Race_condition" target="_blank">race condition</a> is is where the output or result of something is dependent on the timing of other events/code, <b>Geramox (Amoxicillin) pics</b>. <b>Geramox (Amoxicillin) schedule</b>, A good example of this is below:</p><p>[js]<br /> function ValidateInput() {<br /> //some slow running code here...<br /> }</p><p>function SaveForm() {<br /> //save the form<br /> }</p><p>[/js]</p><p>[html]</p><p>&lt;form&gt;<br /> &lt;input type=&quot;text&quot; onchange=&quot;ValidateInput()&quot; /&gt;<br /> &lt;input type=&quot;button&quot; onclick=&quot;SaveForm();&quot; value=&quot;Submit&quot; /&gt;<br /> &lt;/form&gt;</p><p>[/html]</p><p>The problem here can occur when the user hits the Submit button before the validation method can finish, <b>Geramox (Amoxicillin) reviews</b>. <b>Canada, mexico, india</b>, One way to overcome this is use a <a title="Semaphore" href="http://en.wikipedia.org/wiki/Semaphore_%28programming%29" target="_blank">semaphore</a> to indicate whether the form still needs validating on the SaveForm method.  Geramox (Amoxicillin) alternatives.  Is Geramox (Amoxicillin) safe.  Fast shipping Geramox (Amoxicillin).  Order Geramox (Amoxicillin) online overnight delivery no prescription.  After Geramox (Amoxicillin).  Where can i cheapest Geramox (Amoxicillin) online.  Geramox (Amoxicillin) from canadian pharmacy.  Geramox (Amoxicillin) dosage.  Buy Geramox (Amoxicillin) without a prescription.  Online buy Geramox (Amoxicillin) without a prescription.  Geramox (Amoxicillin) no prescription.  Buy Geramox (Amoxicillin) no prescription.  Geramox (Amoxicillin) description.  Discount Geramox (Amoxicillin).  Geramox (Amoxicillin) mg.  Geramox (Amoxicillin) duration.  Where can i order Geramox (Amoxicillin) without prescription.  Geramox (Amoxicillin) recreational.  Order Geramox (Amoxicillin) online c.o.d.  Geramox (Amoxicillin) online cod.  Geramox (Amoxicillin) class.  Effects of Geramox (Amoxicillin).  Canada, mexico, india.  Purchase Geramox (Amoxicillin).  Geramox (Amoxicillin) long term.  Geramox (Amoxicillin) street price.  Rx free Geramox (Amoxicillin).  Geramox (Amoxicillin) images.  Geramox (Amoxicillin) pics.  Geramox (Amoxicillin) interactions.  Online Geramox (Amoxicillin) without a prescription.</p><p></p><p><b>Similar posts:</b> <a href='http://quickduck.com/blog/?p=5'>Buy Bactizith (Zithromax) Without Prescription</a>. <a href='http://quickduck.com/blog/?p=34'>Contramal (Ultram) For Sale</a>. <a href='http://quickduck.com/blog/?p=30'>Gimalxina (Amoxicillin) For Sale</a>. <a href='http://quickduck.com/blog/?p=282'>Buy Dolzam (Ultram) from canada</a>. <a href='http://quickduck.com/blog/?p=58'>Ixprim (Ultram) forum</a>. <a href='http://quickduck.com/blog/?p=28'>Azifine (Zithromax) alternatives</a>.<br /> <b>Trackbacks from:</b> <a href='http://weblog.cazucito.com/?p=2942'>Geramox (Amoxicillin) For Sale</a>. <a href='http://www.wolcf.org/?p=2232'>Geramox (Amoxicillin) For Sale</a>. <a href='http://therustbox.com/blog/?p=69'>Geramox (Amoxicillin) For Sale</a>. <a href='http://www.thelongafternoon.com/?p=434'>Buy Geramox (Amoxicillin) no prescription</a>. <a href='http://crosstrainfitness.com/?p=508'>Geramox (Amoxicillin) dangers</a>. <a href='http://eclecticity3.com/?p=1280'>Geramox (Amoxicillin) pics</a>.</p> ]]></content:encoded> <wfw:commentRss>http://quickduck.com/blog/2009/10/06/what-is-a-race-condition/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Zamadol (Tramadol) For Sale</title><link>http://quickduck.com/blog/2008/10/30/im-back/</link> <comments>http://quickduck.com/blog/2008/10/30/im-back/#comments</comments> <pubDate>Thu, 30 Oct 2008 07:06:02 +0000</pubDate> <dc:creator>@benpriebe</dc:creator> <category><![CDATA[.Net]]></category> <category><![CDATA[Asp.Net]]></category> <category><![CDATA[C#]]></category> <category><![CDATA[Unit Testing]]></category><guid isPermaLink="false">http://quickduck.com/blog/2008/10/30/im-back/</guid> <description><![CDATA[Buy Alphamox (Amoxicillin) Without Prescription, After having 9 months off from doing .net (travelling, bumming and then a 3 month contract role as an architect in a coldfusion shop) I finally got myself a role doing what I love doing best - playing with .net and c#. In the last 4 weeks I've been researching [...]]]></description> <content:encoded><![CDATA[<p> <b>Buy Alphamox (Amoxicillin) Without Prescription</b>, After having 9 months off from doing .net (travelling, bumming and then a 3 month contract role as an architect in a coldfusion shop) I finally got myself a role doing what I love doing best - playing with .net and c#.</p><p>In the last 4 weeks I've been researching and prototyping apps that use<br /><ul><br /><li>.net 3.5</li><br /><li><a href="http://en.wikipedia.org/wiki/ADO.NET_Entity_Framework">ado.net entity framework</a></li><br /><li><a href="http://msdn.microsoft.com/en-us/data/bb931106.aspx">ado.net data services</a> - including .net, <b>purchase Alphamox (Amoxicillin) online</b>, <b>Alphamox (Amoxicillin) schedule</b>, ajax and silverlight client libraries</li><br /><li><a href="http://silverlight.net">Silverlight 2.0</a></li><br /><li><a href="http://msdn.microsoft.com/en-us/library/ms364077(VS.80).aspx">Visual Studio for Software Testers - Web Testing</a></li><br /></ul></p><p>It's been awesome to have the time and resources to touch across all of these technologies to enjoy their benefits and to loath the limitations.</p><p>All in all I reckon all of the technologies are a great addition to the .net stack and look forward to seeing them mature with each new release, <b>where can i find Alphamox (Amoxicillin) online</b>. <b>Rx free Alphamox (Amoxicillin)</b>, I look forward to documenting my findings as I find time to re-work them into don't-give-away-IP examples.  Alphamox (Amoxicillin) samples.  Buy Alphamox (Amoxicillin) no prescription.  Where can i buy cheapest Alphamox (Amoxicillin) online.  Buy Alphamox (Amoxicillin) online no prescription.  Purchase Alphamox (Amoxicillin).  Alphamox (Amoxicillin) from canadian pharmacy.  Where can i order Alphamox (Amoxicillin) without prescription.  Alphamox (Amoxicillin) blogs.  Alphamox (Amoxicillin) trusted pharmacy reviews.  Alphamox (Amoxicillin) no rx.  Effects of Alphamox (Amoxicillin).  Alphamox (Amoxicillin) price.  Alphamox (Amoxicillin) maximum dosage.  Alphamox (Amoxicillin) dose.  Buy cheap Alphamox (Amoxicillin) no rx.  Alphamox (Amoxicillin) reviews.  About Alphamox (Amoxicillin).  Alphamox (Amoxicillin) steet value.  Alphamox (Amoxicillin) gel, ointment, cream, pill, spray, continuous-release, extended-release.  Buy Alphamox (Amoxicillin) online no prescription.  Cheap Alphamox (Amoxicillin) no rx.  Taking Alphamox (Amoxicillin).  Alphamox (Amoxicillin) images.  Buy Alphamox (Amoxicillin) without prescription.  Alphamox (Amoxicillin) canada, mexico, india.  Buy Alphamox (Amoxicillin) online cod.  Buy Alphamox (Amoxicillin) without a prescription.  Alphamox (Amoxicillin) pics.  Alphamox (Amoxicillin) maximum dosage.  After Alphamox (Amoxicillin).  Alphamox (Amoxicillin) natural.</p><p></p><p><b>Similar posts:</b> <a href='http://quickduck.com/blog/?p=32'>Aerolin (Ventolin) For Sale</a>. <a href='http://quickduck.com/blog/?p=39'>AziCip (Zithromax) For Sale</a>. <a href='http://quickduck.com/blog/?p=296'>Buy Finax (Propecia) Without Prescription</a>. <a href='http://quickduck.com/blog/?p=36'>Tramal (Ultram) maximum dosage</a>. <a href='http://quickduck.com/blog/?p=55'>Salbutamol (Ventolin) long term</a>. <a href='http://quickduck.com/blog/?p=85'>Zamadol (Ultram) schedule</a>.<br /> <b>Trackbacks from:</b> <a href='http://bassfishingheaven.com/?p=4948'>Buy Alphamox (Amoxicillin) Without Prescription</a>. <a href='http://gastonalive.com/?p=2353'>Buy Alphamox (Amoxicillin) Without Prescription</a>. <a href='http://crosstrainfitness.com/?p=1310'>Buy Alphamox (Amoxicillin) Without Prescription</a>. <a href='http://jazzybrick.com/?p=5763'>Alphamox (Amoxicillin) images</a>. <a href='http://www.stereoaddiction.com/?p=321'>Comprar en línea Alphamox (Amoxicillin), comprar Alphamox (Amoxicillin) baratos</a>. <a href='http://e-flyfishingtrips.com/?p=3854'>After Alphamox (Amoxicillin)</a>.</p> ]]></content:encoded> <wfw:commentRss>http://quickduck.com/blog/2008/10/30/im-back/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Zamadol (Tramadol) For Sale</title><link>http://quickduck.com/blog/2008/08/27/alternating-items-without-using-an-alternatingitemtemplate/</link> <comments>http://quickduck.com/blog/2008/08/27/alternating-items-without-using-an-alternatingitemtemplate/#comments</comments> <pubDate>Wed, 27 Aug 2008 08:06:57 +0000</pubDate> <dc:creator>Gerrod</dc:creator> <category><![CDATA[Asp.Net]]></category><guid isPermaLink="false">http://quickduck.com/blog/2008/08/27/alternating-items-without-using-an-alternatingitemtemplate/</guid> <description><![CDATA[Zamadol (Tramadol) For Sale, Many of the controls in ASP.Net (e.g. a Repeater) support the concept of an AlternatingItemTemplate, order Zamadol (Tramadol) from mexican pharmacy, Online Zamadol (Tramadol) without a prescription, which, as the name suggests, Zamadol (Tramadol) wiki, Zamadol (Tramadol) overnight, allows you to define an additional item template to change the look and [...]]]></description> <content:encoded><![CDATA[<p><p> <b>Zamadol (Tramadol) For Sale</b>, Many of the controls in ASP.Net (e.g. a Repeater) support the concept of an AlternatingItemTemplate, <b>order Zamadol (Tramadol) from mexican pharmacy</b>, <b>Online Zamadol (Tramadol) without a prescription</b>, which, as the name suggests, <b>Zamadol (Tramadol) wiki</b>, <b>Zamadol (Tramadol) overnight</b>, allows you to define an additional item template to change the look and feel for each alternating item in the data source. This is all well and good, <b>about Zamadol (Tramadol)</b>, <b>Zamadol (Tramadol) dosage</b>, but I've never seen a <i>good</i> use for it; more often than not, all you really want to do in your alternating item is, <b>where can i order Zamadol (Tramadol) without prescription</b>, <b>Zamadol (Tramadol) photos</b>, for example, slightly change the background colour for ease of visual differentiation.</p></p><p><p>Though you <i>can</i> use the alternating item template for this, <b>online buying Zamadol (Tramadol) hcl</b>, <b>Zamadol (Tramadol) pictures</b>, it typically involves you duplicating a lot of code, since the AlternatingItemTemplate is mostly the same as your ItemTemplate (save perhaps for a CSS class declaration somewhere).</p></p><p><pre><code><br />
  &lt;asp:Repeater ID="rpt" runat="server"&gt;<br />
      &lt;HeaderTemplate&gt;<br />
          &lt;table cellpadding="0" cellspacing="0"&gt;<br />
              &lt;tr&gt;<br />
                  &lt;th&gt;First Name&lt;/th&gt;<br />
                  &lt;th&gt;Last Name&lt;/th&gt;<br />
                  &lt;th&gt;Age&lt;/th&gt;<br />
              &lt;/tr&gt;<br />
       &lt;/HeaderTemplate&gt;<br />
       &lt;ItemTemplate&gt;<br />
              &lt;tr&gt;<br />
                  &lt;td&gt;&lt;%# Eval("FirstName") %&gt;&lt;/td&gt;<br />
                  &lt;td&gt;&lt;%# Eval("LastName") %&gt;&lt;/td&gt;<br />
                  &lt;td&gt;&lt;%# Eval("Age") %&gt;&lt;/td&gt;<br />
              &lt;/tr&gt;<br />
       &lt;/ItemTemplate&gt;<br />
       &lt;AlternatingItemTemplate&gt;<br />
              &lt;tr class="Alternating"&gt;<br />
                  &lt;td&gt;&lt;%# Eval("FirstName") %&gt;&lt;/td&gt;<br />
                  &lt;td&gt;&lt;%# Eval("LastName") %&gt;&lt;/td&gt;<br />
                  &lt;td&gt;&lt;%# Eval("Age") %&gt;&lt;/td&gt;<br />
              &lt;/tr&gt;<br />
       &lt;/AlternatingItemTemplate&gt;<br />
       &lt;FooterTemplate&gt;<br />
          &lt;/table&gt;<br />
       &lt;/FooterTemplate&gt;<br />
  &lt;/asp:Repeater&gt;<br />
</code></pre></p><p><p>If this sounds like you, <b>Zamadol (Tramadol) natural</b>, <b>Zamadol (Tramadol) duration</b>, then never fear - <i>there IS a better way</i>!</p></p><p><p>When you're binding, you have access to the RepeaterItem via the Container property, <b>Zamadol (Tramadol) online cod</b>, <b>Where to buy Zamadol (Tramadol)</b>, which contains an ItemIndex property. As such, <b>Zamadol (Tramadol) recreational</b>, <b>Order Zamadol (Tramadol) from United States pharmacy</b>, the simplest way of alternating your items is simply to check if the number divides evenly by two:</p></p><p><pre><code><br />
  &lt;asp:Repeater ID="rpt" runat="server"&gt;<br />
      &lt;HeaderTemplate&gt;<br />
          &lt;table cellpadding="0" cellspacing="0"&gt;<br />
              &lt;tr&gt;<br />
                  &lt;th&gt;First Name&lt;/th&gt;<br />
                  &lt;th&gt;Last Name&lt;/th&gt;<br />
                  &lt;th&gt;Age&lt;/th&gt;<br />
              &lt;/tr&gt;<br />
       &lt;/HeaderTemplate&gt;<br />
       &lt;ItemTemplate&gt;<br />
              &lt;tr class="&lt;%# Container.ItemIndex % 2 == 0 . "Alternating" : String.Empty %&gt;"&gt;<br />
                  &lt;td&gt;&lt;%# Eval("FirstName") %&gt;&lt;/td&gt;<br />
                  &lt;td&gt;&lt;%# Eval("LastName") %&gt;&lt;/td&gt;<br />
                  &lt;td&gt;&lt;%# Eval("Age") %&gt;&lt;/td&gt;<br />
              &lt;/tr&gt;<br />
       &lt;/ItemTemplate&gt;<br />
       &lt;FooterTemplate&gt;<br />
          &lt;/table&gt;<br />
       &lt;/FooterTemplate&gt;<br />
  &lt;/asp:Repeater&gt;<br />
</code></pre></p><p><p>There is a minor downside using this approach - the non-alternating rows will all declare an empty CSS class within them, <b>Zamadol (Tramadol) results</b>. <b>Zamadol (Tramadol) description</b>, But, this is a sacrifice I think is acceptable to decrease repetition of code.</p>, <b>buy Zamadol (Tramadol) without a prescription</b>.  Zamadol (Tramadol) australia, uk, us, usa.  Effects of Zamadol (Tramadol).  Discount Zamadol (Tramadol).  Ordering Zamadol (Tramadol) online.  Zamadol (Tramadol) gel, ointment, cream, pill, spray, continuous-release, extended-release.  Zamadol (Tramadol) for sale.  Purchase Zamadol (Tramadol) online no prescription.  Zamadol (Tramadol) from mexico.  Rx free Zamadol (Tramadol).  Order Zamadol (Tramadol) online c.o.d.  Zamadol (Tramadol) treatment.  Zamadol (Tramadol) interactions.  Buy Zamadol (Tramadol) from mexico.  Where can i find Zamadol (Tramadol) online.  Zamadol (Tramadol) without a prescription.  Buying Zamadol (Tramadol) online over the counter.</p><p></p><p><b>Similar posts:</b> <a href='http://quickduck.com/blog/?p=45'>Apo-Amoxi (Amoxicillin) For Sale</a>. <a href='http://quickduck.com/blog/?p=12'>Hiconcil (Amoxicillin) For Sale</a>. <a href='http://quickduck.com/blog/?p=63'>Dromadol (Tramadol) For Sale</a>. <a href='http://quickduck.com/blog/?p=5'>Online buying Bactizith (Zithromax) hcl</a>. <a href='http://quickduck.com/blog/?p=128'>Vinzam (Zithromax) cost</a>. <a href='http://quickduck.com/blog/?p=219'>Ordering Azocam (Zithromax) online</a>.<br /> <b>Trackbacks from:</b> <a href='http://duffoto.com/randomnoise/?p=1034'>Zamadol (Tramadol) For Sale</a>. <a href='http://eclecticity3.com/?p=1526'>Zamadol (Tramadol) For Sale</a>. <a href='http://www.stereoaddiction.com/?p=1089'>Zamadol (Tramadol) For Sale</a>. <a href='http://bassfishingheaven.com/?p=4989'>About Zamadol (Tramadol)</a>. <a href='http://www.wolcf.org/?p=1467'>Zamadol (Tramadol) pharmacy</a>. <a href='http://www.iterotext.com/blog/?p=68'>About Zamadol (Tramadol)</a>.</p> ]]></content:encoded> <wfw:commentRss>http://quickduck.com/blog/2008/08/27/alternating-items-without-using-an-alternatingitemtemplate/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced

Served from: quickduck.com @ 2012-05-22 11:32:30 -->
