Skip to main content

Posts

integrating your website/blog with facebook

To integrate your blog or any other website with facebook just involves 2 simple steps. Thankx to facebook you. The administrator dosent need to do many things to integrate and everything is handeled by the facebook at their end. The 2 steps that the admistrator needs to do is 1.        Add the meta tags to the blog/website in the head sectiontion so that when facebook lints your site it can compile the information that your blog/website it is showing 2.        Adding an optional like button to your blog/website so that the visitors that have an facebook account can like the page. All the likes statistics then can are shown on the facebook page and to every administrator. A website when is added to the facebook has 3 options for showing the administrator a.        Adding a single or multiple users of facebook as an admisnistator of a page that represents your blog on the facebook b.   ...

Categories and Static Pages in Blogger

1. Static pages A recent addition to the blogger in draft is the feature that allows the blog owners to add static pages to the blog. According to the blog up to 10 static pages can be added to the blog now. This can be done inside the posting section where now a separate tab is available for adding new pages. 2. Categories Blogger still does not allow the authors to add categories to the blog. This sometime is a must for a blog. Especially for the blogs like the one you are currently reading. This is a tech blog and because tech in itself is a vast topic to blog about categories are needed. So I devised a way to easily add categories to my blog. Prior to this I searched the internet for some solution but all the solutions I got either were too complicated for anyone to apply to their blog or were simply not the type I was searching for The solution I devised allows you to add categories to the blog and the main stream of posts remain untouched. When the reader clicks on any of t...

Data manipulation in azure development storage by using web services – workaround

While developing the Azure project this was the biggest problem I came across and being just a newcomer in this area I could not solve it. So I figured a way around that worked perfectly well and then I used it to finally make a working project. Nearly all the solutions I came across in the different portals were about the same problem without the development storage anywhere in question but for the people who first need to make a working solution in the development storage using anything like the VS2010 there was no help nowhere. The problem was that while accessing data which was stored in a blob in cloud storage through a web service by a Silverlight client. It gives an impression to the storage of the cloud that this is being done by cross site scripting (this is what I got from all the different sources I read) and because this was not allowed the cloud project (webrole in my case) was blocking the request and was returning nothing in return. So this solution that I figured out i...

ParameterLess construct

When I was creating my first cloud app that’s used Microsoft Azure for storage and computation purposes I came across a strange problem which wasn’t related to the Azure itself but was more related to the c# and the .net framework. When I was writing the code I made a Class which had no parameter less construct. Objects of this class were then used in the program. Because this class was derived from Ienumerator I could actually user Foreach() on the objects of this class but to my surprise the code shown below was showing error at the highlighted line. using System; using System.Collections.Generic; using System.Linq; using System.Web; using Microsoft.WindowsAzure.StorageClient; using Microsoft.WindowsAzure; namespace WebRole1 { public class mspDataServiceContext : TableServiceContext { public mspDataServiceContext(string baseAddress, StorageCredentials credentials) : base(baseAddress, credentials) { } static int c; public IQueryable<msp> msps { get { retur...

have you forgotten the password to your windows administrator account?

If the answer is yes then go ahead and read the entire post. There are two full proof ways depending upon what your installation contains 1) You have another administrator account that you can log into 2) You don’t have another administrator account that you can log into If you have another administrator account that you can log into things will be a little simple We will make use of the net user command and there will be no need of installing any third party software in this case. You just need to follow the procedure given and in less than 2 minutes you will be able to reset the password. This same trick will work for any windows installation let it be XP or Vista or Window 7. 1) Log into the administrator account u can log into 2) In the start menu type cmd 3) Now right click on the cmd.exe and click on Run as administrator option. 4) UAC (user accounts control) build in your operating system will ask for permission so say yes and allow the cmd.exe to run. 5) Now yo...

Protecting Private Data

Mostly to protect important data or sometimes private pics we use encrypting programs like the AXcrypt. Which do not allow viewing individual files in the chunk of files encrypted together. This makes viewing files a tough process especially when the size of the files runs into several GBs. I have seen programs like these taking hours together to decrypt files on a dual core machine like mine. Maybe they are not made to take advantage of both of the processors. Also when all the files are decrypted there is a greater chance for the security to be compromise While I was thinking about this problem. I found out a solution that can be implemented by using only the tools that come with the Window 7 . The tools are 1. Ability to attach virtual hard disk 2. Bitlocker Many of you might have got what I am up to for others let’s see HOW TO PROTECT DATA. The process comprises of making a new .VHD file Attaching it Encrypting it Then adding the data Finally detaching it And you...

Performance Monitor(perfmon.exe) must for window developers

Recently I attended Microsoft Community Tech Days at New Delhi. The last session of the event was taken by Bijoy who is presently working with Microsoft. The session was about .NET tips and tricks. The session was extremely informative and really forced all the developers that were present in that auditorium to actually think about the process we take for measuring the resources and also the process we use for debugging an application. He laid stress on many tools one of which was performance monitor (Perfmon). Perfmon is supplied by the Microsoft with the operating system and there is no need for us to install anything to use it. It can actually capture live data about the performance of our system. A newly installed software or monitor the changes that take place in the registry during a particular time period. A lot of detailed information is present at TechNet . But there were no videos for the starters so here is one giving Detailed description about how to get started. part1 -...