"Logic will get you from A to B. Imagination will take you everywhere." A. Einstein
Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » programming   (RSS)
Today I was struggling to obtain in SQL Server 2005 the list of groups (from Active Directory) to which a user belongs to. Here is the final result. Enjoy it! EXEC master.dbo.sp_addlinkedserver @server = N'ADSI', @srvproduct=N'Active Directory Services', Read More...
Many companies are building their own base classes wrapping the native UI classes (in order to be able to customize them). Here a proof-of-concept how you can do Window and UserControl inheritance in WPF. - The DemoWPFBaseClassesLib : contain the 2 base Read More...
"WCF does not support the use of SOAP extensions, but it does have other extensibility points that can be used to intercept and manipulate SOAP messages. For example, you can use a behavior extension to hook into the WCF Dispatcher with a class that implements Read More...
This is the next step in my previous sample (see the previous post from this month). Now I want to add and delete products using my Web service and EF. The problem I found: I had to go back to the database and set a cascade delete for the FK_ProductInventory_Product Read More...
Couple days ago I started a simple application (WCF Web service using Entity Framework to access a SQL DB and a WPF client). In the SQL database I had 3 tables - mainly a many-to-many relation. Now I need to get more data: I want to obtain all the Products Read More...
For those who are looking for more WPF functionalities, there is a "project" on CodePlex called: Windows Presentation Foundation (WPF) . "This project is the portal for accessing the WPF Toolkit and the WPF Futures releases. The WPF Toolkit is a collection Read More...
Hello and Happy New Year 2009 ! Here is a sample code I wrote to show you how to create a WCF Web service which is using Entity Framework to access a SQL 2008 database. Here are the main steps: 1 - create your SQL database (Products) with the 3 tables Read More...
Here is a first nice site for those who are working with Silverlight : Project Rosetta . "Project Rosetta is a site dedicated to helping designers and developers build applications in Silverlight while taking advantage of skills they already know. Each Read More...
I had to enable the request compression for an ASP.NET 2.0 Web Service (no Web Service Enhancements for that client.. ), so here is my solution: I created a CompressionSoapExtension attribute. This attribute was added to the web service methods (for the Read More...
 
Page view tracker