Responsive Design

Responsive design uses media queries to detect the client resolution and adjust to fill the display accordingly.

Ethan Marcotte introduced the concept of responsive design, whereby you craft a site using technologies that allow the site to adapt and respond to whatever device renders it. Responsive design embraces all devices and displays as part of a single user experience. The goal is to design for the entire user experience, not for disconnected designs aimed at different resolutions.

How does one design for this entire experience? Media queries.

Introduced in the CSS3 specification, media queries give designers the ability to modify how their sites display across resolutions, whether a small BlackBerry, a large 24” desktop monitor, a portrait view or a landscape view.

Reading :

  1. http://msdn.microsoft.com/en-us/magazine/hh912616.aspx
  2. http://msdn.microsoft.com/en-us/magazine/gg619395.aspx

 

 

 

 

Advertisements

Wide tables in SQL Server 2008

SQL Server table supports up to 1024 columns per table which is typically good enough for most of the cases. However if you need to expand a table beyond 1024 columns then you need to use a special table types named as Wide Tables. Wide tables are tables which can have more than 1024 columns and can actually have up to 30,000 columns.

Thanks to  : http://blog.consultdba.com/2011/10/wide-tables-in-sql-server-2008.html

Spring.NET

Spring.NET is an open source application framework that makes building  enterprise .NET applications easier.

http://www.springframework.net/index.html

Spring Social is an extension of the Spring Framework that helps you connect your applications with Software-as-a-Service (SaaS) providers such as Twitter, Facebook, Dropbox, and more! It offers an extensible service provider framework (including support for OAuth1 and OAuth2) that greatly simplifies the process of connecting local user accounts to hosted provider accounts.

Spring.NET Social supports the following runtime environments:

  • .NET 2.0
  • .NET Client Profile 3.5 and 4.0
  • Silverlight 4.0 and 5.0
  • Windows Phone 7.0 and 7.1

Spring.NET Social Home Page
Spring.NET Social Twitter API Support Home Page
Spring.NET Social Dropbox API Support Home Page
Spring.NET Social LinkedIn API Support (pre-release) Home Page

Dependency Injection

Dependency Injection (DI), which allows you to inject objects into a class, rather than relying on the class to create the object itself.

Dependency Injection is a worthwhile concept to explore for use within apps that you develop. Not only can it reduce coupling between components, but it also saves writing boilerplate factory creation code over and over again.

better understanding : http://msdn.microsoft.com/en-us/magazine/cc163739.aspx

 

Extending Your Activation Grace Period on Windows Server 2008 and 2008 R2

We need to do is run a script in the windows\system32 folder called slmgr.vbs.  Check the steps below:

  1. Bring up a Command Prompt.
  2. Type slmgr.vbs –rearm, and press ENTER.
  3. Restart the computer.

You computer has now extended the evaluation period 60 days!!!  You can re-arm up to 3 times giving you an activation-free trial period of a total of 240 days!!

How Much Time Is Remaining in the Evaluation Period

You can find out by running the same script this time with different switch:

  1. Type slmgr.vbs -dli, and the current status of the evaluation period is displayed.  (the dli switch means – display license information)

If you want to find out what else you can do with the script type slmgr.vbs –? and you’ll get a full list and explanation of all the switches.