Popular Posts

Wednesday, January 25, 2012

KB

Enabling SQL Server ports using the command prompt:

KB: "establishing "

'via Blog this'

How to: Configure a Server to Listen on a Specific TCP Port (SQL Server Configuration Manager)

Configuring SQL server instance to listen to a specific port as instance port can change. SQL Serer default instance listens to port 1433. However if Named Instance is configured then by default the port is changing dynamically. To enable SQL server to listen to port, ALL the IP Addresses for the instance including the Loopback and IPALL needs to be changed to the specified Port ... See Below:


How to: Configure a Server to Listen on a Specific TCP Port (SQL Server Configuration Manager): "In the TCP/IP Properties dialog box, on the IP Addresses tab, several IP addresses appear in the format IP1, IP2, up to IPAll. One of these is for the IP address of the loopback adapter, 127.0.0.1. Additional IP addresses appear for each IP Address on the computer. Right-click each address, and then click Properties to identify the IP address that you want to configure.

"

'via Blog this'

How to enable remote connections in SQL Server 2008? - - Site Home - MSDN Blogs

Enabling SQL Server instance to accept remote connection. There are a few things to be done including:

  • Enabling SQL server to listen to Remote Connection
  • Enable TCP/IP protocols
  • Enable SQL server to listen to a port
  • Unblock the port number in firewall

How to enable remote connections in SQL Server 2008? - <dw:daniel_walzenbach runat="server" /> - Site Home - MSDN Blogs: "
"

'via Blog this'

Monday, January 23, 2012

Sunday, January 22, 2012

DbContext.SaveChanges - Don't AcceptChangesDuringSave

Something has to be sacrificed in every release of EF and this time it is transactions! ... some hidden way of exposing the SaveOptions while using the DBContext IObjectContextAdapter interface.


Howeve, it turns out that we don't need to use the SaveOptions anymore if dealing with SQL server 2008. In SQL server 2008 using the TransactionScope DOES NOT escalates the transaction to Distributed Transaction anymore. Wrapping up more than one DBContexts inside a TransactionScope works fine!

DbContext.SaveChanges - Don't AcceptChangesDuringSave:

'via Blog this'

Saturday, January 21, 2012

c# - Entity Framework - Using Transactions or SaveChanges(false) and AcceptAllChanges()? - Stack Overflow

A possible way of handling distributed transaction for multiple contexts without alleviation to MSDTC???

c# - Entity Framework - Using Transactions or SaveChanges(false) and AcceptAllChanges()? - Stack Overflow:

'via Blog this'

...already an open DataReader associated with this Command which must be closed first

I had a scenario where needed to loop through all the projects and then all it tasks and getting the error in Entity framework 4.2: "There is already an open DataReader associated with this Command which must be closed first."

The solution is to set the lazy loading off or add MARS to the connection string. Strange?

...already an open DataReader associated with this Command which must be closed first:

'via Blog this'

Wisdom-soft Downloads

A great screen capture utility that sets hidden and capture and saves the screen in file by pressing a key!!

Wisdom-soft Downloads:

'via Blog this'

Tuesday, January 17, 2012

A marketing mistake: WCF Data Services & WCF RIA Services - Ayende @ Rahien

many more confused with the WCF Dataservices and WCF RIA ...

A marketing mistake: WCF Data Services & WCF RIA Services - Ayende @ Rahien: "WCF Data Services is "Astoria" used to support the OData "protocol" which is basically Atom Pub + query conventions + EDMX metadata endpoint + EDM payload.

WCF RIA Services is using "Astoria" to remote an IDataService interface to a Silverlight client. It's RPC CRUD over Http complete with client side proxy objects."

'via Blog this'

Brian Noyes's articles

RIA Services multi part articles:

Brian Noyes's articles:

'via Blog this'

Monday, January 16, 2012

WCF RIA Services Part 1: Getting Started

Multi-Part WCF RIA services related articles including consuming WCF RIA Services with other clients:

WCF RIA Services Part 1: Getting Started: "F RIA Services application. You created an Entity Data Model, a RIA Services DomainService"

'via Blog this'

Friday, January 13, 2012

Consuming OData using Objective-C

consuming oData in Objective C, Windows Phone 7, Silverlight
Can't be more easier!!!

Consuming OData using Objective-C:

'via Blog this'

.NET Framework 4 installFailed with code -2146762482

When trying to install an application that requires .Net 4 client profile in a Windows 2003 machine there is a run time error. The trick is to set the 'State' registry key to 0x23c00


.NET Framework 4 installFailed with code -2146762482: "0x23c00"

After changing the registry the installation goes on and then fails again with an error: ""Blocking Issues:You must install the 32-bit Windows Imaging Component (WIC) before you run Setup. Please visit the <A HREF="http://go.microsoft.com/fwlink/?LinkId=162643&clcid=0x409">Microsoft Download Center</A> to install WIC, and then rerun Setup.""

Then I had to install WIC from microsoft website:

http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=32


'via Blog this'

Monday, January 9, 2012

Saturday, January 7, 2012

XAML Power Toys « Karl On WPF – .Net

XAML power toys. Enables to do a lot of cool stuff using XAML eg create viewmodels, create form for viewmodel etc?


XAML Power Toys « Karl On WPF – .Net:

'via Blog this'

XAML Power Toys « Karl On WPF – .Net

XAML power toys. Enables to do a lot of cool stuff using XAML eg create viewmodels, create form for viewmodel etc?


XAML Power Toys « Karl On WPF – .Net:

'via Blog this'

Data Binding Overview

MVVM and WPF databindings ...
Great examples including doing the bindings using code behind:


Data Binding Overview:

'via Blog this'

WPF Videos - WindowsClient.net

Many many videos on WPF

WPF Videos - WindowsClient.net:

'via Blog this'

Build Your Own MVVM Framework | MIX10 | Channel 9

Build your own MVVM framework - Video

Build Your Own MVVM Framework | MIX10 | Channel 9:

'via Blog this'

Video Training - WindowsClient.net

mvvm with windows 2010 videos

Video Training - WindowsClient.net:

'via Blog this'

asp.net mvc 3 - Deploy 3 Tier MVC application - Stack Overflow

;-) Can't be more fun!!! Just run into this funny question in one of the forums:
The client is going live by 12 pm tomorrow and the tech guys have just realised that the the Business layer needs a WCF facade to handle 3-tier physical deployment!! hahaha...


asp.net mvc 3 - Deploy 3 Tier MVC application - Stack Overflow: "
"

'via Blog this'

Monday, January 2, 2012

VB’s Statically Typed Wrapper for Dynamic Code - CodeProject®

Duck Typing ;0)
Alternative to late binding while option strict is on. Working?

VB’s Statically Typed Wrapper for Dynamic Code - CodeProject®:

'via Blog this'

Reflexil

Wow ... What a crazy addin for .net Refelector. It enables to change the function definitions, add new functions and compile the assembly!!! ... do we need hot fixes (hotfix) anymore? haha

Reflexil:

'via Blog this'

Sunday, January 1, 2012

Design Codes: MVVM for .NET Winforms – MPV-VP (Model View Presenter - View Model) Introduction

This article is kind of interesting and is a combination of MVP and MVVM for Windows Forms ...


Design Codes: MVVM for .NET Winforms – MPV-VP (Model View Presenter - View Model) Introduction:

'via Blog this'

dnrTV Show #14: Jean Paul Boodhoo on Model/View/Presenter :: Tech Videos, Screencasts, Webinars, Techtalks, Tutorials

Many other videos about the MVP and other design patterns:


dnrTV Show #14: Jean Paul Boodhoo on Model/View/Presenter :: Tech Videos, Screencasts, Webinars, Techtalks, Tutorials:

'via Blog this'

GUI Architectures

Great article by the GUY ;-) Martin Fowler about the MVP architecture. ... MVP is the base for MVC and also MVVM etc. This article is great as shows the flow of events using UML sequence diagrams:

GUI Architectures:

'via Blog this'

GUI Architectures

Great article by the GUY ;-) Martin Fowler about the MVP architecture. ... MVP is the base for MVC and also MVVM etc. This article is great as shows the flow of events using UML sequence diagrams:

GUI Architectures:

'via Blog this'

Design Patterns Bootcamp: Model View * Patterns

Many examples of MVP pattern for Windows and Web forms.

Design Patterns Bootcamp: Model View * Patterns:

'via Blog this'