Interview Questions C#

What’s the implicit name of the parameter that gets passed into the class’ set method? Value, and its datatype depends on whatever variable we’re changing. How do you inherit from a class in C#? Place a colon and then the name of the base class. Notice that it’s double colon in C++. Does C# support multiple inheritance? No, use interfaces instead. When you inherit a protected class-level Read More

Sharepoint sandbox solutions – Benefits

The main benefits of using sandboxed solutions are as follows: Solutions can be added to a production SharePoint Server 2010 environment without the risk of affecting processes outside the sandbox. Site collection administrators can deploy sandboxed solutions, freeing farm administrators from this task. Scalability and flexibility are increased because sandboxes run in separate process that can be restricted by qu Read More

Tags: ,

Sharepoint server 2010 Site Templates

The following are the sites available in sharepoint out of the box.  We can explore these templates to make use of them as it is or we can customize/configure as per our needs. For a Developer, these sites can be a good starting point to learn the features of sharepoint. I am planning to write detailed description of each site template in my new sharepoint site (still under design www.completesharepoint.com) Te Read More

Tags: ,

google chrome checkbox issue

I have been using since a year and havent faced any issues especially for the sites/appilcations which do not support chrome. Recently I faced an issue with chrome that the checkboxes are not rendering at all. Even though checkboxes are not visible, if you know the location and click on it, it will work by which I understand that it is clearly rendering issue. After searching to fix the problems, finally I found th Read More

Tags: ,

windows 7 hidden secrets

Windows 7 has a hidden secret named GodMode.  GodMode is nothing but a control panel which contains a list of administrative tools from where we can manage some administrative tasks in windows. By default it is not available we need to do a small trick to open this godMode. To enable GodMode, create a folder and rename it with the following string: GodMode.{ED7BA470-8E54-465E-825C-99712043E01C} Immediately the fol Read More

Tags: , ,

Windows 7 Themes

By default, windows 7 comes with lot of themes and these are regional in nature i.e., we will see the themes specific to our country. If we want to see all of the themes available we can navigate to the folder \windows\globalization\MCT and activate whatever theme we prefer Bookmark on DeliciousDigg this post Recommend on FacebookShare with StumblersTweet about itSubscribe to the comments on this post Read More

Tags:

Sharepoint client runtime dlls

The sharepoint 2010 client object model enables us to develop applications without the need of sharepoint server. We can develop applications using javascript, asp.net web parts or silverlight. We just need to add the microsoft.sharepoint.client.dll and microsoft.sharepoint.client.runtime.dll as references. These files can be obtained from the server where sharepoint is installed at the location %ProgramFiles%\Com Read More

Tags:

Java Keytool commands

Java Keytool Commands for Creating and Importing These commands allow you to generate a new Java Keytool keystore file, create a CSR, and import certificates. Any root or intermediate certificates will need to be imported before importing the primary certificate for your domain. Generate a Java keystore and key pair keytool -genkey -alias mydomain -keyalg RSA -keystore keystore.jks -keysize 2048 Generate a certific Read More

Default JRE for browsers

To change the default JRE for browsers: To switch to jre 1.5.x 1. Go to the C:\Program Files\Java\j2re1.5.x_xx\bin directory where JRE 1.5.x was installed. 2. Double-click the jpicpl32.exe file. It will launch the control panel for 1.5.x 3. Select the Browser tab. Microsoft Internet Explorer might still appear to be set (checked). 4. Uncheck that and click Apply. 5. Again select that chekbox and click Apply. 6. Res Read More

grep – Unix commands

>grep foo file - returns all the lines that contain a string matching expression “foo” in the file “file” >ls | grep filename - the ‘|’ symbol is called a pipe this is similar to > in dos in other words it is feeding the results from ls (list files like dir cmd in dos) and searching it for a filename >ls | grep .xml - show all filenames with .xml in their name >grep -i hari * -se Read More

Tags: