This is a sample project that guides developer to integrate Dynamic Web TWAIN into an ASP.NET Core MVC project.
-
Configure the static files in
Startup.cs
:app.UseStaticFiles(new StaticFileOptions { FileProvider = new PhysicalFileProvider( Path.Combine(env.ContentRootPath, "../../sdk")), RequestPath = "/lib/dwt" });
-
Request a free trial license and then update the license key in
Views/Home/Index.cshtml
:Dynamsoft.DWT.ProductKey = "LICENSE-KEY";
-
Build and run the project:
dotnet restore dotnet run
-
Try the demo in your web browser.
Building Web Document Scanning Applications with ASP.NET Core MVC