Category Archives: .Net

Webcams in Silverlight 4.0

Microsoft Silverlight 4.0 supports Webcam and microphone access from Web Applications like Flash. This feature enables a number of scenarios, such as capturing and displaying images, uploading profile pictures to social networking applications etc. Here is code part, which will … Continue reading

Posted in .Net, ASP.Net, Silverlight | Tagged , , , , | 1 Comment

Introduction to Code First development with Entity Framework

The Database First approach is interesting when the database already exists. You use Visual Studio and the Entity Framework Designer to generate the C# and VB.NET classes which reflect the existing database model. You may then change relations using the … Continue reading

Posted in .Net, .Net 4.0, ASP.Net, ASP.Net MVC, SQL Server, WPF | Tagged , , , , , , | 4 Comments

How to configure a WCF service to use Port Sharing

Windows Communication Foundation (WCF) provides a new TCP-based network protocol (net.tcp://) for high-performance communication. WCF also introduces a new system component, the Net.TCP Port Sharing Service that enables net.tcp ports to be shared across multiple user processes. Yesterday I got … Continue reading

Posted in .Net, .Net 3.0 / 3.5, .Net 4.0, WCF | Tagged , , , , , | 1 Comment

How to do concurrency testing in .Net

Concurrency is a property of systems in which several computations are executing simultaneously, and potentially interacting with each other. The computations may be executing on multiple cores in the same chip, preemptively time-shared threads on the same processor, or executed … Continue reading

Posted in .Net, .Net 4.0, Unit Testing | Tagged , , , , , , | 1 Comment

MSTest.exe does not deploy all items

Today while working on some regression build issues, me and my lead noticed one problem with MS Tests, we are running MSTest.exe from commandline to execute few tests. The problem was MSTest.exe was is not copying all the referenced assemblies … Continue reading

Posted in .Net, Miscellaneous, Unit Testing | Tagged , , , , | 1 Comment