Boleto.Net: Problemas na Visualização do Código de Barras

by Stiven 23. October 2009 04:36

No Boleto.Net, para visualizar o código de barras do boleto utilizamos uma classe ImagemCodigoBarraHandler que por sua vez implementa a interface IHttpHandler.

Para que funcione corretamente precisamos adicionar um trecho de código no web.config.

No System.Web/HttpHandler:

<httpHandlers>

    <add verb="*" path="ImagemCodigoBarra.ashx" validate="false" type="BoletoNet.ImagemCodigoBarraHandler"/>

</httpHandlers>

;)

Currently rated 5.0 by 3 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , ,

Boleto.Net | Dicas | Open Source

Add comment


(Will show your Gravatar icon)  

  Country flag

biuquote
  • Comment
  • Preview
Loading



Powered by BlogEngine.NET 1.4.5.0
Theme by Mads Kristensen

Sobre o autor



Meu nome é Stiven Fabiano da Câmara e sou desenvolvedor de software especializado na plataforma .NET da Microsoft, utilizando a linguagem Visual C#.