Manipulating TIFF images in .Net without 3rd party libraries

If you need to do basic TIFF file manipulation you don’t need to reach for a 3rd party library. The Windows.Media.Imaging namespace provides tools you can use to:

  • Create Multi-Page TIFF files
  • Extract Pages
  • Remove Pages
  • Get page count
  • Work with other encoder/decoders like gif, png, jpeg, bmp, etc.

Continue reading

Authenticating to Asp.Net Membership provider programmatically

Download Sample Visual Studio Solution

Scenario:

You have a web site or other http services that are secured via the ASP.Net Membership Provider and you want to access some of these resources from code – such as a class library or desktop application. Users of the web site obviously will be sent to a login page that takes their username and password and then authenticates the user. But how do you authenticate against the same Membership Provider when you are not using a web browser, and therfore cannot interact with a login page? Continue reading