<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><title type="html">Web Dev And Stuff</title><subtitle type="html">ASP.NET from the G(r)eek side</subtitle><id>http://weblogs.asp.net/johnkatsiotis/atom.aspx</id><link rel="alternate" type="text/html" href="http://weblogs.asp.net/johnkatsiotis/default.aspx" /><link rel="self" type="application/atom+xml" href="http://weblogs.asp.net/johnkatsiotis/atom.aspx" /><generator uri="http://communityserver.org" version="3.0.20510.895">Community Server</generator><updated>2011-02-28T22:50:22Z</updated><entry><title>LinkedIn OAuth Library Update</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/johnkatsiotis/archive/2011/08/07/linkedin-oauth-library-update.aspx" /><id>http://weblogs.asp.net/johnkatsiotis/archive/2011/08/07/linkedin-oauth-library-update.aspx</id><published>2011-08-07T12:31:52Z</published><updated>2011-08-07T12:31:52Z</updated><content type="html">&lt;p&gt;Version 0.3 of Linked OAuth Library is &lt;a href="http://nuget.org/List/Packages/LinkedIn.OAuth" target="_blank"&gt;available via Nuget&lt;/a&gt;. &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;This release has a dependency in Hammock Nuget package. &lt;/li&gt;    &lt;li&gt;I have also uploaded the &lt;a href="https://bitbucket.org/djsolid/linkedin-oauth"&gt;source code&lt;/a&gt; at Bitbucket and it’s available to fork it! &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;[&lt;a href="http://john.katsiotis.com/blog/linkedin-oauth-library-update"&gt;more…&lt;/a&gt;]&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7900493" width="1" height="1"&gt;</content><author><name>djsolid</name><uri>http://weblogs.asp.net/members/djsolid.aspx</uri></author><category term="ASP.NET" scheme="http://weblogs.asp.net/johnkatsiotis/archive/tags/ASP.NET/default.aspx" /><category term="NuGet" scheme="http://weblogs.asp.net/johnkatsiotis/archive/tags/NuGet/default.aspx" /></entry><entry><title>RazorJS - Source code available!</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/johnkatsiotis/archive/2011/06/14/razorjs-source-code-available.aspx" /><id>http://weblogs.asp.net/johnkatsiotis/archive/2011/06/14/razorjs-source-code-available.aspx</id><published>2011-06-13T21:59:04Z</published><updated>2011-06-13T21:59:04Z</updated><content type="html">&lt;p&gt;As of today you can find RazorJS’s source code available on &lt;a href="https://bitbucket.org/djsolid/razorjs"&gt;BitBucket&lt;/a&gt;. Feel free to download the code and change it to fit your needs. [&lt;a href="http://john.katsiotis.com/blog/razorjs-source-code-available"&gt;read more&lt;/a&gt;…]&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7828589" width="1" height="1"&gt;</content><author><name>djsolid</name><uri>http://weblogs.asp.net/members/djsolid.aspx</uri></author><category term="ASP.NET" scheme="http://weblogs.asp.net/johnkatsiotis/archive/tags/ASP.NET/default.aspx" /><category term="Razor" scheme="http://weblogs.asp.net/johnkatsiotis/archive/tags/Razor/default.aspx" /></entry><entry><title>PetaPoco and Spatial Data Types</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/johnkatsiotis/archive/2011/05/14/petapoco-and-spatial-data-types.aspx" /><id>http://weblogs.asp.net/johnkatsiotis/archive/2011/05/14/petapoco-and-spatial-data-types.aspx</id><published>2011-05-14T11:18:40Z</published><updated>2011-05-14T11:18:40Z</updated><content type="html">&lt;blockquote&gt;   &lt;p&gt;&lt;a href="http://www.toptensoftware.com/petapoco/" target="_blank"&gt;PetaPoco&lt;/a&gt; is a micro-ORM for .NET and Mono. If you haven’t see it yet I suggest you to check it out. Alternatives to PetaPoco are &lt;a href="http://blog.wekeroad.com/helpy-stuff/and-i-shall-call-it-massive" target="_blank"&gt;Massive&lt;/a&gt; and &lt;a href="http://code.google.com/p/dapper-dot-net" target="_blank"&gt;Dapper&lt;/a&gt;. (If you know more projects let me know).&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;After this brief introduction let me begin by explaining the problem. I need it to build a simple web app with a fairly simple data model that was using Spatial Data. The app would use SQL Server 2008.&lt;/p&gt;  &lt;p&gt;Let’s consider a table with a bunch of columns and one of them is a &lt;strong&gt;geometry&lt;/strong&gt; column. [&lt;a href="http://john.katsiotis.com/blog/petapoco-and-spatial-data-types"&gt;read more…&lt;/a&gt;]&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7790564" width="1" height="1"&gt;</content><author><name>djsolid</name><uri>http://weblogs.asp.net/members/djsolid.aspx</uri></author></entry><entry><title>RazorJS - Write Razor inside your Javascript files</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/johnkatsiotis/archive/2011/04/20/razorjs-write-razor-inside-your-javascript-files.aspx" /><id>http://weblogs.asp.net/johnkatsiotis/archive/2011/04/20/razorjs-write-razor-inside-your-javascript-files.aspx</id><published>2011-04-19T21:20:32Z</published><updated>2011-04-19T21:20:32Z</updated><content type="html">&lt;p&gt;Many times I have a Javascript file that contains a link and in order to be more generic I would prefer writing something like ~/image.png rather than /image.png or /myapp/image.png.&lt;/p&gt;  &lt;p&gt;Also when one of my Views in an MVC project interacts with 3rd party components and services (like Google Maps, UserVoice etc.) contains a lot of Javascript code along with html/server-side code. [&lt;a href="http://john.katsiotis.com/blog/razorjs---write-razor-inside-your-javascript-files"&gt;read more…&lt;/a&gt;]&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7765033" width="1" height="1"&gt;</content><author><name>djsolid</name><uri>http://weblogs.asp.net/members/djsolid.aspx</uri></author><category term="ASP.NET" scheme="http://weblogs.asp.net/johnkatsiotis/archive/tags/ASP.NET/default.aspx" /><category term="Razor" scheme="http://weblogs.asp.net/johnkatsiotis/archive/tags/Razor/default.aspx" /></entry><entry><title>Why I Still L.O.V.E. ASP.NET WebForms</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/johnkatsiotis/archive/2011/03/30/why-i-still-l-o-v-e-asp-net-webforms.aspx" /><id>http://weblogs.asp.net/johnkatsiotis/archive/2011/03/30/why-i-still-l-o-v-e-asp-net-webforms.aspx</id><published>2011-03-30T10:17:00Z</published><updated>2011-03-30T10:17:00Z</updated><content type="html">&lt;h1&gt;Objectives&lt;/h1&gt;  &lt;ul&gt;   &lt;li&gt;Build Contact Page (a page that interacts with a data-storage)&lt;/li&gt;    &lt;li&gt;Build a Contact List Page (a page with a gird) &lt;/li&gt;    &lt;li&gt;Do it using ASP.NET WebForms &lt;/li&gt;    &lt;li&gt;Create Unit Tests &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;We will use the MVP pattern and the open-source project &lt;a href="http://webformsmvp.com/" target="_blank" mce_href="http://webformsmvp.com/"&gt;WebFormsMVP&lt;/a&gt; to accomplish&amp;nbsp; that! [&lt;a href="http://john.katsiotis.com/blog/why-i-still-l.o.v.e.-asp.net-webforms" mce_href="http://john.katsiotis.com/blog/why-i-still-l.o.v.e.-asp.net-webforms"&gt;read more&lt;/a&gt;…]&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7738719" width="1" height="1"&gt;</content><author><name>djsolid</name><uri>http://weblogs.asp.net/members/djsolid.aspx</uri></author><category term="ASP.NET" scheme="http://weblogs.asp.net/johnkatsiotis/archive/tags/ASP.NET/default.aspx" /></entry><entry><title>Where is the bug? - C#</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/johnkatsiotis/archive/2011/03/22/where-is-the-bug-c.aspx" /><id>http://weblogs.asp.net/johnkatsiotis/archive/2011/03/22/where-is-the-bug-c.aspx</id><published>2011-03-22T12:44:00Z</published><updated>2011-03-22T12:44:00Z</updated><content type="html">&lt;p&gt;&amp;nbsp;Below are a few lines of code written in C#. Is the code bug-free? What will this print in the console? Can you do it without VS? [&lt;a href="http://john.katsiotis.com/blog/where-is-the-bug-c-sharp" mce_href="http://john.katsiotis.com/blog/where-is-the-bug-c-sharp"&gt;read more...&lt;/a&gt;]&lt;br&gt;&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7729535" width="1" height="1"&gt;</content><author><name>djsolid</name><uri>http://weblogs.asp.net/members/djsolid.aspx</uri></author><category term="ASP.NET" scheme="http://weblogs.asp.net/johnkatsiotis/archive/tags/ASP.NET/default.aspx" /><category term="C#" scheme="http://weblogs.asp.net/johnkatsiotis/archive/tags/C_2300_/default.aspx" /></entry><entry><title>ASP.NET MVC - Passing a Flag Enum to an Action as Parameter</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/johnkatsiotis/archive/2011/03/15/asp-net-mvc-passing-a-flag-enum-to-an-action-as-parameter.aspx" /><id>http://weblogs.asp.net/johnkatsiotis/archive/2011/03/15/asp-net-mvc-passing-a-flag-enum-to-an-action-as-parameter.aspx</id><published>2011-03-15T18:53:54Z</published><updated>2011-03-15T18:53:54Z</updated><content type="html">&lt;p&gt;A flag Enum is an Enumeration that can hold multiple values per instance An example of such Enum is: [&lt;a href="http://john.katsiotis.com/blog/asp.net-mvc---passing-a-flag-enum-to-an-action-as-parameter"&gt;read more&lt;/a&gt;…]&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7724367" width="1" height="1"&gt;</content><author><name>djsolid</name><uri>http://weblogs.asp.net/members/djsolid.aspx</uri></author><category term="ASP.NET" scheme="http://weblogs.asp.net/johnkatsiotis/archive/tags/ASP.NET/default.aspx" /><category term="ASP.NET MVC" scheme="http://weblogs.asp.net/johnkatsiotis/archive/tags/ASP.NET+MVC/default.aspx" /></entry><entry><title>ASP.NET MVC 3 - A RadioButtonList for Enum Properties</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/johnkatsiotis/archive/2011/03/11/asp-net-mvc-3-a-radiobuttonlist-for-enum-properties.aspx" /><id>http://weblogs.asp.net/johnkatsiotis/archive/2011/03/11/asp-net-mvc-3-a-radiobuttonlist-for-enum-properties.aspx</id><published>2011-03-10T23:52:13Z</published><updated>2011-03-10T23:52:13Z</updated><content type="html">&lt;p&gt;ASP.NET MVC3 doesn’t have a built-in RadioButtonList helper and there are times that I want to display an Enum property. I can always do that using a [&lt;a href="http://john.katsiotis.com/blog/asp.net-mvc-3---a-radiobuttonlist-for-enum-properties"&gt;read more&lt;/a&gt;…]&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7720018" width="1" height="1"&gt;</content><author><name>djsolid</name><uri>http://weblogs.asp.net/members/djsolid.aspx</uri></author><category term="Web Development" scheme="http://weblogs.asp.net/johnkatsiotis/archive/tags/Web+Development/default.aspx" /><category term="ASP.NET" scheme="http://weblogs.asp.net/johnkatsiotis/archive/tags/ASP.NET/default.aspx" /><category term="ASP.NET MVC" scheme="http://weblogs.asp.net/johnkatsiotis/archive/tags/ASP.NET+MVC/default.aspx" /></entry><entry><title>Detect if Firebug is enabled and deny access</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/johnkatsiotis/archive/2011/03/10/detect-if-firebug-is-enabled-and-deny-access.aspx" /><id>http://weblogs.asp.net/johnkatsiotis/archive/2011/03/10/detect-if-firebug-is-enabled-and-deny-access.aspx</id><published>2011-03-09T22:50:11Z</published><updated>2011-03-09T22:50:11Z</updated><content type="html">&lt;p&gt;&lt;a href="http://getfirebug.com/" target="_blank"&gt;Firebug&lt;/a&gt; is an essential tool for every web developer. It allows to do many things such as script debugging, DOM manipulation etc. What happens though when it get’s to the hand of an experienced attacker? Then it could [&lt;a href="http://john.katsiotis.com/blog/detect-if-firebug-is-enabled-and-deny-access"&gt;read more&lt;/a&gt;…]&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7718928" width="1" height="1"&gt;</content><author><name>djsolid</name><uri>http://weblogs.asp.net/members/djsolid.aspx</uri></author><category term="Web Development" scheme="http://weblogs.asp.net/johnkatsiotis/archive/tags/Web+Development/default.aspx" /><category term="ASP.NET" scheme="http://weblogs.asp.net/johnkatsiotis/archive/tags/ASP.NET/default.aspx" /><category term="Firebug" scheme="http://weblogs.asp.net/johnkatsiotis/archive/tags/Firebug/default.aspx" /></entry><entry><title>Hope Driven Development - Are you doing it?</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/johnkatsiotis/archive/2011/03/08/hope-driven-development-are-you-doing-it.aspx" /><id>http://weblogs.asp.net/johnkatsiotis/archive/2011/03/08/hope-driven-development-are-you-doing-it.aspx</id><published>2011-03-08T10:00:20Z</published><updated>2011-03-08T10:00:20Z</updated><content type="html">&lt;p&gt;HDD (and it don’t mean Hard Disk Drive ☺) is intuitively a bad approach on Software Development. If someone tells you that many times is doing Hope Driven Development, only by name you might say “Oh that’s [&lt;a href="http://john.katsiotis.com/blog/hope-driven-development---are-you-doing-it"&gt;read more&lt;/a&gt;…]&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7717785" width="1" height="1"&gt;</content><author><name>djsolid</name><uri>http://weblogs.asp.net/members/djsolid.aspx</uri></author><category term="ASP.NET" scheme="http://weblogs.asp.net/johnkatsiotis/archive/tags/ASP.NET/default.aspx" /><category term="Development" scheme="http://weblogs.asp.net/johnkatsiotis/archive/tags/Development/default.aspx" /></entry><entry><title>JavaScript is disabled - Should I Care?</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/johnkatsiotis/archive/2011/03/05/javascript-is-not-enable-should-i-care.aspx" /><id>http://weblogs.asp.net/johnkatsiotis/archive/2011/03/05/javascript-is-not-enable-should-i-care.aspx</id><published>2011-03-05T09:36:00Z</published><updated>2011-03-05T09:36:00Z</updated><content type="html">&lt;p&gt;Many times a Web Developer faces the question “This won’t work if JavaScript is disabled. Should I change it?” If it’s something simple like a &lt;a href="http://john.katsiotis.com/blog/javascript-is-not-enable---should-i-care" mce_href="http://john.katsiotis.com/blog/javascript-is-not-enable---should-i-care"&gt;read more…&lt;/a&gt;&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7716293" width="1" height="1"&gt;</content><author><name>djsolid</name><uri>http://weblogs.asp.net/members/djsolid.aspx</uri></author><category term="Web Development" scheme="http://weblogs.asp.net/johnkatsiotis/archive/tags/Web+Development/default.aspx" /><category term="ASP.NET" scheme="http://weblogs.asp.net/johnkatsiotis/archive/tags/ASP.NET/default.aspx" /><category term="Javascript" scheme="http://weblogs.asp.net/johnkatsiotis/archive/tags/Javascript/default.aspx" /></entry><entry><title>ASP.NET MVC SubmitLink with jQuery - Using an a tag as a submit button</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/johnkatsiotis/archive/2011/03/03/asp-net-mvc-submitlink-with-jquery-using-an-a-tag-as-a-submit-button.aspx" /><id>http://weblogs.asp.net/johnkatsiotis/archive/2011/03/03/asp-net-mvc-submitlink-with-jquery-using-an-a-tag-as-a-submit-button.aspx</id><published>2011-03-03T16:07:12Z</published><updated>2011-03-03T16:07:12Z</updated><content type="html">&lt;p&gt;The easiest way to submit a form is to use the &lt;strong&gt;input&lt;/strong&gt; tag with the &lt;strong&gt;submit&lt;/strong&gt; type [&lt;a href="http://john.katsiotis.com/blog/asp.net-mvc-submitlink-with-jquery---using-an-a-tag-as-a-submit-button"&gt;read more…&lt;/a&gt;]&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7715310" width="1" height="1"&gt;</content><author><name>djsolid</name><uri>http://weblogs.asp.net/members/djsolid.aspx</uri></author><category term="ASP.NET" scheme="http://weblogs.asp.net/johnkatsiotis/archive/tags/ASP.NET/default.aspx" /><category term="Javascript" scheme="http://weblogs.asp.net/johnkatsiotis/archive/tags/Javascript/default.aspx" /><category term="ASP.NET MVC" scheme="http://weblogs.asp.net/johnkatsiotis/archive/tags/ASP.NET+MVC/default.aspx" /></entry><entry><title>Visual Studio - A Common Replace Scenario</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/johnkatsiotis/archive/2011/03/02/visual-studio-a-common-replace-scenario.aspx" /><id>http://weblogs.asp.net/johnkatsiotis/archive/2011/03/02/visual-studio-a-common-replace-scenario.aspx</id><published>2011-03-02T12:39:46Z</published><updated>2011-03-02T12:39:46Z</updated><content type="html">&lt;p&gt;Visual Studio has a build in Replace function that uses Regular Expressions. Let’s consider the following scenario:&lt;/p&gt;  &lt;p&gt;Although it’s not “good” code many times a developer has to write the following code [&lt;a href="http://john.katsiotis.com/blog/visual-studio---a-common-replace-scenario"&gt;read more…&lt;/a&gt;]&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7714886" width="1" height="1"&gt;</content><author><name>djsolid</name><uri>http://weblogs.asp.net/members/djsolid.aspx</uri></author><category term="ASP.NET" scheme="http://weblogs.asp.net/johnkatsiotis/archive/tags/ASP.NET/default.aspx" /><category term="Tips n tricks" scheme="http://weblogs.asp.net/johnkatsiotis/archive/tags/Tips+n+tricks/default.aspx" /><category term="Visual Studio" scheme="http://weblogs.asp.net/johnkatsiotis/archive/tags/Visual+Studio/default.aspx" /></entry><entry><title>Creating classes in Javascript - Prototype method</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/johnkatsiotis/archive/2011/03/01/creating-classes-in-javascript-prototype-method.aspx" /><id>http://weblogs.asp.net/johnkatsiotis/archive/2011/03/01/creating-classes-in-javascript-prototype-method.aspx</id><published>2011-03-01T09:51:41Z</published><updated>2011-03-01T09:51:41Z</updated><content type="html">&lt;p&gt;Javascript is weeeell a script-based language. But over the years it has evolved a lot! So can we develop in an Object Oriented Way using javascript? [&lt;a href="http://john.katsiotis.com/blog/creating-classes-in-javascript---prototype-method"&gt;read more…&lt;/a&gt;]&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7714351" width="1" height="1"&gt;</content><author><name>djsolid</name><uri>http://weblogs.asp.net/members/djsolid.aspx</uri></author><category term="ASP.NET" scheme="http://weblogs.asp.net/johnkatsiotis/archive/tags/ASP.NET/default.aspx" /><category term="Javascript" scheme="http://weblogs.asp.net/johnkatsiotis/archive/tags/Javascript/default.aspx" /></entry><entry><title>A simple SQL quiz</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/johnkatsiotis/archive/2011/02/28/a-simple-sql-quiz.aspx" /><id>http://weblogs.asp.net/johnkatsiotis/archive/2011/02/28/a-simple-sql-quiz.aspx</id><published>2011-02-28T20:50:22Z</published><updated>2011-02-28T20:50:22Z</updated><content type="html">&lt;p&gt;Today at work a colleague came up with a really interesting question. Let’s consider this [&lt;a href="http://john.katsiotis.com/blog/a-simple-sql-quiz"&gt;read more…&lt;/a&gt;] &lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7714105" width="1" height="1"&gt;</content><author><name>djsolid</name><uri>http://weblogs.asp.net/members/djsolid.aspx</uri></author><category term="ASP.NET" scheme="http://weblogs.asp.net/johnkatsiotis/archive/tags/ASP.NET/default.aspx" /><category term="SQL" scheme="http://weblogs.asp.net/johnkatsiotis/archive/tags/SQL/default.aspx" /><category term="Quiz" scheme="http://weblogs.asp.net/johnkatsiotis/archive/tags/Quiz/default.aspx" /></entry></feed>
