AppFabric Cache Management cmdlet – v1.1

Please find below, updated version of cmdlet published on my AppFabric Cache management cmdlet post: ################################################################# # AppFabricCacheSetup.ps1 PowerShell Cmdlet # ################################################################# # Prepares your AppFabric Cache Cluster environment for # # development. # ################################################################# # Fatih Boy, April 2010 # # Version 1.1 # ################################################################# Import-Module DistributedCacheAdministration Use-CacheCluster $cacheName= Read-Host "Please enter cache name...
Okumaya devam...

AppFabric Beta 2 is out!

Microsoft just publish beta 2 release of its application server extensions, AppFabric. You can download this release from here. In order to uninstall previous release of AppFabric, here is the path to follow : Control Panel -> Programs -> Programs and Features -> Installed Updates -> Application Server Extensions for .NET 4 (KB970622)...
Okumaya devam...

dynamic vs object

      People keep asking me what is the difference between “dynamic” and the old friend “object”. Well, answer is a little tricky; in order to show the difference, it’s better to take a look at both of them more detailed.      Let me start with the old friend “object”, that is nothing but a shortcut...
Okumaya devam...

Changing schema names on Sql Server 2005

     I my database on Sql Server 2005, I have to change schema names from some username to dbo and I wrote the following sql statements which simply generates alter queries. All you have to do is to change ‘Username Here‘ to actual username, it will generates alter queries for you and then just copy...
Okumaya devam...

Some Useful CheatSheet Links

Some Useful CheatSheet Links: .NET Format String Quick Reference [PDF] ASP.NET 2.0 Page Life Cycle & Common Events [PDF] Visual Studio 2005 Built-in Code Snippets (C#) [PDF] ASP.NET Page Life Cycle Diagram [PNG] Visual Studio 2005 Default Keybindings C# | VB (PDF) Microsoft ASP.NET AJAX Library VB.NET/C# Comparison HTML Character Entities CSS JavaScript XHTML (PDF)...
Okumaya devam...

Generating Managed WMI Classes

  If you are also writing code using WMI on C#, probably you’ve also use the following classes; ManagementScope, ManagementObjectSearcher, ManagementObjectCollection and also ManagementObject; But they’re not such easy classes to deal with, espacially if you’re using WMI methods. Take a look at this code: private void List(string containerName) { string sorgu = String.Format(“SELECT *...
Okumaya devam...

Creating Folders on Outlook

Here is a simple but usefull tip for outlook add-in developers. You can create new folders with the help of the following code : //using Outlook = Microsoft.Office.Interop.Outlook; //ThisApplication outlook Outlook.MAPIFolder rootFolder = Utility.Folder.GetRootFolder(outlook.Session); Outlook.MAPIFolder tcRootFolder = Utility.Folder.CreateFolder(rootFolder, “My Folder”);...
Okumaya devam...