Did you know that the default route of ASP.NET MVC will produce multiple URL's that display the same content? And as I am sure you are aware, duplicate content can cause all sorts of SEO problems. In this post, I will show you three steps to prevent duplicate content with ASP.NET MVC 5. … [Read more...]
Do You Make These Mistakes With Entity Framework?
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...]
- « Previous Page
- 1
- …
- 3
- 4
- 5
- 6
- 7
- Next Page »