Web Dev And Stuff

Version 0.3 of Linked OAuth Library is available via Nuget.

  • This release has a dependency in Hammock Nuget package.
  • I have also uploaded the source code at Bitbucket and it’s available to fork it!

[more…]

As of today you can find RazorJS’s source code available on BitBucket. Feel free to download the code and change it to fit your needs. [read more…]

PetaPoco 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 Massive and Dapper. (If you know more projects let me know).

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.

Let’s consider a table with a bunch of columns and one of them is a geometry column. [read more…]

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.

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. [read more…]

Objectives

  • Build Contact Page (a page that interacts with a data-storage)
  • Build a Contact List Page (a page with a gird)
  • Do it using ASP.NET WebForms
  • Create Unit Tests

We will use the MVP pattern and the open-source project WebFormsMVP to accomplish  that! [read more…]

 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? [read more...]

A flag Enum is an Enumeration that can hold multiple values per instance An example of such Enum is: [read more…]

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 [read more…]

Firebug 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 [read more…]

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 [read more…]

More Posts Next page »