sharepointcafe

  • How to insert Data using Entity Framework

    .

    If you are new to Entity Framework, then read my earlier blog – Introduction to Entity FrameworkThis blog will help you about How to insert data into sql using Entity Framework.I have used Database first model approach.HTML File: <html xmlns=”http://www.w3.org/1999/xhtml”>…

  • Introduction to Entity Framework – Entity Framework Tutorial

    .

    In my another blog, I have explored about ASP.Net and ASP.Net Core. In this blog, we will see about Entity Framework. What is Entity Framework? Entity Framework is an object-relational mapping which allows developers to work with relational databases. Entity Framework…

  • Data binding directly to a store query (DbSet, DbQuery, DbSqlQuery) is not supported – Entity Framework

    .

    In the previous blog, we have seen about Entity Framework.In this blog, we will see error resolution related to Data binding directly to a store query. In Visual Studio 2015 I was using Entity Framework and wrote a code to…

  • Create a login module using Entity Framework

    .

    If you are new to Entity Framework then read my earlier blog on this.In this blog I will explain about how to create a login module using entity framework. Create a login module using Entity Framework Create Table Script: /******…

  • The underlying provider failed to open – Entity Framework Error

    .

    I found this error – “The underlying provider failed to open” while I was working on Entity framework project. I searched this and found the solution.Inner Exception says: Cannot open database “xxxx” requested by the login. The login failed.Login failed for…

  • Business Connectivity Service in SharePoint 2013

    .

    In this blog, we will see what’s new in BCS in SharePoint 2013. BCS stands for Business Connectivity Services which returns the result to the user through an external list or data sources.BCS allows us to perform operations with external…

  • ,

    Design Patterns in ASP.Net

    .

    If you are an ASP.Net developer or any other programming technologies, then you must have came across the word Design Patter.In this blog, we will see What are design patterns and their types What are Design Patterns? Design patterns provide…

  • Dispose vs Close

    .

    In this blog, we will see the differences between Dispose() and Close() What are the differences between Dispose() and Close() Dispose() and Close() function for is used to dispose or close SharePoint server objects like SPWeb, SPSite. Purpose of these…

  • MVC Architecture

    .

    In this blog, we will try to understand the MVC Architecture with the help of a diagram. MVC Architecture MVC consists of 3 main words: Model View Controller Apart from above mentioned elements one another important element is there in…

  • MVC Version

    .

    MVC was first introduced in .Net 3.5 framework.MVC 1.0 was available in year 2009 with following features:Routing, HTML Helpers, Auto Binding. Since then multiple versions were introduced with various .Net framework. Versions of MVC After MVC 1.0, 2.0, 3.0, 4.0,…

  • Write Power Shell Script to Lock and Unloock a Site in SharePoint 2010

    .

    Below Power Shell Script will Unlock a SharePoint site if it is in locked/read-only.#Region variable declarationWrite-Host “UnLock status started…..”Add-PSSnapin Microsoft.Sharepoint.PowershellSet-SPSite -Identity “<site-url>” -LockState “Unlock”Write-Host “Task completed…..”Read-Host -Prompt “The above error occurred. Press Enter to exit.”For -LockState attribute there are mainly…

  • WCF tutorial – Learn WCF quickly

    .

    WCF tutorial – Learn WCF quickly WCF stands for Windows Communication Foundation and used for developing distributed system. WCF services can communicate with.Net applications and Non-Microsoft technology as well. ABC of WCF (A)   Address – Where to bind, which is…

  • Client Side Object Model in SharePoint 2010

    .

    SharePoint 2010 offers a useful way to access SharePoint objects from the client side. A developer can use .Net managed code, ECMAScript to access SharePoint objects like List, Site, Library etc.On this blog, I will write a code to select…

  • C# code to convert XML into Dataset

    .

    How to convert XML file into dataset in C# programming?In this blog I will show you how we can get XML data into a dataset. What is XML? XML is a markup language developed by the World Wide Web Consortium…

  • , ,

    Oops interview questions and answers

    .

    In this blog, I have collected Interview questions and answers of OOPS (Object Oriented Programming System). Q. What are OOPS principles? Object-oriented is an approach to programming in C#, Java etc.OOPS Principals – 1. Abstraction2. Encapsulation3. Inheritance4. Polymorphism Q. Is inheritance possible if a private…

  • All about sp_addlinkedserver syntax

    .

    sp_addlinkedserver linked 2 servers. Once sp_addlinkedserver query executes, query can be run against these servers. Run below queries one by one to link, to provide login credentials and to access data EXEC sp_addlinkedserver @server=’ServerName’ EXEC sp_addlinkedsrvlogin ‘ServerName‘, ‘false’, NULL, ‘username’, ‘password’…

  • ,

    Client Side Pagination in Gridview

    .

    As you know pagination is very important for any data control for eg Gridview if you have large amount of data. Server load on pagination is also a big concern.Below is the code for pagination in gridview using client side….

  • Why we use Cookie?

    .

    What is Cookies? Cookies here refer as Web Cookies, HTTP Cookies is a small piece of code stored at user’s machine by bowers. Why we use Cookies ? To collect demographic information about who is visiting the Web site. Sites…

  • ,

    Java Script Form Validation- ASP.Net Web Form

    .

    Java Script is the best way to validate a web form at client side and ensure the most accurate data to store from an HTML or asp.net web forms. In this blog, I will explain about all kind of validation…

  • How to create a blank SharePoint Page? SharePoint Branding

    .

    I was working on a project where all my SharePoint inherits from a custom master page with predefined Page Layout. I got a requirement where i need to create few pages with different layouts. There are various ways to do…


RSS
YouTube
YouTube
Instagram