We are exploring DWG viewer and editor API for ASP.Net Web Application

Here we have few questions related to provided ACadSharp .Net library.

Q1) We have downloaded .Net sample/test project from below URL from GitHub that provided by ACadSharp. But while building code in our local machine (We are using VS2019 community edition), it gave lots of error.

Thus, We are unable to find correct use of ACadSharp .Net library.

Q2) However, Downloaded code from GitHub, we found there are console and class (.dll) available only (likewise 1) ACadSharp is class project, 2) ACadSharp.Examples is console project, 3) ACadSharp.Tests is console project and 4) ACadSharpInternal.Tests is console project.

So we need to know whether this all project having utilized in Web application or not. Basically we need to deal with .DWG file on our web application through which we can view, read, modify drawing (.dwg) file via our ASP.Net Web Application.

@vsataparaiis,

You will only use .dll in your ASP.NET Web application i.e. ACadSharp. This is a class library project (.dll) used for interacting with CAD files.

You will not use other like ACadSharp.Examples, ACadSharp.Tests and ACadSharpInternal.Tests.

The core functionality for handling .DWG files is in the ACadSharp class library. You can reference this .dll in your ASP.NET Web Application project.

Although the provided projects are console applications designed for testing and examples, you can adapt the code to work within your ASP.NET application. Essentially, you’ll be using the same methods, but within the context of a web application.

1 Like