자동화가 아닌 이유
소개
Aspose 구성 요소가 자동화보다 더 나은 대안인 몇 가지 이유가 있습니다. 주요 이유는 다음과 같습니다:
- 보안
- 안정성
- 확장성/속도
- 가격
- 기능
아래는 각 핵심 포인트에 대한 자세한 설명입니다.
중요한 질문
Aspose에서 자주 듣는 질문 두 가지가 있습니다:
- 제품을 실행하려면 Microsoft Office가 설치되어 있어야 합니까?
- 간단하고 짧은 답은 NO입니다.
Aspose 구성 요소는 완전히 독립적이며 Microsoft Corporation과 연계되거나, 인증받거나, 후원받거나, 그 외 어떤 형태로든 승인되지 않았습니다.
- 왜 Microsoft Office Automation 대신 Aspose 제품을 사용해야 합니까?
- 먼저, Aspose.Slides를 사용할 때 누릴 수 있는 많은 이점이 있습니다.
- 둘째, Microsoft 자체가 소프트웨어 솔루션에서 Office Automation 사용을 강력히 사용을 권장하지 않음 합니다.
보안
다음은 Microsoft 기사에서 직접 인용한 내용입니다:
“Office Applications were never intended for use server-side, and therefore do not take into consideration the security problems that are faced by distributed components. Office does not authenticate incoming requests, and does not protect you from unintentionally running macros, or starting another server that might run macros, from your server-side code. Do not open files that are uploaded to the server from an anonymous Web! Based on the security settings that were last set, the server can run macros under an Administrator or System context with full privileges and compromise your network! In addition, Office uses many client-side components (such as Simple MAPI, WinInet, MSDAIPP) that can cache client authentication information in order to speed up processing. If Office is being automated server-side, one instance may service more than one client, and because authentication information has been cached for that session, it is possible that one client can use the cached credentials of another client, and thereby gain non-granted access permissions by impersonating other users.”
Aspose 제품은 매우 안전합니다. Aspose 구성 요소는 모든 ASP.NET 애플리케이션과 동일한 사용자 컨텍스트(ASPNET 사용자)에서 실행됩니다. 따라서 Aspose 구성 요소는 보안 위험을 초래하지 않음. 또한 중요한 시스템 리소스를 소비하지 않습니다. 게다가 Aspose 구성 요소가 문서를 열 때 매크로가 자동으로 실행되지 않습니다. Aspose 구성 요소는 개발자가 Office 파일을 생성, 조작 및 저장할 수 있도록 설계되었습니다.
안정성
다음은 앞서 인용한 Microsoft 기사에서 직접 인용한 텍스트입니다:
“Office 2000, Office XP and Office 2003 use Microsoft Windows Installer (MSI) technology to make installation and self-repair easier for an end user. MSI introduces the concept of “install on first use”, which allows features to be dynamically installed or configured at runtime (for the system, or more often for a particular user). In a server-side environment this both slows down performance and increases the likelihood that a dialog box may appear that asks for the user to approve the install or provide an appropriate install disk. Although it is designed to increase the resiliency of Office as an end-user product, Office’s implementation of MSI capabilities is counterproductive in a server-side environment. Furthermore, the stability of Office in general cannot be assured when run server-side because it has not been designed or tested for this type of use. Using Office as a service component on a network server may reduce the stability of that machine and as a consequence your network as a whole. If you plan to automate Office server-side, attempt to isolate the program to a dedicated computer that cannot affect critical functions, and that can be restarted as needed.”
Aspose 구성 요소는 하나의 DLL에 패키징되어 있기 때문에 사용자가 기능을 사용하기 위해 추가 부품을 설치할 필요가 없습니다. Aspose 구성 요소는 .NET 애플리케이션에서만 사용되며, 인간의 응답을 기다리는 구성 요소 코드 부분이 없습니다.
확장성/속도
다음은 Microsoft 기사에서 직접 인용한 내용입니다:
“Server-side components need to be highly reentrant, multi-threaded COM components with minimum overhead and high throughput for multiple clients. Office Applications are in almost all respects the exact opposite. They are non-reentrant, STA-based Automation servers that are designed to provide diverse but resource-intensive functionality for a single client. They offer little scalability as a server-side solution, and have fixed limits to important elements, such as memory, which cannot be changed through configuration. More importantly, they use global resources (such as memory mapped files, global add-ins or templates, and shared Automation servers), which can limit the number of instances that can run concurrently and lead to race conditions if they are configured in a multi-client environment. Developers who plan to run more then one instance of any Office Application at the same time need to consider Pooling or Serializing Access to the Office Application for avoiding potential Deadlocks or Data Corruption”.
Aspose 구성 요소는 놀라울 정도로 확장 가능하고 번개처럼 빠릅니다. Office 애플리케이션은 수백 혹은 수천 명이 동시에 사용하도록 설계되지 않았지만, Aspose 구성 요소는 바로 이를 위해 설계되었습니다. 우리의 구성 요소는 진정한 .NET 솔루션입니다.
가격
애플리케이션이 Microsoft Office Automation을 사용할 경우, 앱을 실행하는 모든 머신에 Microsoft Office 복사본을 구매해야 합니다. 애플리케이션이 Office 파일을 생성하거나 조작해야 하는 경우가 많지만, 이 과정에 Microsoft Office가 필요하지는 않습니다.
웹 기반 애플리케이션을 만들 때, Microsoft Office Automation 구성 요소는 서버 측 솔루션에 대해 가격이 책정되거나 라이선스가 제공되지 않음을 기억하는 것이 중요합니다. 따라서 Microsoft Office 구성 요소를 사용하는 웹 애플리케이션 배포를 위한 좋은 라이선스 솔루션이 없습니다. 반면 Aspose는 서버 기반 애플리케이션을 위한 매우 비용 효율적인 솔루션을 제공합니다.
기능
Aspose 구성 요소는 Office 파일 관리를 위한 모든 기능과 그 이상을 제공합니다. 우리는 개발자가 최소한의 노력으로 가능한 최고의 결과를 달성하도록 돕는 철학에 따라 이를 설계했습니다.
예를 들어, Aspose.Cells는 개발자가 DataTable 또는 DataView의 데이터를 직접 Excel 파일로 가져올 수 있게 합니다. Aspose.Words는 개발자가 .NET 데이터 객체를 사용해 Word(예: 메일 머지) 문서를 직접 채울 수 있는 유사한 기능을 제공합니다. Aspose 제품군의 모든 구성 요소는 각각 고유하고 강력한 기능을 제공합니다.
Aspose 구성 요소를 구매하면 개발 팀에 접근할 수 있는 것이 가장 큰 장점입니다. 예를 들어, Office Automation 객체를 사용하면서 특정 기능이 필요하다면, 해당 기능이 추가될 가능성은 매우 낮습니다. 하지만 Aspose 구성 요소는 상황이 다릅니다.
우리 팀은 지원을 제공할 때 항상 열린 마음과 유연성을 가지고 있으며, 이것이 Aspose 구성 요소가 현재와 같이 강력해진 이유입니다.
결론
이 문서는 Aspose 구성 요소가 Office Automation보다 더 나은 선택인 주요 이유 중 일부를 다루었지만, 훨씬 더 많은 이점이 있다는 점을 이해해야 합니다. 여기서는 주요 장점 몇 가지만 소개했습니다.
게다가 모든 Aspose 제품 및 구성 요소는 위험 없이 무료로 이용할 수 있는 Evaluation Version을 제공합니다. 평가판을 활용하여 Aspose가 귀하의 애플리케이션이나 비즈니스에 무엇을 할 수 있는지 확인해 보시기 바랍니다.