An AJI Software Community
BLOGGER LIST

(1691, 1/21/2012)  
(1472, 1/31/2012)  
(1337, 12/16/2011)  
(765, 12/22/2011)
(729, 1/09/2012)
(678, 1/19/2012)
(597, 10/25/2011)  
(560, 10/18/2011)
(504, 2/06/2012)
(475, 1/25/2012)  
(460, 1/15/2012)  
(451, 1/25/2012)
(425, 11/04/2011)
(363, 1/16/2012)
(332, 1/19/2012)
(293, 2/03/2012)
(283, 10/11/2011)  
(271, 11/03/2011)
(266, 1/24/2012)  
(256, 2/03/2012)
(253, 2/04/2012)
(252, 9/09/2011)  
(250, 1/04/2012)  
(246, 1/25/2012)  
(210, 1/23/2012)
(198, 2/06/2012)  
(194, 11/19/2011)  
(190, 1/12/2012)
(188, 2/04/2012)  
(187, 11/18/2011)
(186, 2/02/2012)  
(184, 12/16/2011)  
(179, 1/13/2012)
(175, 12/02/2011)  
(169, 9/15/2011)  
(168, 8/16/2011)
(167, 2/03/2012)
(158, 8/09/2011)
(152, 1/08/2012)
(148, 12/19/2011)
(142, 12/04/2011)
(141, 2/02/2012)
(136, 2/03/2012)
(133, 12/11/2011)  
(132, 12/17/2011)  
(126, 1/04/2012)
(126, 1/31/2012)  
(126, 12/27/2011)
(120, 1/04/2012)  
(114, 12/12/2011)
(114, 12/12/2011)
(110, 9/20/2011)  
(109, 10/14/2011)
(105, 9/16/2011)
(105, 1/25/2012)
(103, 2/03/2012)
(103, 2/02/2012)  
(102, 11/29/2011)
(100, 12/04/2011)
(96, 12/18/2011)  
(94, 12/31/2011)
(94, 10/09/2011)
(88, 2/02/2012)  
(87, 11/03/2011)
(86, 1/17/2012)
(86, 11/11/2011)
(82, 1/17/2012)
(79, 10/25/2011)  
(77, 1/20/2012)
(74, 1/31/2012)
(73, 11/29/2011)
(70, 1/19/2012)
(70, 1/26/2012)
(70, 2/04/2012)
(69, 12/10/2011)
(69, 1/24/2012)
(67, 12/16/2011)
(66, 9/20/2011)
(66, 12/08/2011)  
(65, 12/27/2011)
(65, 11/04/2011)
(64, 11/24/2011)
(61, 11/01/2011)  
(61, 10/03/2011)
(60, 1/23/2012)
(59, 11/29/2011)
(58, 11/22/2011)
(58, 9/14/2011)
(58, 11/04/2011)
(57, 1/02/2012)
(56, 9/06/2011)
(53, 10/13/2011)
(53, 2/04/2012)
(51, 12/16/2011)
(51, 1/11/2012)
(50, 1/18/2012)
(50, 1/27/2012)
(49, 2/02/2012)
(49, 1/18/2012)  
(48, 12/07/2011)
(47, 1/29/2012)
(47, 1/18/2012)  
(46, 10/06/2011)
(45, 9/07/2011)
(43, 12/11/2011)
(43, 12/01/2011)  
(43, 11/10/2011)
(42, 1/30/2012)
(42, 8/23/2011)
(42, 1/19/2012)
(42, 2/03/2012)
(41, 10/14/2011)
(41, 9/07/2011)
(41, 2/01/2012)
(39, 12/01/2011)
(39, 10/19/2011)
(39, 8/15/2011)
(39, 8/26/2011)
(38, 9/20/2011)
(38, 1/09/2012)
(38, 2/02/2012)
(37, 1/29/2012)
(37, 12/29/2011)
(36, 1/25/2012)
(36, 12/19/2011)
(36, 1/03/2012)
(35, 12/27/2011)
(35, 1/17/2012)
(35, 12/02/2011)  
(35, 1/25/2012)
(35, 8/19/2011)
(35, 1/17/2012)
(35, 1/05/2012)
(34, 1/27/2012)
(33, 11/09/2011)
(33, 1/23/2012)
(32, 12/14/2011)  
(32, 12/30/2011)
(32, 1/26/2012)
(31, 1/16/2012)
(30, 11/06/2011)
(30, 10/30/2011)
(30, 1/05/2012)  
(26, 11/07/2011)
(25, 9/04/2011)
(25, 12/23/2011)
(25, 1/09/2012)
(25, 12/30/2011)
(25, 9/25/2011)  
(25, 10/24/2011)
(25, 1/24/2012)
(25, 1/02/2012)
(24, 11/21/2011)
(24, 12/27/2011)
(23, 9/08/2011)
(23, 12/01/2011)
(23, 2/01/2012)
(22, 11/23/2011)
(21, 10/15/2011)
(20, 12/12/2011)
(20, 11/10/2011)
(20, 1/13/2012)
(20, 11/02/2011)
(20, 12/15/2011)
(20, 1/08/2012)
(20, 1/24/2012)
(19, 1/30/2012)
(19, 1/29/2012)
(18, 11/03/2011)
(18, 10/30/2011)
(18, 12/27/2011)
(18, 10/11/2011)
(18, 1/06/2012)
(18, 11/23/2011)
(18, 8/17/2011)
(17, 1/09/2012)
(17, 8/11/2011)
(17, 9/02/2011)
(17, 1/04/2012)
(17, 11/01/2011)
(17, 2/05/2012)
(17, 1/14/2012)
(17, 1/27/2012)
(16, 1/14/2012)
(16, 9/13/2011)
(16, 10/07/2011)
(16, 8/11/2011)
(16, 11/16/2011)
(15, 12/12/2011)
(15, 9/14/2011)
(15, 2/05/2012)
(14, 11/16/2011)
(14, 2/04/2012)
(14, 1/06/2012)
(14, 8/09/2011)
(14, 12/12/2011)
(14, 12/31/2011)
(14, 11/12/2011)
(14, 11/29/2011)
(14, 11/04/2011)
(13, 10/13/2011)
(13, 2/02/2012)
(13, 9/09/2011)
(13, 12/29/2011)
(12, 9/14/2011)
(12, 12/06/2011)
(12, 1/10/2012)
(12, 1/25/2012)
(12, 1/31/2012)
(12, 2/02/2012)
(11, 8/17/2011)
(11, 1/05/2012)
(11, 9/29/2011)
(11, 9/30/2011)
(11, 8/21/2011)
(11, 12/19/2011)
(11, 8/13/2011)
(11, 1/18/2012)
(11, 1/13/2012)
(10, 10/25/2011)
(10, 9/26/2011)
(10, 2/04/2012)
(10, 10/19/2011)
(10, 9/15/2011)
(10, 9/22/2011)
(10, 9/23/2011)
(10, 11/04/2011)
(10, 10/21/2011)
(10, 12/22/2011)
(9, 8/27/2011)
(9, 1/25/2012)
(9, 12/05/2011)
(9, 2/01/2012)
(8, 10/28/2011)
(8, 9/07/2011)
(8, 12/16/2011)
(8, 8/23/2011)
(8, 10/07/2011)
(8, 1/15/2012)
(8, 11/29/2011)
(7, 10/08/2011)
(7, 1/25/2012)
(7, 12/16/2011)
(7, 10/13/2011)
(7, 10/07/2011)
(7, 2/06/2012)
(7, 1/22/2012)
(6, 11/08/2011)
(6, 10/10/2011)
(6, 10/06/2011)
(6, 9/15/2011)
(6, 11/24/2011)
(6, 1/25/2012)
(6, 8/31/2011)
(5, 11/02/2011)
(5, 2/05/2012)
(5, 11/21/2011)
(5, 8/25/2011)
(5, 11/10/2011)
(5, 1/23/2012)
(5, 1/20/2012)
(4, 12/12/2011)
(4, 2/02/2012)
(4, 10/24/2011)
(4, 10/18/2011)
(4, 9/21/2011)
(4, 10/17/2011)
(4, 11/02/2011)
(4, 1/23/2012)
(4, 11/23/2011)
(4, 8/31/2011)
(4, 9/01/2011)
(4, 10/11/2011)
(3, 1/24/2012)
(3, 11/21/2011)
(3, 12/27/2011)
(3, 11/16/2011)
(3, 10/12/2011)
(3, 8/06/2011)
(3, 8/30/2011)
(3, 10/04/2011)
(3, 11/04/2011)
(3, 9/16/2011)
(3, 8/15/2011)
(3, 1/24/2012)
(3, 9/15/2011)
(3, 8/26/2011)
(3, 12/09/2011)
(3, 11/23/2011)
(3, 12/01/2011)
(3, 12/10/2011)
(3, 1/08/2012)
(3, 1/20/2012)
(2, 12/23/2011)
(2, 2/05/2012)
(2, 9/01/2011)
(2, 10/20/2011)
(2, 8/25/2011)
(2, 12/01/2011)
(2, 9/05/2011)
(2, 11/24/2011)
(2, 8/17/2011)
(2, 9/30/2011)
(2, 9/21/2011)
(2, 8/22/2011)
(2, 8/20/2011)
(2, 11/24/2011)
(2, 11/21/2011)
(2, 11/18/2011)
(2, 12/07/2011)
(2, 12/27/2011)
(2, 1/19/2012)
(1, 8/24/2011)
(1, 1/08/2012)
(1, 11/03/2011)
(1, 8/23/2011)
(1, 10/04/2011)
(1, 8/24/2011)
(1, 9/30/2011)
(1, 12/23/2011)
(1, 9/02/2011)
(1, 1/03/2012)
(1, 9/01/2011)
(1, 1/15/2012)
(1, 9/28/2011)
(1, 9/29/2011)
(1, 1/17/2012)
(1, 11/01/2011)
(1, 11/02/2011)
(1, 12/31/2011)
(1, 11/06/2011)
(1, 11/24/2011)
(1, 11/22/2011)
(1, 11/21/2011)
(1, 12/05/2011)
(1, 12/06/2011)
(1, 12/08/2011)
(1, 12/31/2011)
(1, 1/24/2012)
Tag | Database Posts




