CSS sprites repeatable

CSS sprites Wiki says: To reduce the number of requests the browser makes to the server, some web designerscombine numerous small images or icons into a larger image called a sprite sheet You can read advantage of CSS sprites here. Example of CSS sprites can be found here. Background: Now the catch we had was while… Continue reading CSS sprites repeatable

Simple way to dynamically load text to marquee

There might be many other way to load text dynamically to marquee, like javascript, Ajax or Jquery library. But I will show a very easy way using HTML and  Asp.Net The aspx page will look like The code behind page will look like Happy Coding!

2000 things

While browsing though internet I got a web site name csharp.2000things.com. The idea of this blog is to know 2000 things about C#. It is Sean Sexton. So the question is what should we do with this great resource. It has very small description with example on various topics like Data Types, Events, Interface, methods etc.… Continue reading 2000 things

Auto deployment

You can always get the How To @ msdn for setting up build server on Microsoft Team Foundation Server. I will list down few of my leanings while we tried setting up build server for more than 20 Dot Net projects. Some points to remember while setting up the build server. Every action from check-in to… Continue reading Auto deployment

Jumpstart a new team member

We came across a scenario where a new member joined our team. Now we wanted to know how does the new member get along with other members. Below mentioned are the activity we did to find out. Idea & Agenda: Schedule non-stop time of at least 4-5 hours. Target to complete end to end functionality of… Continue reading Jumpstart a new team member

Use of Action (Function programming) for better code health continued

Please read Part 1 of this post here. But with the following code I can just do away with making change only to one place. See the magic here… we are not passing any parameters to the handler class. We just provide the function parameters that we might want to use in the consuming (Class… Continue reading Use of Action (Function programming) for better code health continued

Use of Action (Function programming) for better code health

One of my friend Kritul Rathod had gave his understanding of Action keyword in C#. Passing the functions as parameters helps in many ways, here are basic ones It helps separate the coding logic (for some trivial things like exception handing, type conversions, Verbose Logging, etc – the things that clutters the code) from the actual… Continue reading Use of Action (Function programming) for better code health

Another Coding rules!

During some learning I came across 10 rules here with corresponding How-To #10 Avoid regions :: Refactor into smaller methods #9  Use Exceptions For Errors :: Only for errors not for execution branching #8  Avoid Boolean Parameters :: Create local Properties instead or using 2 different methods one for true and one for false. #7  Avoid Too Many Parameters :: Refactor to Create… Continue reading Another Coding rules!

Some tools on my machine.

Here are few tools I use for my web development: Resharper : http://www.jetbrains.com/resharper/download/ Fiddler : http://www.telerik.com/fiddler Wcf Client : http://msdn.microsoft.com/en-us/library/bb552364(v=vs.110).aspx Reflector : http://www.red-gate.com/products/dotnet-development/reflector/ Programmer’s notepad : http://www.pnotepad.org/ Large File Viewer : http://www.swiftgear.com/ltfviewer/features.html procexp (Process Explorer) : http://technet.microsoft.com/en-in/sysinternals/bb896653.aspx Total Commander : http://www.ghisler.com/ CamStudio : http://camstudio.org/ Everything : http://www.voidtools.com/ Watir (Ruby program) : http://watir.com/