ByteScout Barcode Reader SDK - ASP.NET VB - Read Barcodes From Image - ByteScout

ByteScout Barcode Reader SDK – ASP.NET VB – Read Barcodes From Image

  • Home
  • /
  • Articles
  • /
  • ByteScout Barcode Reader SDK – ASP.NET VB – Read Barcodes From Image

How to read barcodes from image in ASP.NET VB using ByteScout BarCode Reader SDK

Tutorial on how to read barcodes from image in ASP.NET VB

On this page you will learn from code samples for programming in ASP.NET VB.Writing of the code to read barcodes from image in ASP.NET VB can be done by developers of any level using ByteScout BarCode Reader SDK. Want to read barcodes from image in your ASP.NET VB app? ByteScout BarCode Reader SDK is designed for it. ByteScout BarCode Reader SDK is the SDK for reading of barcodes from PDF, images and live camera or video. Almost every common type like Code 39, Code 128, GS1, UPC, QR Code, Datamatrix, PDF417 and many others are supported. Supports noisy and defective images and docs. Includes optional documents splitter and merger for pdf and tiff based on found barcodess. Batch mode is supported for superior performance using multiple threads. Decoded values are easily exported to JSON, CSV, XML and to custom format.

The SDK samples like this one below explain how to quickly make your application do read barcodes from image in ASP.NET VB with the help of ByteScout BarCode Reader SDK. Just copy and paste the code into your ASP.NET VB application’s code and follow the instruction. Test ASP.NET VB sample code examples whether they respond your needs and requirements for the project.

You can download free trial version of ByteScout BarCode Reader SDK from our website to see and try many others source code samples for ASP.NET VB.

Try it today: Get 60 Day Free Trial or sign up for Web API

About.aspx
      
<%@ Page Title="About Us" Language="vb" MasterPageFile="~/Site.Master" AutoEventWireup="false" CodeBehind="About.aspx.vb" Inherits="Barcodes_From_Image.About" %> <asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent"> </asp:Content> <asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent"> <h2> About </h2> <p> Put content here. </p> </asp:Content>

Try it today: Get 60 Day Free Trial or sign up for Web API

About.aspx.designer.vb
      
'------------------------------------------------------------------------------ ' <auto-generated> ' This code was generated by a tool. ' ' Changes to this file may cause incorrect behavior and will be lost if ' the code is regenerated. ' </auto-generated> '------------------------------------------------------------------------------ Option Strict On Option Explicit On Partial Public Class About End Class

Try it today: Get 60 Day Free Trial or sign up for Web API

About.aspx.vb
      
Public Class About Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load End Sub End Class

Try it today: Get 60 Day Free Trial or sign up for Web API

Barcodes From Image.vbproj
      