During the lifespan of an Exchange server a database can become very, very large in the size it takes on the disk, much larger than the space used by the mailboxes that reside in the database. This is because whilst mailbox sizes will expand and shrink according to their data usage, the Exchange database only expands. Any space freed up by deletes in mailboxes or even the removal of a mailbox all together become whitespace in the database file. In the worst case you could have 40 GB of mailboxes...
As you might, or not, be aware off there is no item level based recovery in Exchange that is natively supported by Microsoft. So to perform recoveries we need the recovery storage group (captain obvious). The purpose of this is to mount the database you want to recover from on the Exchange server and use exmerge to merge the data you are recovering into the active database. An RSG will not be accessible to users and you can only create one at a time. Exchange 2003: 1. Open Exchange system manager...
Troubleshooting the information store service can be straightforward yet immensely complicated if you don’t know what is going on. For this reason I think it is important to know that there are 3 likely culprits that will cause your information store service to go down and refuse to come up: · Database problems · Active directory problems · Antivirus software Trying to work out which is the culprit can be hard, elimination is probably the easiest way to work through this… So let us get started! 1....
Running a CCR or DAG is a great way to have a server resilient database. Relying on an asynchronous copy of the log files (Each log file gets copied over only when the store has released it) it copies over the log files from the active node to the passive node so it can be played in to the passive nodes database. But whilst being a great failover solution both solution are also quite high-maintenance, CCR more so than a DAG. Running in to a situation where the CCR or DAG is down because of to many...
This post is an example of how to write a WCF Service using a class. The example uses Visual Studio 2010, written in C#, SQL Server 2008 and hosted in IIS. So lets have at it. The table is pretty simple just three columns, an TestID (int), Value1 (varchar(50)) and Value2 (varchar(50)). The stored procedure used will return one record from the table using the TestID as a parameter. Table SQL: CREATE TABLE [dbo].[Table_1]( [TestID] [int] IDENTITY(1,1) NOT NULL, [Value1] [varchar](50) NOT NULL, [Value2]...
Intro The purpose of this post, is to speak of a small project that I have just published: ORAPOCO. You can find it both in GITHUB or Nuget. What is ORAPOCO? It is a small project that will allow to work with objects little and against our Oracle database. The project consists of the following files: - OracleDB.cs: This class will be in charge of carrying out all actions against the database. The available methods are: Method Desc QueryAll<T> Given a type T(poco object) will execute a query...
This is the second post about SQL Azure Federation. In my first post I described a little bit about the theory of data partitioning, included the different between the horizontal partitioning and the vertical partitioning. I also talked about the features need to be done when we implemented the horizontal partitioning. And finally, I described some basic concept about SQL Azure Federation. In this post, I will demonstrate how to use SQL Azure Federation in the SQL Server Management Studio (SSMS)....
The following procedures describe my approach toward a minimal error prone migration of Microsoft Dynamics CRM 4.0 to MS CRM 2011. 1. I start by installing CRM 2011 with a dummy organisation, yes, I don't import the CRM 4.0 organisation, because I want to make sure CRM 2011 is installed and deployed with out any problems. More over it gives the flexibility to map user, if it is from a different domain. (1,5 Hour) 2. I install all the latest updates and roll-up for the CRM 2011, verify if everything...
If you work with any kind of healthcare data, then odds are you’ll deal with NPI (National Provider Identifier) numbers. The NPI is a 10-digit number consisting of 9 digits (with the first digit being a 1 or a 2) followed by a check digit. The check digit uses the Luhn algorithm, which is calculated like this: Double the value of alternate digits beginning with the rightmost digit. Add the individual digits of the products resulting from step 1 to the unaffected digits from the original number. Subtract...
After reading this you should be able to Identify the functions of LAN connectivity hardware Install, configure, and differentiate between network devices such as NAIC’s, hubs, bridges, switches, routers, and gateways Explain the advanced features of a switch and understand popular switching techniques, including VLAN management Explain the purposes and properties of routing Describe common IPv4 and IPv6 routing protocols NICs (Network Interface Cards) Are connectivity devices that enable a workstation,...
We’ve used dbdeploy.net on a number of projects and have found it to be a useful tool, especially around CI environments. We recently started a Windows Azure project that uses SQL Server and discovered that DbDeploy.Net didn’t work. There have been a few nagging issues with DbDeploy.Net as well, like the lack of support for recursive script directories, and when we looked into the code base, we discovered that it’s not really written to modern software development standards, and that getting it there...
ASP.NET Enterpise Manager is a web based database management system designed specifically for the management of Microsoft SQL databases through a web browser, without the need for any desktop database management systems such as Microsoft’s SQL Server Management Studio. ASP.NET Enterprise Manager is included as default with an installation of Plesk for Windows, meaning that if you are a customer who uses Plesk based Windows hosting, you will most likely have used ASP.NET Enterprise Manager at least...
This article is a Part 6 of the Interview Questions series. Part 1: BizTalk: Questions for interview without answers Part 2: BizTalk: Interview questions and principles Part 3: WCF: Questions for studying and interviewPart 4: WCF: Questions for studying and interview: DiscoveryPart 5: WCF: Questions for studying and interview: Routing Service Part 6: BizTalk: Advanced Questions It is time for fun! These questions are for an Advanced level of the BizTalk Developers. I hope you don’t have a single...
This demo is a continuation of my previous article about "Creating a Simple Log-in Form". Basically in this post I'm going to demonstrate the basic on how to edit and update the form with ASP.NET MVC 3. Before you go any further, I'd suggest you to check out my previous article first about "ASP.NET MVC 3: Creating a Simple Sign-Up Form" and "Creating a Simple Log-in Form". STEP 1: Creating the Model class Just for the simplicity of this demo, I'm just going to display the FirstName, LastName and...
At http://twimgs.com/darkreadi... there is a free report on SQL Injection Attack. It is always important to remember that SQL Injection attacks can occur with any back-end database server if the input is not properly validated and processed...
The SQL Azure Federation had been publically launched several weeks ago and this is one of the most existing features I’m looking forward. This might be the first post of SQL Azure Federation, and hopefully not the last one. Some Backgrounds SQL Azure Federation was mentioned in about 2009. The Microsoft told that there will be a feature in SQL Azure allow users to split one database into many based on some sort of rules But from the client side perspective, user can interact their data as if in...
At several client sites, I have had a problem printing Database diagrams directly from Sql Server Management Studio. The workaround is to right click, copy the diagram and paste into word to print it.If you encounter this, please report the problem at:http://social.msdn.micro...
Luego de varios días sin hacer post, hoy nuevamente retomo para mostrar un pequeño ejemplo de un tema que últimamente ha sido muy tocado en los foros de asp.net de MSDN. Cómo hacer un menú dinámico con MySql? Antes de empezar a mostrar como crear el menú voy a explicar algunos problemas que encontré durante el desarrollo del ejemplo: 1. Para el ejemplo, utilizaremos la versión beta 6.5 del conector de .net para mysql, sin embargo, deben tomar en cuenta que este conector esta en desarrollo y aún carece...
[Source: http://geekswithblogs.net/E... This is one in a series of posts covering my generic mapping library on github: Sixeyed.Mapping. 1. Mapping and Auto-Mapping Objects 2. Mapping and Auto-Mapping Objects from IDataReader 3. Mapping and Auto-Mapping Objects from XML 4. Mapping and Auto-Mapping Objects from CSV 5. Comparing Sixeyed.Mapping to AutoMapper The mapping library has support for IDataReader objects used as the source. Using data readers, AutoMap will try to populate the target...
I have a real-time reporting server with a database which is basically a copy of my production database, but it's populated using transactional replication and replication only copies the primary keys over, i.e. none of the secondary indexes are included. So what I do is every time I need to recreate replication--which is every deployment with schema changes--I script out DROPs and CREATEs for all the reporting indexes I've created and then run the script after replication has been recreated. The...
[Source: http://geekswithblogs.net/E... This is the first of a series of posts covering my generic anything-to-object mapping library on github: Sixeyed.Mapping. 1. Mapping and Auto-Mapping Objects 2. Mapping and Auto-Mapping Objects from IDataReader 3. Mapping and Auto-Mapping Objects from XML 4. Mapping and Auto-Mapping Objects from CSV 5. Comparing Sixeyed.Mapping to AutoMapper Enterprise projects typically have entities of the same kind defined multiple times to encapsulate different...
What a better way to start of the year, but with a product that I recommend. I reviewed this product last year on my personal site and now almost a full year later, I still recommend this product. I develop for different platforms and different languages so it is important for me to keep my snippets organized. Visual Studio and Eclipse both have a way to store snippets, but what if your put into a situation where you may need one and find that its in the other IDE that you are working with. That’s...
This demo is a continuation of my previous article about "ASP.NET MVC 3: Creating a Simple Sign-Up Form" which I wrote few months ago. Basically in this post I'm going to demonstrate how to create a simple LogOn form in which users can supply their username and password. And how to authenticate and validate users in ASP.NET MVC 3. I will not elaborate more in details about the model, view and controllers function so before you go any further, I'd suggest you to check my previous article first about...
In the team that I have been working with lately they use NDBUnit to control the test database state for Integration Tests. Today I thought I would blog briefly on one of the issues we had and how we are going to go forward in the future in structuring our solution and working with NDBUnit. Let me say upfront that I am no expert with NDBUnit, so if you are an expert with this tool, and you can see glaring mistakes in this post, add a comment (I would appreciate that). That said, let me highlight...
I'm a big believer in the benefits of having automated tests live with your code. I'm not an aspirant to Red-Green-Refactor Nirvana, but I believe there is a huge value to be gained by taking the code from Button1_Click in the only Windows Form application you've ever written and placing it instead into a method that can be used by a unit test framework. Some of the benefits that I glean from this include my test being preserved past the initial implementation (when you write the next feature of...
Greetings, this is my first geeks with blogs posting. so forgive me if it looks so sloppy. Purpose: To calculate additional shipping fees for a shopping cart full of items based on product name in Magento 1.4. We will assume the same shipping rate for all services here. Most items in our store are the same size and weight, except for a few items that are a little larger. We will identify those large items by name and add some amount onto them. First we shall start off with a free open source Magento...
We needed to swap out the DB box. Our DB box runs SQL Server, SSRS and SSAS. The AT is on its own box and SharePoint is on its own box.NOTE: I will update the blog post per resolution of the issue :) The Microsoft procedure I used was: Restore Data to a Different Server or Instance Setup new DB box with WS08 R2 with all updates applied. Installed SQL SQL 2008 R2 on new DB box (same version as on the old DB box). Took TFS offline. Disabled the transaction backup job from existing backup plan (runs...
The C#/.NET Fundamentals series is geared towards examining fundamental concepts in using C# (and .NET in general) to produce effective solutions. I wanted to attempt a brief post before the holidays, so I decided to quickly revisit part a post I wrote a few weeks back on The Generic Func Delegates, and in particular, the sidebar on using Func as a generator for unit testing. At the time, I did not give that short sidebar the attention I really wanted, including showing the setup of the unit tests...
A friend of mine works for a large bank… about a year and a half ago they needed a new system developed for their division. They went through the normal process of using one of the recommended service providers to develop the system and this was their experience, which is still typical with most institutions I know… For the first few months development of the system seemed to be progressing along fine. They had meetings, business analysts put things on paper and the developers nodded their heads...
This is a strangest error I have come across whilst working with SharePoint 2010, the full error is this. [12/20/2011 5:29:10 PM] Warning: [WSS_Content] The operation did not proceed far enough to allow RESTART. Reissue the statement without the RESTART qualifier. RESTORE DATABASE is terminating abnormally. The error message was written to the file restore.log found in the SharePoint backup folder, it seems that the following keyword in TSQL caused the error. IF EXISTS ( SELECT * FROM master..sysdatabases...
First off in order to get your asp.net site up and running (without membership) all you have to do is copy your aspx files to the root of the htdocs folder that they supply for you. This in itself is an application directory and because of this you can run ASP.NET pages. For your information, I host my site with HostForLife.euSecond, you can use membership by going to their admin pages, creating a database, exporting your data and schema from your current membership database, and then running a script...
I’ve heard people mention, a few times, how they would like for Microsoft to provide a blank template for ASP.NET MVC. The request seems strange because this is something that anyone can do themselves. This isn’t just creating an MVC project and deleting all the items, which I would agree is tedious. Rather, you can create a custom template of any type for reuse and sharing. This blog post shows how to create a custom project template, using the need for a blank MVC template as the use case. Creating...
Today's $10 Deal of the Day from APress at http://www.apress.com/97815... is Pro Entity Framework 4.0"Pro Entity Framework 4.0 is a professional-level guide to Microsoft's Entity Framework, the future of data access in .NET programming. Readers learn to implement easy-to-program and highly-performing database access solutions."...
I was playing with the new Membership API (System.Web.Providers) for the upcoming Virtual TechDays While I was trying out a lot of options for using as DB store, one of the obvious choices was SQL Azure. With SQL Azure, I could offload the Database hosting capabilities to Azure and just focus on my application code. Of course, it comes at a cost and SQL Azure is a subscription based database available in different sizes and rates there of. One of the challenges I faced was, working with the Membership...
Sitecore has a powerful event pipeline infrastructure that you can leverage to plugin commands into various item creation, change, move, publish etc events. Recently I had to add functionality to Sitecore so that when an items version is created all fields from a target language are copied into the newly created version to ease editing. To do this first we add an event handler in the Web.Config file for the versionAdded event. <event name="item:versionAdded"> <handler type="MyNamespace.MyClass,...
v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} Normal 0 false false false false EN-US X-NONE X-NONE /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in;...
I have recently been using NDbUnit for integration tests exercising the database. I am new to the tool, so the following exception caused a few hours of scratching my head before I figured out the obvious. Assume you are going through the quick start guide from the website, everything works perfectly. Then I changed to my production database and did the same thing and I get the following error…] DbCommandBuilder.CreateSele... string) failed for tableName = '…. Turns out the name of...
If you haven't already checked out WebMatrix , go check it out now. It's awesome for a variety of reasons. It’s very cool feature.Anyway, one of the cool features of WebMatrix (and Visual Studio 2010) is the ability to publish straight from the IDE to a compatible web host. Not all web hosts support Web Deploy but I know HostForLife.eu support this technology.Here is a quick walk-through with screenshots showing the publishing process from WebMatrix. I try to publish Orchard CMS here. J OK, let’s...
The C#/.NET Fundamentals series is geared towards examining fundamental concepts in using C# (and .NET in general) to produce effective solutions. There are times when we are writing a method that returns a sequence of items, that it occasionally becomes necessary in base-class, interface implementation, error, or default conditions to return a sequence of only one or even zero items. There are many ways to do this, of course, which begs the question of which way is best, in terms of readability,...
Renaming SharePoint service app databases When you install SharePoint 2010 and use the wizards, you will be asked which services you’d like to install. By default all but Lotus-Notes-Connector are preselected. SharePoint will install the services and assign a plethora of databases to serve these services. Alas, horror of horror, all these databases are named by Microsoft and all end with GUIDs. DBAs and other keepers of standards abhor it. Sometimes they even go a step further and want the DB names...
Consider this article on DNS a prequel to the upcoming ADDS series. After all, any active directory implementation requires DNS integration. So what is DNS? DNS is a highly reliable, hierarchal, distributed and scalable database used for name resolution and service location. So basically it translates friendly names (www.contoso.com) in to IP addresses (11.12.13.14) allowing clients to connect to resources in the infrastructure without memorising pesky IP numbers. History of DNS When the DoD initially...
Overview Windows HPC Server 2008 is infrastructure for high-end applications that require high performance computing clusters – i.e. for scaling out parallelizable across many compute nodes in a grid. These compute nodes can be coordinated by a head node , which in turn can be proxied via a service broker node that exposes a SOA WCF interface for job scheduling. Additional functionality includes the ability to coordinate between job processes running on nodes via MPI (message passing interface)....
Microsoft has released a hotfix that supports 999 functional acknowledgments and 277CA for HIPAA 5010 Errata in Microsoft BizTalk Server 2010. This post will be a quick walk-through on getting the 999s working. To start, download and install the hotfix (part of Cumulative update package 3) at: http://support.microsoft.co... If you don't have a solution that currently uses 997 responses, and you want to test the 999s out, just do the quick tutorial (Walkthrough (X12): Receiving EDI Interchanges...
Here is the official documentation on how to publish a LightSwitch application – How to: Deploy a LightSwitch Application. For this example, I’m going to show how to deploy a simple application that does not have any role-based security set up. I’ll show how we can configure that in a later post. So back over on my LightSwitch development machine the first thing we need to do is specify the type of 3-tier deployment we want. In the case of my application, I want it to be a Windows Desktop client...
Using a simulated dialog window is a nice way to handle inline data editing. The jQuery UI has a UI widget for a dialog window that makes it easy to get up and running with it in your application. With the release of ASP.NET MVC 3, Microsoft included the jQuery UI scripts and files in the MVC 3 project templates for Visual Studio. With the release of the MVC 3 Tools Update, Microsoft implemented the inclusion of those with NuGet as packages. That means we can get up and running using the latest version...
I was poking around today and found this great article on caching: http://www.cloudcomputingde... Caching is a great way to boost application performance and keep down overhead on a database or file system. Its also great when you have say 3 web roles as shown in this articles Figure 2 that can share the same cache. If one of the roles goes offline then the cache is still there and can be used. You can change out your asp.net caching to use this pretty...
A little bit of everything... The heading above got changed a bunch during writing and I finally settled on that because this has become a 'stream of consciousness' post... or maybe a stream of UNconsciousness :) If you've noticed, my blogging has been a tad slow this fall. There's been a lot going on personally. But then again, I haven't skipped anybody either. Rather than go through ALL the blogs I have aggregated, and take a week to get to the bottom, at some point in the last year, I had moved...
Goal: Rebuild indexes in SQL server. This can be done one at a time or with the example script below to rebuild all index for a specified table or for all tables in a given database. Why? The data in indexes gets fragmented over time. That means that as the index grows, the newly added rows to the index are physically stored in other sections of the allocated database storage space. Kind of like when you load your Christmas shopping into the trunk of your car and it is full you continue to load some...
At http://weblogs.asp.net/scot... Scott Guthrie talks about data binding is ASP.NET 4.5.There is a key statement "Because our GetProducts() method is returning an IQueryable<Product>, users can easily page and sort through the data within our GridView. Only the 10 rows that are visible on any given page are returned from the database."Consider paging through a large dataset, this is going to give...
SQL Server team has released the new SQL Server Data Tools CTP4. Congratulations and Thanks to Gert Drapers and his team with this great milestone. To lear more about this SSDT CTP4 Release, check: What’s new in SQL Server Data Tools CTP4?http://blogs.msdn.com/... Server Data Tools CTP4 vs. VS2010 Database Projectshttp://blogs.msdn.c... VSDB->SSDT...