Allow unsafe update vs run with elevated privileges in sharepoint

In this blog, we will see the differences between AllowUnsafeUpdates and RunWithElevatedPrivileges What is allow unsafe update and run with elevated privileges in SharePoint 2010? What are the differences between Allow unsafe update and RWEP. AllowUnsafeUpdates Vs RunWithElevatedPrivileges AllowUnsafeUpdates –  AllowUnsafeUpdates is set to true when you are trying to update the database.To GET the … Read more

How to automatically generate unique id in sql?

In sql there are many options to generate unique number. Here I am explaining about how to generate standard unique number in sql. Below is sql query : CREATE TABLE dbo.tblTable1  (ID INT IDENTITY(1,1) NOT NULL PRIMARY KEY CLUSTERED,   UserID AS UID + RIGHT(00000000 + CAST(ID AS VARCHAR(8)), 8) PERSISTED,   username varchar(200),city varchar(200)  )

what are differences between classic mode and claim based authentication in SharePoint 2010

what are differences between classic mode and claim based authentication in SharePoint 2010 Classic mode authentication: This is nothing but windows authentication. It means it will work based on you windows logged in credentials. There is a problem in classic mode authentication. Once a site is created under this authentication then Form based authentication can … Read more

How to work with features in SharePoint?

How to work with features in SharePoint? Feature deployment and activation in sharepoint Feature is used to give some enhancement in SharePoint site. Please follow below steps to use feature in SharePoint site.Paste these two .xml files in below location.C:Program FilesCommon FilesMicrosoft Sharedwebserver extensions12TEMPLATEFEATURESmyfolderHere is both .xml files. feature.xml (code)<?xml version=”1.0″ encoding=”utf-8″ ?><Feature xmlns=”http://schemas.microsoft.com/sharepoint/”Id=”5DFD12AF-D0AA-4c63-8FB8-C49DB1191083″    … Read more

Introduction to WCF.

What is WCF? WCF stands for Windows Communication Foundation. The main use of WCF is to develop distributed system. WCF main feature is interoperability. What are Advantages of using WCF? 1. Interoperability 2. Scalability 3. Enhance security and reliability compared to ASMX (Web services) WCF services have following elements Message – This is the object … Read more

WCF tutorial for beginners and experience

WCF stands for Windows Communication foundation. It is used for developing distributed system.Below are the topics which are important in WCF for beginners and for experience as well. WCF Introduction WCF vs. Web Service WCF Architecture ABC of WCF First WCF Application WCF Binding WCF- IIS Hosting WCF- Self Hosting WCF- WAS Hosting WCF- Service … Read more

Learn OOPS concept in simple and easy way

In this blog, We will see Object Oriented Programming Principal in simple and easy way. What is Object Oriented Programming Concept? Object oriented is an approach to do programming in C#, Java etc. Before object oriented programming structural programming model was in use. C programming language is an example of  structural programming. But the problem … Read more

Basics of WCF Architecture

WCF Architecture WCF stands for Windows Communication Foundation, introduced by Microsoft. WCF is one of the popular technology to build Service-Oriented Systems. WCF is the unified model for all existing distributed technologies by Microsoft such as ASMX Web Service,.Net Remoting. WCF supports HTTP, TCP, MSMQ and other protocol as well to communicate. Following image explains … Read more

WCF vs Web Services

Most useful and most asked question in an interview is WCF vs Web Services. It could be asked in various form like Why WCF is better than Web Services WCF and Web Services both are the implementation of SOA (Service Oriented Architecture), both are SOAP-based services. WCF supports other formats as well apart from SOAP … Read more

How to add an active class in navigation menu item in asp.net website?

Generally active class show which page /link you are visiting currently. Active class will be added in CSS class, but the problem is only one item can have active class at one time. But we need to show active class dynamically. Add an active class in menu item in ASP.NET website? In asp.net generally we … Read more

RSS
YouTube
YouTube
Instagram