When to use ViewBag, ViewData, or TempData in ASP.NET MVC 3 applications
"When should I use a ViewBag vs ViewData vs Both the ViewData and ViewBag objects work well in the following scenarios: ViewData & ViewBag objects ViewData ViewBag ViewBag ViewBag TempData…
Identify and attach the correct W3WP process
In most of the time, being a developer, we will be attaching to the W3WP Process We will be in a dilemma to which we need to attach and at-last,…
SP 2010: Find error messages with a Correlation ID token in SharePoint 2010
One of the most noted features for me as a developer is that whenever you bump into an error message – you’ll be presented with a correlation ID token. In…
SharePoint 2010 Site Collection Codes
Team Site Blank Site Central Admin Site Wiki Site Group Work Site Tenant Admin Site Access Services Site Microsoft Project Site Personalization Site News Site Publishing Site Publishing Site News…
Automating SharePoint WSP files deployment with Powershell
Write-Host -f Green -NoNewLine . Write-Host -f Green ".. Write-Host -f Yellow ".. Write-Host -f Green ".. Write-Host -f Yellow ".. o!" Write-Host -f Green ".. o!" harePoint owershell" }…
SharePoint Dispose Checker Tool
Source : http://www.codeproject.com/Articles/429077/SharePoint-Dispose-Checker-Tool What is the Dispose Checker Tool? Dispose Checker Tool checks your project for unreleased SharePoint objects and reports them as errors Where to download the tool? How…
SharePoint Developing for performance – Disposal patterns and tools
SharePoint 2010 developing for performance article series: In SharePoint there’s valid grounds for saying it’s important to dispose, more than just saying "It’s best practice" What is a "dispose pattern"?…
SharePoint, remove all permissions from a document or list item
private void RemoveAllPermissions(SPListItem CurrentlistItem) Guid siteId = CurrentlistItem eb ite D; Guid webId = CurrentlistItem D; D; int itemId = CurrentlistItem D; ite //re-fetch the item SPListItem item = list…
Powershell, Working with SharePoint features
Starting to love PowerShell more and more (thx to Shehzad & Ryan) ;) List all installed features on the farm It’s really straight forward using the Get-SPFeature command to return…
List of SharePoint sites with list of users in %owner% Groups
harePoint") > $null harePoint harePoint foreach ($websvc in $websvcs) foreach ($site in $webapp ites) write-host $site foreach ($web in $site foreach ($group in $web roups) $G = $group if ($G…
SQL Server Compact and SQLite Toolbox
In this episode, Robert is joined by Erik Ejlskov Jensen, author of the SQL Server Compact & SQLite Toolbox extension for Visual Studio This extension adds several features to help your…
Differences Between SQL Server Compact and SQL Server
SQL Server Compact 3.5 SP2 SQL Server Compact 4.0 SQL Server SQL Server 2014 LocalDB Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes…
Infopath Browsers compatibility
= Full support = Partial support = No support Note If a specific browser version is not listed in the following table, it is not supported The following table…
PowerShell List of SharePoint sites, output to text file
Here is a simple and quick powershell script to enumerate all the sub sites in SharePoint and output the results to a text file harePoint") > $null harePoint $websvcs =…
Creating sub sites using an App for SharePoint – Office 365 Developer Patterns and Practices
Andrew Connell walks through the Office 365 Patterns & Practices Scenario creating Sub Sites using an App for SharePoint Using remove provisioning pattern will initially require additional code, but since sites created…
Second Shot Microsoft Certification
Failed your first Microsoft certification exam Don't worry, we know passing your Microsoft Certification exams can be tough so between 5th January and 31st May you'll get a free second…
CyberSecurity for dummies !!
A PTs (advanced persistent threats) have changed the world of enterprise security and how networks and organizations are attacked While no single solution will solve the problem of…
Absolute, Relative, Fixed Positioning: How Do They Differ?
Different elements don't have different default values for positioning, they all start out as static The only reason you would ever set an element to position: static is to forcefully-remove…