<?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <ProductVersion> </ProductVersion> <SchemaVersion> </SchemaVersion> <ProjectGuid>{9CA09A3E-8A71-4C59-A592-A7A239E13ADF}</ProjectGuid> <ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{F184B08F-C81C-45F6-A57F-5ABD9991F28F}</ProjectTypeGuids> <OutputType>Library</OutputType> <RootNamespace>Barcodes_From_Image</RootNamespace> <AssemblyName>Barcodes From Image</AssemblyName> <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> <MyType>Custom</MyType> <UseIISExpress>false</UseIISExpress> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> <DefineDebug>true</DefineDebug> <DefineTrace>true</DefineTrace> <OutputPath>bin\</OutputPath> <DocumentationFile>Barcodes From Image.xml</DocumentationFile> <NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> <DefineDebug>false</DefineDebug> <DefineTrace>true</DefineTrace> <Optimize>true</Optimize> <OutputPath>bin\</OutputPath> <DocumentationFile>Barcodes From Image.xml</DocumentationFile> <NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn> </PropertyGroup> <PropertyGroup> <OptionExplicit>On</OptionExplicit> </PropertyGroup> <PropertyGroup> <OptionCompare>Binary</OptionCompare> </PropertyGroup> <PropertyGroup> <OptionStrict>Off</OptionStrict> </PropertyGroup> <PropertyGroup> <OptionInfer>On</OptionInfer> </PropertyGroup> <ItemGroup> <Reference Include="Bytescout.BarCodeReader, Version=5.10.0.914, Culture=neutral, PublicKeyToken=f7dd1bd9d40a50eb, processorArchitecture=MSIL"> <SpecificVersion>False</SpecificVersion> <HintPath>C:\Program Files\Bytescout BarCode Reader SDK\net4.00\Bytescout.BarCodeReader.dll</HintPath> </Reference> <Reference Include="System" /> <Reference Include="System.Drawing" /> <Reference Include="System.Core" /> <Reference Include="System.Web" /> <Reference Include="System.Configuration" /> <Reference Include="System.Web.ApplicationServices" /> </ItemGroup> <ItemGroup> <Import Include="Microsoft.VisualBasic" /> <Import Include="System" /> <Import Include="System.Collections" /> <Import Include="System.Collections.Generic" /> <Import Include="System.Data" /> <Import Include="System.Linq" /> <Import Include="System.Xml.Linq" /> <Import Include="System.Diagnostics" /> <Import Include="System.Collections.Specialized" /> <Import Include="System.Configuration" /> <Import Include="System.Text" /> <Import Include="System.Text.RegularExpressions" /> <Import Include="System.Web" /> <Import Include="System.Web.Caching" /> <Import Include="System.Web.SessionState" /> <Import Include="System.Web.Security" /> <Import Include="System.Web.Profile" /> <Import Include="System.Web.UI" /> <Import Include="System.Web.UI.WebControls" /> <Import Include="System.Web.UI.WebControls.WebParts" /> <Import Include="System.Web.UI.HtmlControls" /> </ItemGroup> <ItemGroup> <Content Include="About.aspx" /> <Content Include="Account\ChangePassword.aspx" /> <Content Include="Account\ChangePasswordSuccess.aspx" /> <Content Include="Account\Login.aspx" /> <Content Include="Account\Register.aspx" /> <Content Include="Styles\Site.css" /> <Content Include="Default.aspx" /> <Content Include="Global.asax" /> <Content Include="Scripts\jquery-1.4.1-vsdoc.js" /> <Content Include="Scripts\jquery-1.4.1.js" /> <Content Include="Scripts\jquery-1.4.1.min.js" /> <Content Include="Web.config" /> <Content Include="Web.Debug.config"> <DependentUpon>Web.config</DependentUpon> </Content> <Content Include="Web.Release.config"> <DependentUpon>Web.config</DependentUpon> </Content> </ItemGroup> <ItemGroup> <Compile Include="About.aspx.designer.vb"> <DependentUpon>About.aspx</DependentUpon> </Compile> <Compile Include="About.aspx.vb"> <DependentUpon>About.aspx</DependentUpon> <SubType>ASPXCodebehind</SubType> </Compile> <Compile Include="Account\ChangePassword.aspx.designer.vb"> <DependentUpon>ChangePassword.aspx</DependentUpon> </Compile> <Compile Include="Account\ChangePassword.aspx.vb"> <DependentUpon>ChangePassword.aspx</DependentUpon> <SubType>ASPXCodebehind</SubType> </Compile> <Compile Include="Account\ChangePasswordSuccess.aspx.designer.vb"> <DependentUpon>ChangePasswordSuccess.aspx</DependentUpon> </Compile> <Compile Include="Account\ChangePasswordSuccess.aspx.vb"> <DependentUpon>ChangePasswordSuccess.aspx</DependentUpon> <SubType>ASPXCodebehind</SubType> </Compile> <Compile Include="Account\Login.aspx.designer.vb"> <DependentUpon>Login.aspx</DependentUpon> </Compile> <Compile Include="Account\Login.aspx.vb"> <DependentUpon>Login.aspx</DependentUpon> <SubType>ASPXCodebehind</SubType> </Compile> <Compile Include="Account\Register.aspx.designer.vb"> <DependentUpon>Register.aspx</DependentUpon> </Compile> <Compile Include="Account\Register.aspx.vb"> <DependentUpon>Register.aspx</DependentUpon> <SubType>ASPXCodebehind</SubType> </Compile> <Compile Include="Default.aspx.vb"> <SubType>ASPXCodeBehind</SubType> <DependentUpon>Default.aspx</DependentUpon> </Compile> <Compile Include="Default.aspx.designer.vb"> <DependentUpon>Default.aspx</DependentUpon> </Compile> <Compile Include="Global.asax.vb"> <DependentUpon>Global.asax</DependentUpon> </Compile> <Compile Include="My Project\AssemblyInfo.vb" /> <Compile Include="My Project\Application.Designer.vb"> <AutoGen>True</AutoGen> <DependentUpon>Application.myapp</DependentUpon> </Compile> <Compile Include="My Project\MyExtensions\MyWebExtension.vb"> <VBMyExtensionTemplateID>Microsoft.VisualBasic.Web.MyExtension</VBMyExtensionTemplateID> <VBMyExtensionTemplateVersion>1.0.0.0</VBMyExtensionTemplateVersion> </Compile> <Compile Include="My Project\Resources.Designer.vb"> <AutoGen>True</AutoGen> <DesignTime>True</DesignTime> <DependentUpon>Resources.resx</DependentUpon> </Compile> <Compile Include="My Project\Settings.Designer.vb"> <AutoGen>True</AutoGen> <DependentUpon>Settings.settings</DependentUpon> <DesignTimeSharedInput>True</DesignTimeSharedInput> </Compile> <Compile Include="Site.Master.designer.vb"> <DependentUpon>Site.Master</DependentUpon> </Compile> <Compile Include="Site.Master.vb"> <DependentUpon>Site.Master</DependentUpon> <SubType>ASPXCodeBehind</SubType> </Compile> </ItemGroup> <ItemGroup> <EmbeddedResource Include="My Project\Resources.resx"> <Generator>VbMyResourcesResXFileCodeGenerator</Generator> <LastGenOutput>Resources.Designer.vb</LastGenOutput> <CustomToolNamespace>My.Resources</CustomToolNamespace> <SubType>Designer</SubType> </EmbeddedResource> </ItemGroup> <ItemGroup> <Content Include="Account\Web.config" /> <None Include="My Project\Application.myapp"> <Generator>MyApplicationCodeGenerator</Generator> <LastGenOutput>Application.Designer.vb</LastGenOutput> </None> <None Include="My Project\Settings.settings"> <Generator>SettingsSingleFileGenerator</Generator> <CustomToolNamespace>My</CustomToolNamespace> <LastGenOutput>Settings.Designer.vb</LastGenOutput> </None> <Content Include="Site.Master" /> </ItemGroup> <ItemGroup> <Folder Include="App_Data\" /> </ItemGroup> <Import Project="$(MSBuildBinPath)\Microsoft.VisualBasic.targets" /> <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" /> <ProjectExtensions> <VisualStudio> <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}"> <WebProjectProperties> <UseIIS>False</UseIIS> <AutoAssignPort>True</AutoAssignPort> <DevelopmentServerPort>33897</DevelopmentServerPort> <DevelopmentServerVPath>/</DevelopmentServerVPath> <IISUrl> </IISUrl> <NTLMAuthentication>False</NTLMAuthentication> <UseCustomServer>False</UseCustomServer> <CustomServerUrl> </CustomServerUrl> <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile> </WebProjectProperties> </FlavorProperties> </VisualStudio> </ProjectExtensions> <!-- To modify your build process, add your task inside one of the targets below and uncomment it. Other similar extension points exist, see Microsoft.Common.targets. <Target Name="BeforeBuild"> </Target> <Target Name="AfterBuild"> </Target> --> </Project>

