Friday, September 30, 2011

Disappeared - Send To Mail Recipient

Windows Vista & Seven :
How to restore Mail Recipient entry at the
Send To menu in case it disappears :





Click Start, type control folders and press ENTER
Select the View tab, and uncheck "Hide extensions for known file types"


Click Start, type shell:sendto and press ENTER
Create a new text document called  Mail Recipient.MAPIMail





Thursday, September 29, 2011

Calling a RESTful Service Using Fiddler


Creating RESTful Services Using WCF


https://docs.google.com/document/pub?id=1T4oQneluGK-6y_-v5_hO5sxw-RenSXgtqUfYve11bdA
http://channel9.msdn.com/blogs/pdc2008/tl35 - WCF: Developing RESTful Services


Create a Console App, add references for : 
System.ServiceModel, 
System.Runtime.Serialization, 
System.ServiceModel.Web
                                                             and hit F5 in Visual Studio. 




System.ServiceModel.Web - if there is reference problem : 

In "project properties" make sure your "target framework" is set to : .NET Framework 4
and not: .NET Framework 4 Client Profile, or any lower .NET version.






FIDDLER , Request Builder , Execute : 
POST         http://127.0.0.1:8000/customers         HTTP/1.1





























a) GET & POST  : 

b) C# console : 

c) SQL Server +  Android client : 


APPLICATION POOL : 



http://dotnetninja.wordpress.com/2008/05/02/rest-service-with-wcf-and-json/
http://www.dotnetspark.com/kb/1373-step-by-step-tutorial-rest-enabled-service.aspx


Web.Config : 





REST Based WCF Service in ASP.NET 3.5


This body part will be downloaded on demand

MOZILLA - Thunderbird & SeaMonkey :

If an email is sent with an attachment but received without it ,
and the body of the eMaiL is like this :
 << This body part will be downloaded on demand>>

- at the receiver mail client : make sure to check : View->Display Attachments Inline

Thursday, September 22, 2011

Sample Databases for SQL Server 2008


Northwind and pubs Sample Databases for SQL Server 2000

File Name - SQL2000SampleDb.msi = instnwnd.sql + instpubs.sql 



Running the Scripts Using osql
To run the scripts using osql:
1.              Open a command prompt window.
2.              From the command prompt, use the cd command to navigate to the folder containing the SQL Server 2000 Sample Database Scripts:
3.              cd c:\SQL Server 2000 Sample Databases
4.              Run osql specifying either Instpubs.sql or Instnwnd.sql as the input file. Here are some examples:
·                            To install the Northwind database on a default instance on the same computer:
osql -E -i instnwnd.sql
·                            To install the pubs database on a default instance on a different computer:
osql -E -S ComputerName -i instpubs.sql
·                            To install the Northwind database on a named instance:
osql -E -S ComputerName/InstanceName -i instnwnd.sql

Microsoft SQL Server Community Projects & Samples

SQL Server 2008R2 product code samples are available hereDownload the AdventureWorks 2008R2 family of sample databases and AdventureWorks 2008R2 sample databases