C# struct
The C# struct is a lightweight alternative to a class. It can do almost the same as a class, but it's less "expensive" to use a struct rather than a class. The reason for this is a bit technical, but...
View ArticleWhat are the differences between System.String and System.Text.StringBuilder...
A)System.String is immutable. When we modify the value of a string variable then a new memory is allocated to the new value and the previous memory allocation released. System.StringBuilder was...
View ArticleDifference between an interface and abstract class?
Interface :-all the methods having only declaration but no definition.(We have to override all the methods to add definition)-all the methods are public.(If you have private methods, we can't inherit...
View ArticleWhat is difference between the “throw” and “throw ex” in .NET?
“Throw” statement preserves original error stack whereas “throw ex” have the stack trace from their throw point. It is always advised to use “throw” because it provides more accurate error information.
View ArticleHow .Net web services work when we add web services in any project
Let's assume, i have a project(ABC) where i have added SharePoint web services.After adding the web services in the project(ABC)....Microsoft's wsdl.exe utility will generate a spurce code file (C#)...
View ArticleHow to find the IP Number and MAC Address of a Network Card
Open command prompt window from your system Type ipconfig /all at the command prompt to check the network card settings The IP number and MAC address are listed by ipconfig under IP Address and...
View ArticleHow to enable mixed authentication in sql server
Login to SQL ServerStart SQL Server Management Studio Enter the Server name and select Windows authentication. Make sure you are logged in with administrator credentials. Right click on the server name...
View ArticleAlternate Access Mappings in Sharepoint
First get your IP or Public URL or Host Name. Open IIS (Click Run-->inetmgr-->Expand Sites) Right click on web site which you want to make to Public Click "Edit Binding" Select your web site in...
View ArticleHTTP Error 500.19 - Internal Server Error
IIS ManagerSitesSelect your root web siteIn the center section pane, Select "Features View"Right page Under the ActionsBasic SettingsClick on Connect as...You will see promptIn the prompt, it should be...
View ArticleHTTP Error 404.17 - Not Found
HTTP Error 404.17 - Not FoundThe request matched a wildcard mime map. The request is mapped to the static file handler. If there were different pre-conditions, the request will map to a different...
View ArticleThe requested page cannot be accessed because the related configuration data...
<handlers accessPolicy="Read, Script" />Solution: On the Start menu, choose Control Panel, and then choose Programs. Under Programs and Features, choose Turn Windows features on or off. In the...
View ArticleThis configuration section cannot be used at this path
Error: This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by...
View ArticleDifference between XML and JSON
Note: JSON is a format and not a languageJSON can be used in web applications for data transfer. Prior to JSON, XML was considered to be the chosen data interchange format. XML parsing required an XML...
View ArticleHow to check in which language the SharePoint was installed?
First and easy set is. Go to sharepoint central admin 15 hive folder (For SharePoint 2013), 14 for 2010, 12 for 2007.2007c:\program files\common files\microsoft shared\web server...
View ArticleSyntel SharePoint Interview
asp.net execution with IIShttp handlers and modulescustom web part using user controlwhat is the best way to use user control in SharePointGC external callingdispose, finalizefeature creation and...
View ArticleScale-up Scale-out in computers
Scale-up: x-->XScale-up mean you are going to increase or change the existing environment. Ex: If you 1TB 60GB Server, if you add 1TB 60GB additional then it will be Scale-up. To do scale-up, you...
View Article