Try it today: Get 60 Day Free Trial or sign up for Web API

Default.aspx
      
<%@ Page Language="vb" AutoEventWireup="true" CodeBehind="Default.aspx.vb" Inherits="Barcodes_From_Image._Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head id="Head1" runat="server"> <title>Web Barcode Reader Tester (C#)</title> </head> <body> <form id="form1" runat="server"> <div> Click browse button to upload an image<br /> <br /> <asp:FileUpload ID="FileUpload1" runat="server" /><br /> <br /> <asp:Button id="UploadButton" Text="Upload file" runat="server"> </asp:Button> <br /> <br /> <asp:Label id="UploadStatusLabel" Text="" runat="server"></asp:Label> <br /> <asp:ListBox ID="ListBox1" runat="server" Visible="False"></asp:ListBox><br /> <br /> <asp:Image ID="Image1" runat="server" Height="74px" Width="71px" /></div> </form> </body> </html>

Try it today: Get 60 Day Free Trial or sign up for Web API

Default.aspx.designer.vb
      
'------------------------------------------------------------------------------ ' <auto-generated> ' This code was generated by a tool. ' ' Changes to this file may cause incorrect behavior and will be lost if ' the code is regenerated. ' </auto-generated> '------------------------------------------------------------------------------ Option Strict On Option Explicit On Partial Public Class _Default '''<summary> '''Head1 control. '''</summary> '''<remarks> '''Auto-generated field. '''To modify move field declaration from designer file to code-behind file. '''</remarks> Protected WithEvents Head1 As Global.System.Web.UI.HtmlControls.HtmlHead '''<summary> '''form1 control. '''</summary> '''<remarks> '''Auto-generated field. '''To modify move field declaration from designer file to code-behind file. '''</remarks> Protected WithEvents form1 As Global.System.Web.UI.HtmlControls.HtmlForm '''<summary> '''FileUpload1 control. '''</summary> '''<remarks> '''Auto-generated field. '''To modify move field declaration from designer file to code-behind file. '''</remarks> Protected WithEvents FileUpload1 As Global.System.Web.UI.WebControls.FileUpload '''<summary> '''UploadButton control. '''</summary> '''<remarks> '''Auto-generated field. '''To modify move field declaration from designer file to code-behind file. '''</remarks> Protected WithEvents UploadButton As Global.System.Web.UI.WebControls.Button '''<summary> '''UploadStatusLabel control. '''</summary> '''<remarks> '''Auto-generated field. '''To modify move field declaration from designer file to code-behind file. '''</remarks> Protected WithEvents UploadStatusLabel As Global.System.Web.UI.WebControls.Label '''<summary> '''ListBox1 control. '''</summary> '''<remarks> '''Auto-generated field. '''To modify move field declaration from designer file to code-behind file. '''</remarks> Protected WithEvents ListBox1 As Global.System.Web.UI.WebControls.ListBox '''<summary> '''Image1 control. '''</summary> '''<remarks> '''Auto-generated field. '''To modify move field declaration from designer file to code-behind file. '''</remarks> Protected WithEvents Image1 As Global.System.Web.UI.WebControls.Image End Class

Try it today: Get 60 Day Free Trial or sign up for Web API

Default.aspx.vb
      
Imports System.IO Imports Bytescout.BarCodeReader Public Class _Default Inherits System.Web.UI.Page Private Sub UploadButton_Click(sender As Object, e As System.EventArgs) Handles UploadButton.Click Dim savePath As String = "\uploads\" If (FileUpload1.HasFile) Then Dim virtualFilePath As String = Path.Combine(savePath, FileUpload1.FileName) Dim serverFilePath As String = Server.MapPath(virtualFilePath) If Not Directory.Exists(Path.GetDirectoryName(serverFilePath)) Then Directory.CreateDirectory(Path.GetDirectoryName(serverFilePath)) End If FileUpload1.SaveAs(serverFilePath) Dim image As System.Drawing.Image = Nothing Try Using fileStream As FileStream = File.OpenRead(serverFilePath) image = System.Drawing.Image.FromStream(fileStream) End Using Catch ex As Exception End Try If image Is Nothing Then UploadStatusLabel.Visible = True UploadStatusLabel.Text = "Your file is not an image." Image1.Visible = False ListBox1.Visible = False Else UploadStatusLabel.Visible = False Image1.ImageUrl = virtualFilePath Image1.Visible = True Image1.Width = image.Width Image1.Height = image.Height ListBox1.Items.Clear() ListBox1.Visible = True FindBarcodes(serverFilePath) If ListBox1.Items.Count = 0 Then ListBox1.Items.Add("No barcodes found") End If End If Else 'Notify the user that a file was not uploaded. UploadStatusLabel.Text = "You did not specify a file to upload." End If End Sub Private Sub FindBarcodes(fileName As String) Dim reader As Reader = New Reader() ' Limit search to 1D barcodes only (exclude 2D barcodes to speed up the search). ' Change to bc.BarcodeTypesToFind.SetAll() to scan for all supported 1D and 2D barcodes ' or select specific type, e.g. bc.BarcodeTypesToFind.PDF417 = True reader.BarcodeTypesToFind.SetAll1D() ' reader.MediumTrustLevelCompatible = True ' uncomment this line to enable Medium Trust compatible mode (slows down the recognition process as direct image data access is disabled in Medium Trust mode) reader.ReadFromFile(fileName) For Each barcode As FoundBarcode In reader.FoundBarcodes ListBox1.Items.Add(String.Format("{0} : {1}", barcode.Type, barcode.Value)) Next End Sub End Class

Try it today: Get 60 Day Free Trial or sign up for Web API

Global.asax.vb
      
Imports System.Web.SessionState Public Class Global_asax Inherits System.Web.HttpApplication Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs) ' Fires when the application is started End Sub Sub Session_Start(ByVal sender As Object, ByVal e As EventArgs) ' Fires when the session is started End Sub Sub Application_BeginRequest(ByVal sender As Object, ByVal e As EventArgs) ' Fires at the beginning of each request End Sub Sub Application_AuthenticateRequest(ByVal sender As Object, ByVal e As EventArgs) ' Fires upon attempting to authenticate the use End Sub Sub Application_Error(ByVal sender As Object, ByVal e As EventArgs) ' Fires when an error occurs End Sub Sub Session_End(ByVal sender As Object, ByVal e As EventArgs) ' Fires when the session ends End Sub Sub Application_End(ByVal sender As Object, ByVal e As EventArgs) ' Fires when the application ends End Sub End Class

Try it today: Get 60 Day Free Trial or sign up for Web API

Site.Master.designer.vb
      
'------------------------------------------------------------------------------ ' <auto-generated> ' This code was generated by a tool. ' ' Changes to this file may cause incorrect behavior and will be lost if ' the code is regenerated. ' </auto-generated> '------------------------------------------------------------------------------ Option Strict On Option Explicit On Partial Public Class SiteMaster '''<summary> '''Head1 control. '''</summary> '''<remarks> '''Auto-generated field. '''To modify move field declaration from designer file to code-behind file. '''</remarks> Protected WithEvents Head1 As Global.System.Web.UI.HtmlControls.HtmlHead '''<summary> '''HeadContent control. '''</summary> '''<remarks> '''Auto-generated field. '''To modify move field declaration from designer file to code-behind file. '''</remarks> Protected WithEvents HeadContent As Global.System.Web.UI.WebControls.ContentPlaceHolder '''<summary> '''Form1 control. '''</summary> '''<remarks> '''Auto-generated field. '''To modify move field declaration from designer file to code-behind file. '''</remarks> Protected WithEvents Form1 As Global.System.Web.UI.HtmlControls.HtmlForm '''<summary> '''HeadLoginView control. '''</summary> '''<remarks> '''Auto-generated field. '''To modify move field declaration from designer file to code-behind file. '''</remarks> Protected WithEvents HeadLoginView As Global.System.Web.UI.WebControls.LoginView '''<summary> '''NavigationMenu control. '''</summary> '''<remarks> '''Auto-generated field. '''To modify move field declaration from designer file to code-behind file. '''</remarks> Protected WithEvents NavigationMenu As Global.System.Web.UI.WebControls.Menu '''<summary> '''MainContent control. '''</summary> '''<remarks> '''Auto-generated field. '''To modify move field declaration from designer file to code-behind file. '''</remarks> Protected WithEvents MainContent As Global.System.Web.UI.WebControls.ContentPlaceHolder End Class

Try it today: Get 60 Day Free Trial or sign up for Web API

Site.Master.vb
      
Public Class Site Inherits System.Web.UI.MasterPage Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load End Sub End Class

Try it today: Get 60 Day Free Trial or sign up for Web API

Web.Debug.config
      
<?xml version="1.0"?> <!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 --> <configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"> <!-- In the example below, the "SetAttributes" transform will change the value of "connectionString" to use "ReleaseSQLServer" only when the "Match" locator finds an atrribute "name" that has a value of "MyDB". <connectionStrings> <add name="MyDB" connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True" xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/> </connectionStrings> --> <system.web> <!-- In the example below, the "Replace" transform will replace the entire <customErrors> section of your web.config file. Note that because there is only one customErrors section under the <system.web> node, there is no need to use the "xdt:Locator" attribute. <customErrors defaultRedirect="GenericError.htm" mode="RemoteOnly" xdt:Transform="Replace"> <error statusCode="500" redirect="InternalError.htm"/> </customErrors> --> </system.web> </configuration>

Try it today: Get 60 Day Free Trial or sign up for Web API

Web.Release.config
      
<?xml version="1.0"?> <!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 --> <configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"> <!-- In the example below, the "SetAttributes" transform will change the value of "connectionString" to use "ReleaseSQLServer" only when the "Match" locator finds an atrribute "name" that has a value of "MyDB". <connectionStrings> <add name="MyDB" connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True" xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/> </connectionStrings> --> <system.web> <compilation xdt:Transform="RemoveAttributes(debug)" /> <!-- In the example below, the "Replace" transform will replace the entire <customErrors> section of your web.config file. Note that because there is only one customErrors section under the <system.web> node, there is no need to use the "xdt:Locator" attribute. <customErrors defaultRedirect="GenericError.htm" mode="RemoteOnly" xdt:Transform="Replace"> <error statusCode="500" redirect="InternalError.htm"/> </customErrors> --> </system.web> </configuration>

Try it today: Get 60 Day Free Trial or sign up for Web API

Web.config
      
<?xml version="1.0"?> <!-- For more information on how to configure your ASP.NET application, please visit http://go.microsoft.com/fwlink/?LinkId=169433 --> <configuration> <connectionStrings> <add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient" /> </connectionStrings> <system.web> <compilation debug="true" strict="false" explicit="true" targetFramework="4.0" /> <authentication mode="Forms"> <forms loginUrl="~/Account/Login.aspx" timeout="2880" /> </authentication> <membership> <providers> <clear/> <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/" /> </providers> </membership> <profile> <providers> <clear/> <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/"/> </providers> </profile> <roleManager enabled="false"> <providers> <clear/> <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/" /> <add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/" /> </providers> </roleManager> </system.web> <system.webServer> <modules runAllManagedModulesForAllRequests="true"/> </system.webServer> </configuration>

Try it today: Get 60 Day Free Trial or sign up for Web API

MORE INFORMATION

Get 60 Day Free Trial or Visit ByteScout BarCode Reader SDK page

Explore ByteScout BarCode Reader SDK documentation

WEB API VERSION

Sign Up for free Web API key

Explore Web API Documentation

Tutorials:

prev
next