Entity Framework is a powerful ORM tool which makes storage/retrieval of data simple. Although it's simple to get going, there are a few gotchas that can cripple your app performance. Here's my top 5 list of mistakes to look out for: … [Read more...]
Using C# to Capture a Screenshot that Includes the Mouse Cursor
When creating applications like screen recorders and remote viewers, captured screenshots need to include the mouse cursor. It's easy to capture a screenshot with C#, however, it's a little trickier to include the mouse cursor, because it involves unmanaged calls to the Windows API. … [Read more...]
WiX Toolset: How to Create a Setup Package to Install a Windows Service
When Microsoft dropped support for the traditional Windows setup projects in Visual Studio 2012, I was stuck with Visual Studio 2010 for programs that relied on setup projects. I needed a new way of installing Windows services, and the recommended alternative was the WiX Toolset. In this post, weӬl learn how to use WiX to create a Windows installation package that installs a … [Read more...]
How to Create a Windows Service
Windows Services are usefull for long running background tasks. In this post we will create a basic service that runs a scheduled task. We will also learn how to add a ProjectInstaller and how to install the service from the command line using InstallUtil. … [Read more...]
7 Ways to Increase the Performance of Entity Framework
My first project that used Entity Framework was a disaster. It was a web application that was so slow; you could make a cup of tea, drink it, wash up, and the home page would still be loading. Was it Entity Framework that was slow? ŠOr was it my mistake? … [Read more...]
- « Previous Page
- 1
- …
- 3
- 4
- 5
- 6
- 7
- Next Page »