Tag Archives: Tutorials

Writing Your First Android Application: A Hello World Example – Part 2 – Understand the Application File Structure

Now that you have a working application open in Eclipse, there are all these crazy-ass files under Package Explorer that were created by the plugin. So, what do they do and which ones will you be dealing on a daily … Read More »»»

Posted in Android | Tagged , , , , , , , , , , , , | Leave a comment

Create a SQL CLR Stored Procedure Using .NET (C# Example)

T-SQL is limited in its functions and getting the results you need sometimes becomes very complex and the statements used consequently hard to decipher. With SQL Server 2005, Microsoft introduced CLR (Common Language Runtime) technology which allows you to use … Read More »»»

Posted in C# | Tagged , , , , , , , , , , , , | Leave a comment

Microsoft .NET MVC 4 Framework: How to Add a Custom Attribute to <%@ Page %> Directive of a Generic ViewPage Class

In Windows Forms .NET projects, adding a custom attribute to the <%@ Page %> directive is easy – all you have to do is simply create your base class that inherits from the System.Web.UI.Page class and add a public property … Read More »»»

Posted in MVC | Tagged , , , , , , , , , , , , , | Leave a comment

Tutorial: Microsoft .NET MVC Framework, Part 1: Building You First Page

While you may know what a Model-View-Controller architecture is (if you don’t I suggest you learn it first), you probably could use some tips and guidance on how to create your first page using Microsoft’s .NET MVC Framework if you … Read More »»»

Posted in MVC | Tagged , , , , , , , , , | 1 Comment

Centering a Div on the Page, Vertically and Horizontally, So That It Is Always in the Center Independent on Browser Window Size

I am sure you at some point wanted to center a <div> element (or, perhaps, an image or some other HTML element) in the browser content area. While positioning it horizontally is easy, just a matter of setting your left-margin … Read More »»»

Posted in HTML | Tagged , , , , , , , | 1 Comment

Create a Page With a Header, Content and Footer That Span 100% Height in the Browser

Surely you have seen pages that span 100% height of your browser’s canvas area, even though the content may be just a line or two. If you are still wondering how to do this, here’s you complete guide, although without … Read More »»»

Posted in CSS, HTML | Tagged , , , , , , , , | 6 Comments