• How to use Membership/Role Provider and when to use custom implementations

    Sunday, February 28, 2010

    Authentication is a must have feature for every system. Every system administrator needs to give an identity to the ones using their system. Which leads us, developers, to make this repetitive process something easier to implement and reuse every now and then on any application that may need user login.

    I've seen many "authentication frameworks" which encapsulate simple verification routines into assemblies, that can be implemented as easy as just creating a reference and running a sql script against the DB. What the heck! Even I made one of those and felt 1337 because of my glorious creation. But! That was until I meet the provider model, which reduced the greatness of my crappy "framework" or I may say, reinvention of the wheel.

    The provider model involves many other things that go a lot further than just user authentication, resource permissions, etc. For now I'll address the ones related to user management and their default implementation.

    Read more about this blog post. »
  • Oxite: Blog Description & Profile Management

    Sunday, January 10, 2010

    Following my Oxite blog post series, I add some extra functionality to the administration panel of the blog engine as well as some little changes to the blog engine title, shown on the front-end. Also I'll use this oportunity to give a little insight about Oxite's core and internal structure.

    Let's vent first...

    If you search and read reviews you may notice that Oxite it's not considered to be good at all. Actually is not referred as a Microsoft ASP .NET MVC Framework guidance project, not even a starter kit. Adding to that I'm absolutely sure when I say it's not even close to a "Best Practices & Patterns" repository for ASP .NET MVC Framework enthusiasts.

    Read more about this blog post. »
  • TIP/Trick: Enable/Disable ASP .NET Ajax TabContainer Tabs

    Tuesday, December 01, 2009

    Space and content distribution is a very important part when designing a web site. That's why breaking content into multiple sections using a tabbed widget in order to save space is commonly used technique in web design these days.

    Today I'm going to address a common issue that arises when using a tab widget, which is enabling/disabling specific tabs. But first let's talk a little bit about the Ajax Control Toolkit. The Ajax Control Toolkit provides a palette of AJAX enabled controls, with the purpose of creating an "interactive web experience". If you work with ASP .NET, you MUST have heard about ASP .NET AJAX, previously known as ATLAS. You must also have seen and feel familiar with update panels and Microsoft's ASP .NET AJAX paradigm. Certainly the ASP .NET AJAX framework makes AJAX implementation trivial to anyone.

    Read more about this blog post. »
  • Can URI and URL be used interchangeably ?!

    Wednesday, October 28, 2009

    Have you encountered yourselves hesitating when trying to use the terms URI or URL? I have. Apparently the difference between a URI and a URL is a very debated topic on the web. And it's also a source of confusion for many people, including myself.

    Almost every comparison that I find seem to be a tongue-twister, which vaguely describes that they are related but they're not the same (aha! you see? I did it too, I said something but actually said nothing. PLOP!). The truth is that there's a different RFC describing the scheme of each, URI's and URL's. If you go through the W3C documentation you'll find that they have a documentation page trying to clarify the confusion around URI's.

    Read more about this blog post. »
  • Oxite: Customizing the comments area

    Tuesday, October 27, 2009

    Continuing my Oxite series of blog posts I'll address the comments area. For my taste oxite is missing a couple of things on the comments listing and comments posting department. It doesn't have a way to ensure that the comment being posted is not being generated by a bot. I've already been a victim of this and to be honest I'm not a fan of SPAM, so let's stop that! Oxite also doesn't have a special style for comments posted by the site admin. In this blog post we are going to address this issues by implementing a css class that helps the reader identify a site administrator comment from a blog comment's list and a captcha validation for the comments input.

    For these tasks I'll be using css and reCAPTCHA, which is owned by google and it's used among popular sites as Facebook, The New York Times, StackOverflow, TicketMaster, etc. It's worth pointing out that reCaptcha was initially conceived in Carnegie Mellon University, where the term "CAPTCHA" was initially coined. The term contrives from the acronym "Completely Automated Public Turing test to tell Computers and Humans Apart."

    Read more about this blog post. »
  • How to: Write your own Visual Studio Code Snippets

    Monday, September 21, 2009

    Just to go with the formality flow, let's first define a snippet. According to wikipedia, a Code Snippet is a programming term for a small region of re-usable source code or text. Ordinarily, these are formally-defined operative units to incorporate into larger programming modules. Snippets are often used to clarify the meaning of an otherwise "cluttered" function, or to minimize the use of repeated code that is common to other functions.

    Visual studio allows us to add our own code snippets for reuse of common block codes in current or further projects. Custom code snippets can be adhered to the ones bundled with the IDE. These can be created and edited with the text editor of your preference. Snippets are handled as XML files, which follow a XML Schema from Microsoft. This schema contains the definition of mandatory elements and attributes for the snippet to work.

    Read more about this blog post. »
  • Oxite: Meets TinyMCE

    Wednesday, September 16, 2009

    This is the first of a series of blog posts I'll be doing about Oxite, a simple blog engine written using ASP .NET MVC. Which happens to be the one I'm using to administrate and maintain my blog. On my first post I stated that I intended modify the blogging engine and complete it my way. I already created a list of features, that I'd like to see in it in order to get things going.

    So, according to ME, the first "missing" feature in Oxite, is a wysiwyg. I know it can be integrated with live writer, but c'mon a blog engine shouldn't rely on third party applications, even though integration with those it's a nice feature.

    Read more about this blog post. »
    Filed under | 2 comments »
  • World.Hello()

    Tuesday, September 08, 2009
    Woa! I'm nervous!!!! This is my first blog post. The intention of this blog is to provide technical insight on day to day web development tasks, based on my work related experience and also some of my personal projects/challenges. Personally I'm not biased when it comes to programming tools/languages (ok, maybe this is a lie :), but I got to admit I have a strong bond with C#, Visual Studio and the .NET framework itself. Therefore learning and sharing stuff about how to achieve things with those are going to be the main focus of my blog posts.
    Read more about this blog post. »
    Filed under | 10 comments »

Post Ranking